Skip to content

[exporter/elasticsearch] Fix data loss due to metric grouping regression #37903

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

Merged

Conversation

carsonip
Copy link
Contributor

@carsonip carsonip commented Feb 13, 2025

Description

Fix data loss when the same metric exists across different resources or scopes. Data points / metrics were incorrectly grouped together due to missing hash on resource / scope, leading to data loss with warning logs e.g. "metric with name '***' has already been serialized".

Link to tracking issue

Fixes #37898

Testing

Documentation

@carsonip carsonip marked this pull request as ready for review February 13, 2025 16:14
@carsonip carsonip requested a review from a team as a code owner February 13, 2025 16:14
@andrzej-stencel andrzej-stencel merged commit fc58cef into open-telemetry:main Feb 14, 2025
162 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 14, 2025
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.

[exporter/elasticsearch] data loss due to incorrect metrics grouping
3 participants