Skip to content

Conversation

@SylvainJuge
Copy link
Member

@SylvainJuge SylvainJuge commented Nov 26, 2025

Fixes #879 by adding explicit test of the upstream implementation.

  • add test for HTTP on the server-side
  • add test for messaging
  • Feature is already documented in "Migration", so no need to update
  • The otel.instrumentation.messaging.experimental.capture-headers configuration and related messaging.header. span attribute prefix is used and tested in the following messaging instrumentation, so we can assume it's supported:
    • aws-sdk (SQS) *
    • jms *
    • kafka
    • nats
    • pulsar
    • rabbitmq *
    • rocketmq
    • spring-jms
    • spring-rabbit

All the instrumentations marked with * are the ones that are originally supported for the classic agent.

@SylvainJuge SylvainJuge requested review from a team as code owners November 26, 2025 17:11
@SylvainJuge SylvainJuge self-assigned this Nov 26, 2025
@@ -1,48 +0,0 @@
### Breakdown metrics

Status: feature has been disabled and code is only kept for future reference.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[for reviewer] not relevant anymore, if the feature gets re-implemented in the future we'll re-implement it from scratch.

Copy link
Contributor

@jackshirazi jackshirazi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, nicely done

@SylvainJuge SylvainJuge merged commit 60cb6c9 into elastic:main Dec 1, 2025
16 checks passed
@SylvainJuge SylvainJuge deleted the headers-capture branch December 1, 2025 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Header capture

2 participants