Skip to content

Commit

Permalink
Keep Gauge as default metric type
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelbirkner committed Sep 15, 2023
1 parent a2c96eb commit 13455a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/telemetrygen/internal/metrics/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type Config struct {

// Flags registers config flags.
func (c *Config) Flags(fs *pflag.FlagSet) {
// Use Gauge as default metric type.
c.MetricType = metricTypeGauge

c.CommonFlags(fs)
Expand Down

0 comments on commit 13455a7

Please sign in to comment.