Skip to content
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

Remove high-cardinality attribute from AWS Container Insight metrics #37697

Conversation

pjanotti
Copy link
Contributor

@pjanotti pjanotti commented Feb 5, 2025

Description

Per code inspection it looks like tags was being used as a convenience feature to pass the timestamp when converting the metrics to OTLP. However, timestamp should not be a resource attribute due to causing high-cardinality time series.

This change keeps the current usage of tags, but, ensures that timestamp is not added as a resource attribute. Code owners should consider if later the timestamp should be passed outside the tags map - a change much larger than the current one.

Link to tracking issue

Fixes #35861

Testing

Updated respective tests.

Documentation

Changelog added.

@dmitryax dmitryax merged commit fa6262e into open-telemetry:main Feb 24, 2025
162 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 24, 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.

[receiver/awscontainerinsight] High cardinality with default configuration
6 participants