-
Notifications
You must be signed in to change notification settings - Fork 581
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
[net/http] enhance otelhttp example to support metric #2610
[net/http] enhance otelhttp example to support metric #2610
Conversation
The metrics SDK is currently under heavy revamping to be moved out of beta (see the new_sdk branch). |
|
||
} | ||
global.SetMeterProvider(controller) | ||
|
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.
invalid blank line should be removed.
log.Printf("Error shutting down meter provider: %v", err) | ||
} | ||
}() | ||
|
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.
Ditto.
c5a5707
to
97c7520
Compare
All comments are resolved @MrAlias |
instrumentation/net/http/otelhttp/example/.vscode/settings.json
Outdated
Show resolved
Hide resolved
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2610 +/- ##
=====================================
Coverage 69.6% 69.6%
=====================================
Files 147 147
Lines 6785 6795 +10
=====================================
+ Hits 4725 4735 +10
Misses 1944 1944
Partials 116 116
|
Signed-off-by: Ziqi Zhao <[email protected]>
9a734d7
to
dbf6e33
Compare
Signed-off-by: Ziqi Zhao [email protected]
The current otelhttp example only contains the logic of traces, I added the support of metric.