-
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
[chore][exporter/elasticsearch] Refactor passthrough field handling for OTel mode #34471
[chore][exporter/elasticsearch] Refactor passthrough field handling for OTel mode #34471
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
"data_stream.dataset": "resource.attribute.dataset", | ||
"data_stream.namespace": "resource.attribute.namespace", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just as a question: have we implemented sanitization for these already? For example, would resource-attribute-dataset
be sanitized to resource_attribute_dataset
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch, we have not. Will address in a different PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…or OTel mode (open-telemetry#34471) **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 logs test** - **Add note and remove confusing test** There is no change in behavior. No changelog needed. **Link to tracking Issue:** <Issue number if applicable> **Testing:** <Describe what testing was performed and which tests were added.> Added exporter test **Documentation:** <Describe the documentation added.>
Description:
There is no change in behavior. No changelog needed.
Link to tracking Issue:
Testing:
Added exporter test
Documentation: