Skip to content

Commit

Permalink
config: set the default metrics interval to 15 sec
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Butusov <[email protected]>
  • Loading branch information
End-rey committed Aug 30, 2024
1 parent 8bfceb6 commit 34afd00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/neo-exporter/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func DefaultConfiguration(cfg *viper.Viper) {
cfg.SetDefault(prefix+delimiter+cfgNeoRPCDialTimeout, time.Minute)

Check warning on line 36 in cmd/neo-exporter/config.go

View check run for this annotation

Codecov / codecov/patch

cmd/neo-exporter/config.go#L36

Added line #L36 was not covered by tests

cfg.SetDefault(cfgMetricsEndpoint, ":16512")
cfg.SetDefault(cfgMetricsInterval, 15*time.Minute)
cfg.SetDefault(cfgMetricsInterval, 15*time.Second)

Check warning on line 39 in cmd/neo-exporter/config.go

View check run for this annotation

Codecov / codecov/patch

cmd/neo-exporter/config.go#L39

Added line #L39 was not covered by tests

cfg.SetDefault(cfgLoggerLevel, "info")
}
Expand Down

0 comments on commit 34afd00

Please sign in to comment.