opentelemetry-python-contrib
opentelemetry-python-contrib copied to clipboard
OpenTelemetry instrumentation for Python modules
Does opentelemetry auto-instrument Django ORM database calls? Since, most of the Django users use the in-built ORM, it would be very useful to extend DB instrumentation to ORM. When I...
Before opening a feature request against this repo, consider whether the feature should/could be implemented in the [other OpenTelemetry client libraries](https://github.com/open-telemetry/). If so, please [open an issue on opentelemetry-specification](https://github.com/open-telemetry/opentelemetry-specification/issues/new) first....
# Description Fixes https://github.com/open-telemetry/opentelemetry-python-contrib/issues/1674 The package confluent-kafka has a class Consumer, which has a method called [poll](https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#confluent_kafka.Consumer.poll). As per docs, the recommended usage is calling consumer.poll infinitely, so it keeps...
# Description HTTP request and response headers (attributes `http.request.header.*` and `http.response.header.*`) should be normalized by just being converted to lowercase, not replacing underscore with dash. This is made clear in...
Copy log updates from `release/v1.24.x-0.45bx`.
This is related to a known `grpc` bug: https://github.com/grpc/grpc/issues/26498 ...however, I'm opening it here because that has been opened for several years, and this package could work around the issue....
**Problem Statement** As mentioned in https://opentelemetry.io/docs/languages/python/automatic/configuration/, there is a mention of `OTEL_PYTHON_LOG_CORRELATION` which when set to true, will automatically inject trace id and span id in context to python's logs:...
When updating httpx instrumentation, I found there was a (likely unintended) breaking change. https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2020#discussion_r1505190185 I found it because my app broke when it crashed on trying to read `url.host` in...
# Description Continuing from the work done in https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2026 by @adriangb, this adds three new keyword parameters to `FastAPIInstrumentor().instrument_app`: * `http_capture_headers_server_request` * `http_capture_headers_server_response` * `http_capture_headers_sanitize_fields` All of course have the...
We are using [`[test]` packages](https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-flask/pyproject.toml#L41). This feature is not [intented to be used this way](https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#optional-dependencies), it is intended to be used to support _additional features_ of a package. Besides this,...