8000 Add attribute to camel aws SNS assertions by jaydeluca · Pull Request #14434 · open-telemetry/opentelemetry-java-instrumentation · GitHub
[go: up one dir, main page]

Skip to content

Conversation

jaydeluca
Copy link
Member

#14035 added a new aws attribute, which are emitted by the camel tests. This SNS test is disabled, so our automation didn't pick up on the failure.

It was failing with:

java.lang.AssertionError: [span [SNS.CreateTopic] attribute keys] 
Expecting actual:
  [aws.agent,
    aws.request_id,
    aws.sns.topic.arn,
    http.request.method,
    http.response.status_code,
    network.protocol.version,
    rpc.method,
    rpc.service,
    rpc.system,
    server.address,
    url.full]
to contain exactly in any order:
  [aws.agent,
    url.full,
    rpc.system,
    aws.request_id,
    server.address,
    rpc.service,
    http.response.status_code,
    http.request.method,
    rpc.method,
    network.protocol.version]
but the following elements were unexpected:
  [aws.sns.topic.arn]

Now passes locally:
image

@jaydeluca jaydeluca requested a review from a team as a code owner August 14, 2025 20:25
@laurit laurit merged commit c50eb3c into open-telemetry:main Aug 15, 2025
89 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0