We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccb8046 commit bb68681Copy full SHA for bb68681
internal/config/config.go
@@ -9,7 +9,7 @@ type Config struct {
9
General struct {
10
LogLevel int `mapstructure:"log_level"`
11
LogToSyslog bool `mapstructure:"log_to_syslog"`
12
- }
+ } `mapstructure:"general"`
13
14
Filters struct {
15
NetIDs []string `mapstructure:"net_ids"`
@@ -109,8 +109,8 @@ type Config struct {
109
Prometheus struct {
110
EndpointEnabled bool `mapstructure:"endpoint_enabled"`
111
Bind string `mapstructure:"bind"`
112
113
+ } `mapstructure:"prometheus"`
+ } `mapstructure:"metrics"`
114
115
MetaData struct {
116
Static map[string]string `mapstructure:"static"`
0 commit comments