From 5520cff38a68c6112608368dd249d6951dc7dac4 Mon Sep 17 00:00:00 2001 From: Zach Reyes <39203661+zasweq@users.noreply.github.com> Date: Tue, 30 Jul 2024 16:28:13 -0400 Subject: [PATCH] experimental/stats/metricregistry: Add comments on enum consts for Metrics Type (#7457) --- experimental/stats/metricregistry.go | 1 + 1 file changed, 1 insertion(+) diff --git a/experimental/stats/metricregistry.go b/experimental/stats/metricregistry.go index cc1d5617bb91..930140f57ed9 100644 --- a/experimental/stats/metricregistry.go +++ b/experimental/stats/metricregistry.go @@ -68,6 +68,7 @@ type MetricDescriptor struct { // MetricType is the type of metric. type MetricType int +// Type of metric supported by this instrument registry. const ( MetricTypeIntCount MetricType = iota MetricTypeFloatCount