From 605ba189a42b0ac2e17bede494f8abddf6930e70 Mon Sep 17 00:00:00 2001 From: Michael Li Date: Thu, 23 Jul 2020 12:29:31 -0400 Subject: [PATCH] metric types start at 1 --- metric/metricdata/point.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metric/metricdata/point.go b/metric/metricdata/point.go index 7fe057b19..162a11ce4 100644 --- a/metric/metricdata/point.go +++ b/metric/metricdata/point.go @@ -183,7 +183,7 @@ type Type int // Metric types. const ( - TypeGaugeInt64 Type = iota + TypeGaugeInt64 Type = iota + 1 TypeGaugeFloat64 TypeGaugeDistribution TypeCumulativeInt64