Skip to content

Commit

Permalink
Add resource key back
Browse files Browse the repository at this point in the history
  • Loading branch information
foadnh committed Jan 13, 2025
1 parent fb9a488 commit 2724945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/loadbalancingexporter/trace_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func newTracesExporter(params exporter.Settings, cfg component.Config) (*traceEx
case svcRoutingStr:
traceExporter.routingKey = resourceKeysRouting
traceExporter.routingResourceKeys = []string{"service.name"}
case resourceKeysRoutingStr:
case resourceKeysRoutingStr, resourceRoutingStr:
traceExporter.routingKey = resourceKeysRouting
traceExporter.routingResourceKeys = cfg.(*Config).ResourceKeys
case traceIDRoutingStr, "":
Expand Down

0 comments on commit 2724945

Please sign in to comment.