Skip to content

Commit

Permalink
Update input/otlp/metrics.go
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Wilkins <[email protected]>
  • Loading branch information
lahsivjar and axw authored Jun 5, 2024
1 parent c785a59 commit f686b33
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion input/otlp/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ func (c *Consumer) handleScopeMetrics(
}
// Handle remapping if any. Remapped metrics will be added to a new
// metric slice and then processed as any other metric in the scope.
// TODO (lahsivjar): Possible to approximate capacity of the slice?
if len(c.remappers) > 0 {
remappedMetrics := pmetric.NewMetricSlice()
for _, r := range c.remappers {
Expand Down

0 comments on commit f686b33

Please sign in to comment.