opentelemetry-instrumentation-grpc
OpenTelemetry gRPC instrumentation
Decision gist · record as of 2026-08-14
Yes, if you are already using OpenTelemetry and gRPC Python. The package is actively maintained, has no known vulnerabilities, and low install friction. It's a standard instrumentation module in the OpenTelemetry ecosystem. Install it only if you need gRPC tracing; it adds no value without an OpenTelemetry exporter configured downstream.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; gRPC Python must be installed separately (not declared as a direct dependency in this package).
- Low friction installation with a pure-Python wheel and four lightweight runtime dependencies.
- Active maintenance with a recent release (29 days old) and ongoing commits; part of the established OpenTelemetry ecosystem.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most commercial and open-source projects without significant restrictions.
last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 1,086 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 18,823,398 downloads/mo, #1,077 on PyPI
Alternatives
Verify before relying
pip install opentelemetry-instrumentation-grpc
from opentelemetry.instrumentation.grpc_instrumentation import GrpcInstrumentationServer
instrumentor = GrpcInstrumentationServer()
instrumentor.instrument()- Whether this package requires gRPC to be installed separately or if it's a transitive dependency
- Support for async gRPC patterns and whether both client and server interceptors are equally mature
- Performance overhead of instrumentation in high-throughput scenarios
What it is and what it does
This package integrates OpenTelemetry tracing into gRPC Python applications by providing client and server interceptors. It automatically captures gRPC call metadata, timing, and errors, feeding that telemetry into your OpenTelemetry pipeline for centralized observability. The package depends on opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, and wrapt to hook into gRPC calls without requiring code changes to your service logic.
It's designed for developers building microservices or distributed systems where gRPC is the communication layer and you need visibility into call patterns, latencies, and failures. The instrumentation runs as middleware, so once installed and configured with an OpenTelemetry exporter, your gRPC traffic automatically flows into your observability backend (Jaeger, Datadog, etc.).
Use it for
- Trace gRPC calls across microservices to debug latency and failure paths in distributed systems
- Monitor gRPC server performance and client request patterns in production environments
- Export gRPC call metrics to centralized observability platforms like Jaeger or Prometheus
- Correlate gRPC traces with other application telemetry for end-to-end request visibility
- Identify slow or failing gRPC endpoints by analyzing captured call metadata and timing
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using OpenTelemetry and gRPC Python.
The package is actively maintained, has no known vulnerabilities, and low install friction. It's a standard instrumentation module in the OpenTelemetry ecosystem. Install it only if you need gRPC tracing; it adds no value without an OpenTelemetry exporter configured downstream.
Install
opentelemetry-instrumentation-grpc on PyPI
Before you install
Low friction installation with a pure-Python wheel and four lightweight runtime dependencies. Active maintenance with a recent release (29 days old) and ongoing commits; part of the established OpenTelemetry ecosystem.
Requires Python 3.10 or later; gRPC Python must be installed separately (not declared as a direct dependency in this package).
License in practice
Apache-2.0 permissive license allows use in most commercial and open-source projects without significant restrictions.
Quickstart
pip install opentelemetry-instrumentation-grpc
from opentelemetry.instrumentation.grpc_instrumentation import GrpcInstrumentationServer
instrumentor = GrpcInstrumentationServer()
instrumentor.instrument()
Verify before relying
- Whether this package requires gRPC to be installed separately or if it's a transitive dependency
- Support for async gRPC patterns and whether both client and server interceptors are equally mature
- Performance overhead of instrumentation in high-throughput scenarios
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesopentelemetry-apiopentelemetry-instrumentationopentelemetry-semantic-conventionswrapt |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 18,823,398 / month, #1,077 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: opentelemetry_instrumentation_grpc-0.65b0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “grpc tracing instrumentation”
- opentelemetry-instrumentation-grpcAdds automatic tracing and monitoring to gRPC Python client and…
- nucliadb-telemetryAdds distributed tracing to FastAPI, gRPC, and NATS services,…
- grpcio-observabilityAdds observability instrumentation to gRPC Python applications,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also grpcio-observability · opentelemetry-instrumentation-kafka-python · py-grpc-prometheus · grpc-interceptor · opencensus-proto · grpcio-admin · opentelemetry-instrumentation-celery · opentelemetry-instrumentation-pyramid · opentelemetry-instrumentation-aiokafka · opentelemetry-instrumentation-psycopg