Skip to content

Commit

Permalink
remove code dup
Browse files Browse the repository at this point in the history
  • Loading branch information
grcevski committed Feb 10, 2025
1 parent b63d235 commit d40d994
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/export/alloy/traces.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ func (tr *tracesReceiver) provideLoop() (pipe.FinalFunc[[]request.Span], error)
slog.Error("error fetching user defined attributes", "error", err)
}

if tr.spanMetricsEnabled {
traceAttrs[attr.SkipSpanMetrics] = struct{}{}
}

for spans := range in {
for i := range spans {
span := &spans[i]
Expand Down

0 comments on commit d40d994

Please sign in to comment.