opentelemetry-python-contrib
opentelemetry-python-contrib copied to clipboard
OpenTelemetry instrumentation for Python modules
### Describe your environment OS: Macos Python version: 3.11.8 Package versions: opentelemetry-distro==0.52b0 opentelemetry-exporter-otlp==1.31.0 ### What happened? Trying to make [traceloop-sdk](https://www.traceloop.com/docs/openllmetry/getting-started-python) and opentelemetry-python [programmatic auto-instrumentation](https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/opentelemetry-instrumentation#programmatic-auto-instrumentation) play together but it leads to...
# Description Improves the comprehensiveness and uniformity of reporting span-level attributes for Google GenAI SDK operations. This essentially dumps all of the configuration options into span attributes, with a vendor-specific...
# Description An https://github.com/open-telemetry/opentelemetry-python-contrib/issues/956 was found in the wsgi instrumentation by integration tests in the core repository. The issue should have been caught by unit tests in the instrumentation using...
### What problem do you want to solve? Currently there are traces but no metrics. Having OTEL metrics for gRPC servers and clients is an incredibly useful feature. ### Describe...
# Description This is an initial PR to address https://github.com/open-telemetry/opentelemetry-python-contrib/issues/3305 in order for OTel Python to support X-Ray Remote Sampling. A series of PRs to fully implement this feature will...
# Description In order for the auto instrumentation to use the same dependency checker as the instrumentation itself, I introduce an exception that allows for an early exit from instrument...
**Is your feature request related to a problem?** I'm using aiomysql and I would like to have auto-instrumentation for it. I've tried using `opentelemetry-instrumentation-pymysql` as I know that aiomysql is...
### Describe your environment OS: windows + docker Python version: (e.g., Python 3.11) Package version: opentelemetry-instrumentation-aiokafka~=0.52b0 aiokafka~=0.12.0 ### What happened? Exception: AIOKafkaProducer.send() got multiple values for argument 'headers' ### Steps...
### What happened? Combining `PeriodicExportingMetricReader` and `SystemMetricsInstrumentor` produces only zero values for `system.cpu.utilization` in the first export, which may be the only export if the process doesn't last long. ###...
### Describe your environment OS: (e.g, Ubuntu): macOs Sequoia 15.3.1 Python version: 3.11.9 Packages version: opentelemetry-api 1.30.0 opentelemetry-exporter-otlp 1.30.0 opentelemetry-exporter-otlp-proto-common 1.30.0 opentelemetry-exporter-otlp-proto-grpc 1.30.0 opentelemetry-exporter-otlp-proto-http 1.30.0 opentelemetry-instrumentation 0.51b0 opentelemetry-instrumentation-asgi 0.51b0 opentelemetry-instrumentation-dbapi...