Skip to content

Commit

Permalink
Use correct histogram type for dimensionless (#2264)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ardagan committed Dec 6, 2021
1 parent 3e19fff commit be0df0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/metrics/defs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2602,7 +2602,7 @@ func NewRollupTimerDef(name string, rollupName string) metricDefinition {
}

func NewBytesHistogramDef(name string) metricDefinition {
return metricDefinition{metricName: MetricName(name), metricType: Histogram, unit: Milliseconds}
return metricDefinition{metricName: MetricName(name), metricType: Histogram, unit: Bytes}
}

func NewDimensionlessHistogramDef(name string) metricDefinition {
Expand Down

0 comments on commit be0df0d

Please sign in to comment.