Skip to content

Commit

Permalink
[chore][exporter/azuremonitor]enable exhaustive for linter (#25131)
Browse files Browse the repository at this point in the history
related to
#23266

Co-authored-by: Alex Boten <aboten@lightstep.com>
  • Loading branch information
Frapschen and Alex Boten authored Aug 18, 2023
1 parent 8ad1fa4 commit 8ca9449
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporter/azuremonitorexporter/metric_to_envelopes.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ func newMetricPacker(logger *zap.Logger) *metricPacker {
}

func (packer metricPacker) getMetricTimedData(metric pmetric.Metric) metricTimedData {
//exhaustive:enforce
switch metric.Type() {
case pmetric.MetricTypeGauge:
return newScalarMetric(metric.Name(), metric.Gauge().DataPoints())
Expand Down

0 comments on commit 8ca9449

Please sign in to comment.