opentelemetry-go-contrib icon indicating copy to clipboard operation
opentelemetry-go-contrib copied to clipboard

Support standard gRPC metrics as per proposal A66

Open dhowden opened this issue 1 year ago • 1 comments

Problem Statement

There is a gRPC proposal for standardising OpenTelemetry metrics (A66 https://github.com/grpc/proposal/blob/master/A66-otel-stats.md) linked from here: https://grpc.io/docs/guides/opentelemetry-metrics/#server-instruments.

The recommended gRPC integration (go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc.ServerHandler) does not follow this standard:

  • similar metrics, but with small differences in naming (rpc, not grpc).
  • completely missing "call.started" count.

Proposed Solution

Implement the metrics proposed in A66.

Alternative Solution

Document the code to detail that it follows some other standard (and point to that).

dhowden avatar Sep 06 '24 12:09 dhowden