go-metrics-stackdriver
go-metrics-stackdriver copied to clipboard
Switch counter metrics to use cumulative or delta
It turns out that a counter metrics use a gauge metric type as here
MetricKind: metricpb.MetricDescriptor_GAUGE,
This doesn't seem to be right. According to documentation of Aligner I am unable to calculate deltas if the metric is not defined as delta or cumulative. This is a big limitation. Should we consider switching to cumulative in case of counters?