-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide string representation for Span Status field #34590
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This is the plan for OTel mapping mode as implemented in WIP PR: #34472 |
Removing |
**Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> Add OTel mapping mode for traces. OTel mapping mode is a new mapping mode described in https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/elasticsearchexporter#elasticsearch-document-mapping Update logs and metrics OTel mapping mode to always emit "scope" and zero int, but not emit empty strings for known fields. Breaking change to remove `trace_flags` from logs. **Link to tracking Issue:** <Issue number if applicable> Fixes #34588 #34590 **Testing:** <Describe what testing was performed and which tests were added.> Added exporter tests **Documentation:** <Describe the documentation added.>
…etry#34472) **Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> Add OTel mapping mode for traces. OTel mapping mode is a new mapping mode described in https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/elasticsearchexporter#elasticsearch-document-mapping Update logs and metrics OTel mapping mode to always emit "scope" and zero int, but not emit empty strings for known fields. Breaking change to remove `trace_flags` from logs. **Link to tracking Issue:** <Issue number if applicable> Fixes open-telemetry#34588 open-telemetry#34590 **Testing:** <Describe what testing was performed and which tests were added.> Added exporter tests **Documentation:** <Describe the documentation added.>
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Component(s)
exporter/elasticsearch
Describe the issue you're reporting
Currently in encoding a span, for Span
Kind
the exporter is adopting a string representation, but the SpanStatus
adopts an integer representation (https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/exporter/elasticsearchexporter/model.go#L396-L397). It'd be great if we could adopt string representation for both, as it is more descriptive of thestatus
.The text was updated successfully, but these errors were encountered: