-
Notifications
You must be signed in to change notification settings - Fork 575
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
[otelgrpc] add metric rpc.server.duration support #2700
[otelgrpc] add metric rpc.server.duration support #2700
Conversation
You need to run |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2700 +/- ##
=====================================
Coverage 69.3% 69.4%
=====================================
Files 145 146 +1
Lines 6729 6752 +23
=====================================
+ Hits 4667 4689 +22
+ Misses 1948 1946 -2
- Partials 114 117 +3
|
a6e086f
to
561384b
Compare
c861cfa
to
0ea3938
Compare
@dmathieu @Aneurysm9 All checks are passed, could you help review this again? |
4d65f8a
to
4cb7bdc
Compare
Could you help review this again? @dmathieu |
18370b9
to
040efe0
Compare
@Aneurysm9 @jmacd @MrAlias @hanyuancheung Could you help review this again? |
Hi, stumbled across this, and had two questions about the units
|
@devnev
|
040efe0
to
936657f
Compare
561b10b
to
9e3f735
Compare
ping @pellared @Aneurysm9 @MrAlias @jmacd @dashpole @MadVikingGod @evantorrie @XSAM , could you help review this again? |
ping @pellared @Aneurysm9 @MrAlias @jmacd @dashpole @MadVikingGod @evantorrie @XSAM could you help review this? |
Is the plan to add the other specified metrics (https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/semantic_conventions/rpc.md#rpc-server) in follow on PRs? If so, can you open an issue to track the work? |
Absolutely, I already open an issue #2840 to track, and I will add the metric one by one. @MrAlias |
14e51e4
to
d528918
Compare
d3a3a28
to
9e16246
Compare
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.
Please update the instrumentation readme to indicate this package supports metric exports: https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/instrumentation#instrumentation-packages
Could you help review this again? @MrAlias |
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
8041c7b
to
c91c855
Compare
@jmacd @pellared @Aneurysm9 Could you help review this again? |
Signed-off-by: Ziqi Zhao zhaoziqi9146@gmail.com
Enhance instrumentation library otelgrpc for grpc to satisfy opentelemetry grpc server metric semantic conventions.
This pr is meant to add metric
rpc.server.duration
for the first step.I use example code to test, and produce the data for unary and stream request