mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-13 17:14:05 -08:00
Fix linting issues
Signed-off-by: Charles Korn <charles.korn@grafana.com>
This commit is contained in:
parent
4da551578c
commit
6dbb4e1a94
|
@ -234,11 +234,11 @@ func (h *FloatHistogram) TestExpression() string {
|
||||||
case UnknownCounterReset:
|
case UnknownCounterReset:
|
||||||
// Unknown is the default, don't add anything.
|
// Unknown is the default, don't add anything.
|
||||||
case CounterReset:
|
case CounterReset:
|
||||||
res = append(res, fmt.Sprintf("counter_reset_hint:reset"))
|
res = append(res, "counter_reset_hint:reset")
|
||||||
case NotCounterReset:
|
case NotCounterReset:
|
||||||
res = append(res, fmt.Sprintf("counter_reset_hint:not_reset"))
|
res = append(res, "counter_reset_hint:not_reset")
|
||||||
case GaugeType:
|
case GaugeType:
|
||||||
res = append(res, fmt.Sprintf("counter_reset_hint:gauge"))
|
res = append(res, "counter_reset_hint:gauge")
|
||||||
}
|
}
|
||||||
|
|
||||||
addBuckets := func(kind, bucketsKey, offsetKey string, buckets []float64, spans []Span) []string {
|
addBuckets := func(kind, bucketsKey, offsetKey string, buckets []float64, spans []Span) []string {
|
||||||
|
|
Loading…
Reference in a new issue