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

For Delta Temporarlity, avoid exporting when no new measurements are made #2153

Merged

Conversation

cijothomas
Copy link
Member

Fixes #1598 by doing a simple fix.
This area still require more refactoring (#2145), but this does the job for now, and avoids sending "empty" metrics to exporters.

@cijothomas cijothomas requested a review from a team as a code owner September 28, 2024 18:47
Copy link

codecov bot commented Sep 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.2%. Comparing base (6ed2b43) to head (5861e48).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##            main   #2153     +/-   ##
=======================================
+ Coverage   79.0%   79.2%   +0.2%     
=======================================
  Files        121     121             
  Lines      20933   20937      +4     
=======================================
+ Hits       16549   16600     +51     
+ Misses      4384    4337     -47     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cijothomas cijothomas merged commit 8bdd189 into open-telemetry:main Sep 30, 2024
25 checks passed
@cijothomas cijothomas deleted the cijothomas/delta-efficiency-hack-fix branch September 30, 2024 21:02
cijothomas added a commit to cijothomas/opentelemetry-rust that referenced this pull request Sep 30, 2024
cijothomas added a commit to cijothomas/opentelemetry-rust that referenced this pull request Oct 4, 2024
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.

Metrics - Delta aggregation should not export unless new measurements are reported in current cycle
3 participants