-
Notifications
You must be signed in to change notification settings - Fork 576
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
Add metrics instrumentation for google.golang.org/grpc #2840
Labels
area: instrumentation
Related to an instrumentation package
enhancement
New feature or request
instrumentation: otelgrpc
Comments
fatsheep9146
added
area: instrumentation
Related to an instrumentation package
enhancement
New feature or request
labels
Oct 7, 2022
Related: #2782. |
radhus
added a commit
to einride/cloudrunner-go
that referenced
this issue
Nov 4, 2022
The exported histograms do not make sense. It seems like they are of CUMULATIVE type instead of DELTA. This has to be fixed within the opentelemetry-operations-go library. As there might be gRPC metrics introduced in the opentelemetry-go-contrib project (see [1]), let's not try to fix them here right now but instead remove it and use future ones in that library. [1]: open-telemetry/opentelemetry-go-contrib#2840
radhus
added a commit
to einride/cloudrunner-go
that referenced
this issue
Nov 4, 2022
The exported histograms do not make sense. It seems like they are of CUMULATIVE type instead of DELTA. This has to be fixed within the opentelemetry-operations-go library. As there might be gRPC metrics introduced in the opentelemetry-go-contrib project (see [1]), let's not try to fix them here right now but instead remove it and use future ones in that library. [1]: open-telemetry/opentelemetry-go-contrib#2840
I think this issue is now blocked by #197 |
Edholm
added a commit
to einride/cloudrunner-go
that referenced
this issue
Feb 7, 2023
This metric is now included in the otelgrpc opentelemetry contrib package. A side effect of this is that we loose the status code attr. Status on this can be tracked here: open-telemetry/opentelemetry-go-contrib#2840
liufuyang
added a commit
to einride/cloudrunner-go
that referenced
this issue
Feb 18, 2023
Move server.rpc.duration metric to server.rpc.duration_deprecated, as it is now included in the otelgrpc opentelemetry contrib package. A side effect of this is that we loose the status code attr. Status on this can be tracked here: open-telemetry/opentelemetry-go-contrib#2840
liufuyang
added a commit
to einride/cloudrunner-go
that referenced
this issue
Feb 18, 2023
Move server.rpc.duration metric to server.rpc.duration_deprecated, as it is now included in the otelgrpc opentelemetry contrib package. A side effect of this is that we loose the status code attr. Status on this can be tracked here: open-telemetry/opentelemetry-go-contrib#2840
pellared
changed the title
Request to Add Instrumentation for google.golang.org/grpc
Add metrics instrumentation for google.golang.org/grpc
Aug 10, 2023
Anyone mind if I add a metrics implementation to the client interceptors? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: instrumentation
Related to an instrumentation package
enhancement
New feature or request
instrumentation: otelgrpc
Background
google.golang.org/grpc
is already instrumented with librarygo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
, but this library only covers trace.So this issue will try to complete all the metrics for
google.golang.org/grpc
which are already defined in https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/semantic_conventions/rpc-metrics.mdMetrics
Instruments
Server
Client
Tasks
Dockerfile
file to build example application.docker-compose.yml
to run example in a docker environment to demonstrate instrumentation.The text was updated successfully, but these errors were encountered: