-
Notifications
You must be signed in to change notification settings - Fork 40
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
Improve efficiency of ETW metrics exporter #134
base: main
Are you sure you want to change the base?
Improve efficiency of ETW metrics exporter #134
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #134 +/- ##
=======================================
- Coverage 55.4% 55.2% -0.2%
=======================================
Files 39 39
Lines 6098 5957 -141
=======================================
- Hits 3381 3291 -90
+ Misses 2717 2666 -51 ☔ View full report in Codecov by Sentry. |
|
||
use criterion::{criterion_group, criterion_main, Criterion}; | ||
|
||
fn export() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not measuring the cost of export - it is creating new runtime, create meter provider, meter, instrument, record 10,000 measurements, flush, and drop...
Fixes #104
Design Decisions:
ResourceMetrics
for each metric point and serialize each into an exportable bufferChanges
Please provide a brief description of the changes here.
Merge requirement checklist
CHANGELOG.md
files updated for non-trivial, user-facing changes