-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[exporter/awsxrayexporter] Consumer Segments should set the name to be local service name if possible #43432
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is neededwaiting-for-code-owners
Description
Component(s)
exporter/awsxray
What happened?
Description
After the changes in #42633, Consumer spans can also now be a Segments rather than just Subsegment. As such I would expect the behaviour for naming to be the same as other local roots (server for example).
Steps to Reproduce
AWS account
otel/opentelemetry-collector-contrib:0.137.0 running
send opentelemetry trace that starts with span with span kind = Consumer
Expected Result
Segment name comes from service name, like it does when the span kind is server
e.g.
Actual Result
Segment name comes from operation name
Collector version
otel/opentelemetry-collector-contrib:0.137.0
Environment information
No response
OpenTelemetry Collector configuration
exporters:
awsxray/sandbox:
local_mode: true
index_all_attributes: true
region: eu-west-1
## no processors, just standard recieversLog output
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is neededwaiting-for-code-owners