-
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
[exporter/elasticsearch] Implement elasticsearch.mapping.hints attribute handling for data points in OTel mapping mode #35479
Conversation
@@ -7,15 +7,18 @@ change_type: enhancement | |||
component: elasticsearchexporter | |||
|
|||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | |||
note: Emit _doc_count for metric documents in OTel mode when data point attribute _doc_count is true |
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.
[to reviewer] Removing changelog for previous doc count PR as this PR supersedes it. It does not make sense for the doc count PR changelog to be in the release notes of the next version if it is not relevant.
@mwear Thanks for the review. I've fixed the CI check. But would love eyes from @lahsivjar and @felixbarny before merging it. |
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!
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.
I'm a bit worried that there's new functionality being added with no mention of it in the component's documentation. Isn't this functionality something users would be interested in?
…ute handling for data points in OTel mapping mode (open-telemetry#35479) **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.--> Supersedes open-telemetry#35348 elasticsearch.mapping.hints takes a slice of strings. `_doc_count` enables emitting `_doc_count` for the document. `aggregate_metric_double` causes histogram or exponential histogram to be emitted as aggregate_metric_double. **Link to tracking Issue:** <Issue number if applicable> **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.>
Description:
Supersedes #35348
elasticsearch.mapping.hints takes a slice of strings.
_doc_count
enables emitting_doc_count
for the document.aggregate_metric_double
causes histogram or exponential histogram to be emitted as aggregate_metric_double.Link to tracking Issue:
Testing:
Documentation: