open-telemetry / opentelemetry.io

The OpenTelemetry website and documentation
https://opentelemetry.io
Creative Commons Attribution 4.0 International
522 stars 1.12k forks source link

gRPC is a library with native OpenTelemetry instrumentation #4754

Open yashykt opened 3 months ago

yashykt commented 3 months ago

Responding to the request from image

gRPC has native OpenTelemetry instrumentation support. We have plans to support metrics, tracing and logging.

gRPC OpenTelemetry Metrics - https://github.com/grpc/proposal/blob/master/A66-otel-stats.md (Already implemented in C++, Java, Go and Python) gRPC OpenTelemetry Tracing - https://github.com/grpc/proposal/blob/master/A72-open-telemetry-tracing.md gRPC OpenTelemetry Logging - Still being designed

svrnm commented 3 months ago

Oh wow, thanks for sharing @yashykt! Let me take a look into this.

cc @open-telemetry/cpp-approvers @open-telemetry/go-approvers @open-telemetry/java-approvers @open-telemetry/python-approvers

pellared commented 3 months ago

gRPC OpenTelemetry Metrics in Go are not released (no version tag) yet.

Reference: https://pkg.go.dev/google.golang.org/grpc/stats/opentelemetry

theletterf commented 3 months ago

https://github.com/open-telemetry/opentelemetry.io/pull/4757 merged!

tedsuo commented 3 months ago

Great news! Would be cool to do a blog post about this, we feel that OTel is stable enough now that we would like to start encouraging more native instrumentation.