opentelemetry-python
opentelemetry-python copied to clipboard
OpenTelemetry Python API and SDK
### Describe your environment OS: does not matter Python version: 3.12 SDK version: 1.32.1 API version: 1.32.1 ### What happened? The `opentelemetry-exporter-otlp-proto-grpc==1.32.1` pip package imports `opentelemetry-proto==1.33.0.dev`, which forces protobuf <...
### Is your feature request related to a problem? I have tests that run to validate the instantiation and configuration of my apps global tracer provider. See the minimal example...
### Describe your environment OS: Various Linux distros (different base images used) Python version: Python 3.11/3.12 SDK version: 1.32.1 ### What happened? I'm using logfire as my logging library, which...
### Describe your environment OS: Ubuntu 2204 Python version: 3.10.12 Package version: 1.3.0/0.51b0 ### What happened? I originally raised this issue as https://github.com/open-telemetry/opentelemetry-python-contrib/issues/3267 but now realise it seems to be...
# Description We (google) saw a deadlock occur when [logging.config.dictConfig](https://github.com/python/cpython/blob/3.13/Lib/logging/config.py#L933) is called after the [OTEL `LoggingHandler` is attached to the root logger](https://github.com/open-telemetry/opentelemetry-python/blob/6ed676a1b2d99dacf3b3597340b8ea6baef7db3c/opentelemetry-sdk/src/opentelemetry/sdk/_configuration/__init__.py#L262). This happened b/c `dictConfig` acquires [`logging._lock`](https://github.com/python/cpython/blob/3.13/Lib/logging/config.py#L543) and [then...
### Describe your environment OS: macOS Sequoia 15.4.1 (24E263) Python version: 3.12.8 SDK version: 1.33.1 API version: 1.33.1 ### What happened? Attributes for a datapoint are mutable after the datapoint...
### Is your feature request related to a problem? I'd like my app's users to be informed whenever their span is truncated. Currently there's no warning being logged in Otel....
# Description Add `exporter/opentelemetry-exporter-otlp-proto-grpc` to the pyright include list. Fix all lint errors in that package. ## Type of change Please delete options that are not relevant. - [x ]...
https://mkdocstrings.github.io/griffe/ supports checking for breaking changes in public APIs. We currently have a [public symbols checker script](https://github.com/open-telemetry/opentelemetry-python/blob/main/scripts/public_symbols_checker.py), but it has clearly missed a few things and is relatively dump. Quick...