opentelemetry-python
opentelemetry-python copied to clipboard
OpenTelemetry Python API and SDK
Also remove redundant str(exception) from the exception message # Description Fixes #4093 As the linked issue mentions, if a failure occurs during converting a metric to proto, the exception message...
### Describe your environment Python version: 3.12.4 SDK version: 1.25.0 API version: 1.25.0 ### What happened? TypeError from opentelemetry.context.contextvars_context in detach. The function detach expected an instance of Token, but...
### Describe your environment OS: Ubuntu 24.04 Python version: Python 3.12 SDK version: 1.25.1 API version: 1.25.1 ### What happened? I am piloting the opentelemetry Python implementation in order to...
# Description Fixes #4163 (issue) ## Type of change Please delete options that are not relevant. - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New...
Similar to [this](https://github.com/tigrannajaryan/opentelemetry-go/pull/244/files).
### Is your feature request related to a problem? https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/event-sdk.md ### Describe the solution you'd like Implementation of the events sdk as defined by the spec. ### Describe alternatives you've...
### Describe your environment _No response_ ### What happened? When using TracerShim.start_active_span as a context manager, errors raised inside this context manager are being caught by _on_error function that underneath...
### Describe your environment OS: Linux/amd64 Python version: Python 3.12 SDK version: I installed following libs using pip, so I assume the latest version (`opentelemetry-exporter-otlp opentelemetry-instrumentation-requests opentelemetry-instrumentation-flask`) API version: I...
Following the discussion in #1205 where we identified that the `opentelemetry` (i.e. the opentelemetry-api package) and (soon) the `opentelemetry-sdk`packages are setup as Namespace Packages, we decided there was a need...
**Is your feature request related to a problem?** - We are offering in our library a meter previously configured so the users can create the metrics they wish, but we...