opentelemetry-python-contrib
opentelemetry-python-contrib copied to clipboard
OpenTelemetry instrumentation for Python modules
### Describe your environment services are build with docker python:3.10.15-slim and run on k8s services use opentelemetry-api==1.27.0 opentelemetry-sdk==1.27.0 opentelemetry-propagator-b3==1.27.0 opentelemetry-exporter-otlp-proto-grpc==1.27.0 opentelemetry-instrumentation-fastapi==0.48b0 opentelemetry-instrumentation-aiohttp-client==0.48b0 opentelemetry-instrumentation-asyncpg==0.48b0 opentelemetry-instrumentation-psycopg==0.48b0 opentelemetry-instrumentation-psycopg2==0.48b0 opentelemetry-instrumentation-requests==0.48b0 opentelemetry-instrumentation-logging==0.48b0 opentelemetry-instrumentation-system-metrics==0.48b0 opentelemetry-instrumentation-grpc==0.48b0 ###...
### What problem do you want to solve? Since OpenTelemetry is widely used in serverless applications, adding instrumentation for GCF would improve usability. While an [aws_lambda instrumenter](https://github.com/open-telemetry/opentelemetry-python-contrib/blob/2756c1edff42db2984296e0c5dbe668e8de85aa8/instrumentation/opentelemetry-instrumentation-aws-lambda/src/opentelemetry/instrumentation/aws_lambda/__init__.py#L105) already exists, there...
# Description Add the test NoOpTracerProvider otel instrumentation for httpx implementing the async and sync clients Fixes #979 ## Type of change Please delete options that are not relevant. -...
So that they can be used across those packages. OpenAI, Cohere, and Vertex instrumentations need some common utils. See https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3081/files/#r1884751133 They will be available in the `opentelemetry.instrumentation.gen_ai` module. Because GenAI...
### What problem do you want to solve? Implement sqlcommenter for new pymssql instrumentor. See also [PR comment](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/394/files#r958872644). ### Describe the solution you'd like See above. ### Describe alternatives you've...
Right now, auto instrumentation does a slightly different dependency check than the manual instrumentation does. auto instrumentation checks the pyproject.toml instruments and extras dependencies while the instrumentation checks the _instruments...
# Description Add new fields for SQLCommenter: - `"application"`, which should contain the name of the application - `"action"`, which should contain the HTTP verb in the request Both are...
I am using `opentelemetry-instrumentation-fastapi`. Everything works great except I get many small spans of `http receive` and `http send` for a single request. (see the screenshot below) Is there a...
### What problem do you want to solve? Implement sqlcommenter for new pymssql instrumentor. See also [PR comment](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/394#discussion_r1924384425). ### Describe the solution you'd like See above ### Describe alternatives you've...
### What problem do you want to solve? aiohttp has hooks that would allow this instrumentation to report spans and/or dns related metrics. this is useful to identify dns issues...