Make metrics endpoint configurable

This commit is contained in:
2025-03-20 18:57:31 +01:00
parent 9b54cec29c
commit ed4d970723
3 changed files with 8 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ type HoneypotConfig struct {
type FrontendConfig struct {
ListenAddr string `toml:"ListenAddr"`
LogLevel string `toml:"LogLevel"`
MetricsEnable bool `toml:"MetricsEnable"`
AccessLogEnable bool `toml:"AccessLogEnable"`
AccessLogIgnoreMetrics bool `toml:"AccessLogIgnoreMetrics"`
Autocert FrontendAutocertConfig `toml:"Autocert"`