Skip to content

Commit

Permalink
[chore][exporter/dynatrace] enable exhaustive linter (#25155)
Browse files Browse the repository at this point in the history
relate
#23266
  • Loading branch information
Frapschen authored Aug 11, 2023
1 parent b7b4c81 commit e42f386
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func SerializeMetric(logger *zap.Logger, prefix string, metric pmetric.Metric, d

ce := logger.Check(zap.DebugLevel, "SerializeMetric")
var points int

//exhaustive:enforce
switch metric.Type() {
case pmetric.MetricTypeGauge:
metricLines = serializeGauge(logger, prefix, metric, defaultDimensions, staticDimensions, metricLines)
Expand Down

0 comments on commit e42f386

Please sign in to comment.