Skip to content

[processor/cumulativetodelta] Align reset behavior for all histogram types and check bucket count resets#49355

Open
mx-psi wants to merge 2 commits into
open-telemetry:mainfrom
mx-psi:mx-psi/detect-bucket-count-reset
Open

[processor/cumulativetodelta] Align reset behavior for all histogram types and check bucket count resets#49355
mx-psi wants to merge 2 commits into
open-telemetry:mainfrom
mx-psi:mx-psi/detect-bucket-count-reset

Conversation

@mx-psi

@mx-psi mx-psi commented Jun 29, 2026

Copy link
Copy Markdown
Member

Description

  • Checks on both exponential histograms and histograms if there is a bucket count reset
  • Drops Histogram points when a reset is detected by either total or bucket count

Link to tracking issue

Fixes #48278

Testing

Added unit test, updated existing test suite

Documentation

Authorship

  • I, a human, wrote this pull request description myself.

(PR itself is assisted by Claude Opus 4.8)

Comment thread processor/cumulativetodeltaprocessor/internal/tracking/tracker.go
@mx-psi mx-psi marked this pull request as ready for review June 29, 2026 14:12
@mx-psi mx-psi requested review from a team and TylerHelmuth as code owners June 29, 2026 14:12
@github-actions github-actions Bot added the processor/cumulativetodelta Cumulative To Delta processor label Jun 29, 2026
@mx-psi mx-psi requested a review from jade-guiton-dd June 30, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

processor/cumulativetodelta Cumulative To Delta processor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[processor/cumulativetodelta] Histogram resets emit corrupted delta with full cumulative value instead of being dropped

3 participants