Repository navigation
[otel-data] Add HTTP body size, severity aliases - #152622
Conversation
Add ECS aliases for OTel semconv attributes with identical semantics: attributes.http.request.body.size -> http.request.body.bytes attributes.http.response.body.size -> http.response.body.bytes severity_number -> event.severity The body.size attributes are explicitly mapped as long, since alias targets must be concrete fields and attributes.* is a dynamic passthrough object. Closes elastic/opentelemetry-dev#1354 Closes elastic/opentelemetry-dev#1353
|
Pinging @elastic/es-storage-engine (Team:StorageEngine) |
|
Hi @axw, I've created a changelog YAML for you. |
🔍 Preview links for changed docs⏳ Building and deploying preview... View progress This comment will be updated with preview links when the build is complete. |
ℹ️ Important: Docs version tagging👋 Thanks for updating the docs! Just a friendly reminder that our docs are now cumulative. This means all 9.x versions are documented on the same page and published off of the main branch, instead of creating separate pages for each minor version. We use applies_to tags to mark version-specific features and changes. Expand for a quick overviewWhen to use applies_to tags:✅ At the page level to indicate which products/deployments the content applies to (mandatory) What NOT to do:❌ Don't remove or replace information that applies to an older version 🤔 Need help?
|
* [otel-data] Add HTTP body size, severity aliases Add ECS aliases for OTel semconv attributes with identical semantics: attributes.http.request.body.size -> http.request.body.bytes attributes.http.response.body.size -> http.response.body.bytes severity_number -> event.severity The body.size attributes are explicitly mapped as long, since alias targets must be concrete fields and attributes.* is a dynamic passthrough object. Closes elastic/opentelemetry-dev#1354 Closes elastic/opentelemetry-dev#1353 * Update docs/changelog/152622.yaml --------- Co-authored-by: Felix Barnsteiner <felixbarny@users.noreply.github.com>
Add ECS aliases for OTel semconv attributes with identical semantics:
The body.size attributes are explicitly mapped as long, since alias targets must be concrete fields and attributes.* is a dynamic passthrough object.