Skip to content

Commit

Permalink
profiles: set default value for profiles-scrape-interval
Browse files Browse the repository at this point in the history
  • Loading branch information
apetruhin committed Jun 26, 2024
1 parent abdf86b commit 85d1fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var (
MetricsScrapeTimeout = kingpin.Flag("metrics-scrape-timeout", "").Envar("METRICS_SCRAPE_TIMEOUT").Default("10s").Duration()
MetricsWALDir = kingpin.Flag("metrics-wal-dir", "").Envar("METRICS_WAL_DIR").Default("/tmp").String()

ProfilesScrapeInterval = kingpin.Flag("profiles-scrape-interval", "").Envar("PROFILES_SCRAPE_INTERVAL").Duration()
ProfilesScrapeInterval = kingpin.Flag("profiles-scrape-interval", "").Envar("PROFILES_SCRAPE_INTERVAL").Default("60s").Duration()
ProfilesScrapeTimeout = kingpin.Flag("profiles-scrape-timeout", "").Envar("PROFILES_SCRAPE_TIMEOUT").Default("10s").Duration()
)

Expand Down

0 comments on commit 85d1fc2

Please sign in to comment.