opentelemetry-python-contrib
opentelemetry-python-contrib copied to clipboard
OpenTelemetry instrumentation for Python modules
### Describe your environment OS: debian Python version: 3.10.16 Package version: 0.51b0 running in a docker container with base image `python:3.10.16-slim` ### What happened? i periodically get unnamed spans emitted...
### What problem do you want to solve? In python, both sync and async worlds, there are ThreadPoolExecutors and ProcessPoolExecutors. These executors have a `max_workers` parameter that constraints them. If...
### Describe your environment OS: Ubuntu Python version: 3.12 ### What happened? When an exception is raised and handled by the `exception_handler`, the `span_id` printed is always 0. However, the...
This is a tracking issue for the implementation of tracing for `Converse` and `InvokeModel` APIs and their respective streaming version. Big difference between the two APIs is that converse is...
In zero-code instrumentation, it doesn't Manually instrument causing no context propagation within the service. Can it link Parent span and its Child span? If it can do this, how does...
# Description To help debug bad performance, I thought it would be useful to have the traceback of a call to a database. Especially for ORMs like Django's that make...
_Originally posted by @aabmass in https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3304#discussion_r1972595732_ Only really ancient versions of starlette seem to be working with `opentelemetry-insturmentation-starlette`. The tests fail if you increase the version range because of an...
### Describe your environment OS: Ubuntu 22.04 Python version: Python 3.11.11 Package version: 0.45b0 ### What happened? Calling `FastAPIInstrumentor.uninstrument_app()` doesn't remove the `app` parameter from the `_InstrumentedFastAPI._instrumented_fastapi_apps` set. If instrumenting...
Mentioning FastAPI specifically as that's what I'm using but I wouldn't be surprised if it held true for the others. So coming to add opentelemetry instrumentation as someone primarily not...
### What problem do you want to solve? [asyncclick](https://github.com/python-trio/asyncclick) is an async fork of click. The existing click autoinstrumentation is compatible if you patch the import: `import click` -> `import...