Skip to content

Commit

Permalink
[chore] Fix wavefrontreceiver component ID
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <[email protected]>
  • Loading branch information
bogdandrutu committed Feb 28, 2025
1 parent c099b8d commit 20e87e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion receiver/wavefrontreceiver/receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ func (r *metricsReceiver) Start(ctx context.Context, host component.Host) error
},
}

carbonReceiver, err := fact.CreateMetrics(ctx, r.set, carbonCfg, r.nextConsumer)
set := r.set
set.ID = component.NewIDWithName(fact.Type(), r.set.ID.String())
carbonReceiver, err := fact.CreateMetrics(ctx, set, carbonCfg, r.nextConsumer)
if err != nil {
return err
}
Expand Down

0 comments on commit 20e87e9

Please sign in to comment.