Skip to content

Java semconv update + capture http.response.status_code#1111

Merged
l-trotta merged 4 commits into
elastic:mainfrom
SylvainJuge:java-semconv-update
Dec 15, 2025
Merged

Java semconv update + capture http.response.status_code#1111
l-trotta merged 4 commits into
elastic:mainfrom
SylvainJuge:java-semconv-update

Conversation

@SylvainJuge

Copy link
Copy Markdown
Member
  • update otel semconv to 1.37.0 (latest is 1.38.0 but we don't need it so far)
  • use stable semconv constants when we can
  • use AttributeKey caching provided by AttributeKeyTemplate
  • capture http.response.status_code for the ES HTTP response

@l-trotta
l-trotta merged commit d0b2454 into elastic:main Dec 15, 2025
12 checks passed
l-trotta pushed a commit that referenced this pull request Dec 15, 2025
* bump semconv version

* update constants + code cleanup

* test status code capture

* use semconv constants in test
l-trotta added a commit that referenced this pull request Dec 15, 2025
* bump semconv version

* update constants + code cleanup

* test status code capture

* use semconv constants in test
l-trotta added a commit that referenced this pull request Dec 15, 2025
)

* bump semconv version

* update constants + code cleanup

* test status code capture

* use semconv constants in test

Co-authored-by: SylvainJuge <763082+SylvainJuge@users.noreply.github.com>
l-trotta added a commit that referenced this pull request Dec 15, 2025
)

* bump semconv version

* update constants + code cleanup

* test status code capture

* use semconv constants in test
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.

2 participants