Skip to content

Commit

Permalink
Fixed flag parsing vars.
Browse files Browse the repository at this point in the history
Signed-off-by: bwplotka <[email protected]>
  • Loading branch information
bwplotka committed Sep 30, 2024
1 parent 8c669a0 commit 624ecf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ func NewConfigFromFlags(flagReg func(name, help string) *kingpin.FlagClause) *Co
flagReg("histogram-metric-count", "Number of explicit (classic) histogram metrics to serve.").Default("10").
IntVar(&cfg.HistogramMetricCount)
flagReg("histogram-metric-bucket-count", "Number of explicit buckets (classic) histogram metrics.").Default("8").
IntVar(&cfg.HistogramMetricCount)
flagReg("native-histogram-metric-count", "Number of native (exponential) histogram metrics to serve.").Default("0").
IntVar(&cfg.HistogramBuckets)
flagReg("native-histogram-metric-count", "Number of native (exponential) histogram metrics to serve.").Default("0").
IntVar(&cfg.NativeHistogramMetricCount)
flagReg("summary-metric-count", "Number of summary metrics to serve.").Default("0").
IntVar(&cfg.SummaryMetricCount)

Expand Down

0 comments on commit 624ecf4

Please sign in to comment.