Skip to content

Conversation

@dricross
Copy link
Contributor

@dricross dricross commented Oct 29, 2025

Description of the issue

With the new classic histogram mapping algorithm in the agent, invalid OTel histograms are dropped. The current histogram test sends invalid OTel histograms as it uses an equal number of buckets and counts. For OTel histograms, #counts should be #buckets + 1.

Description of changes

Update the classic histogram metrics that are sent to the agent as part of the integration test to include an extra bucket count. Update the expected metric values.

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

Integ test run with updated agent: https://github.com/aws/amazon-cloudwatch-agent/actions/runs/18923198676

@dricross dricross changed the title Dricross/classichistograms Update classic histogram datapoint definitions Oct 29, 2025
@dricross dricross force-pushed the dricross/classichistograms branch 3 times, most recently from c3465ec to 6ba4b80 Compare October 29, 2025 20:07
@dricross dricross force-pushed the dricross/classichistograms branch from 6ba4b80 to d9e9b47 Compare October 30, 2025 14:20
@dricross dricross marked this pull request as ready for review October 30, 2025 14:49
@dricross dricross requested a review from a team as a code owner October 30, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant