opentelemetry-python-contrib
opentelemetry-python-contrib copied to clipboard
OpenTelemetry instrumentation for Python modules
# Description Fixes https://github.com/open-telemetry/opentelemetry-python-contrib/issues/2473 ## Type of change Please delete options that are not relevant. - [x] Bug fix (non-breaking change which fixes an issue) # How Has This Been...
# Description Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change....
**Describe your environment** According to docs https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-threading, it should exist, but it doesn't. **Steps to reproduce** `pip install opentelemetry-instrumentation-threading` **What is the expected behavior?** Exists. **What is the actual behavior?**...
Becuase the HttpX instrumentation changes the httpx.client class, it does not work on classes that are defined on import (even if the class is only instantiated after instrumentation). This means...
# Description We are using open telemetry with Gunicorn. Due to the forking model of Gunicorn (https://opentelemetry-python.readthedocs.io/en/latest/examples/fork-process-model/README.html), we are unable to do automatic instrumentation. Since Gunicorn sets up logging very...
# Description Pkgresource dependency is [deprecated](https://setuptools.pypa.io/en/latest/pkg_resources.html#package-discovery-and-resource-access-using-pkg-resources), on this pr i replaced pkg_resource for importlib.metadata. Fixes https://github.com/open-telemetry/opentelemetry-python-contrib/issues/2180 ## Type of change Please delete options that are not relevant. - [x] Bug...
This was orignally reported as https://github.com/pydantic/logfire/issues/65 which has version details etc. But in summary, using `opentelemetry-instrumentation-psycopg="0.45b0"` to instrument asyncio queries, doesn't work properly. The cause is as follows: https://github.com/open-telemetry/opentelemetry-python-contrib/blob/5116305f77bcd4c8ab18ef302a4351bb5b724c1e/instrumentation/opentelemetry-instrumentation-psycopg/src/opentelemetry/instrumentation/psycopg/__init__.py#L335-L338 calls...
**Describe your environment** When using the Otel grpc auto instrumentation, because of the implementation [here](https://github.com/open-telemetry/opentelemetry-python-contrib/blob/5116305f77bcd4c8ab18ef302a4351bb5b724c1e/instrumentation/opentelemetry-instrumentation-grpc/src/opentelemetry/instrumentation/grpc/grpcext/_interceptor.py#L263) in the `opentelemetry-python-contrib` the following error is thrown in the generated file `_pb2_grpc.py` file `TypeError:...
# Description Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change....