opentelemetry-python
opentelemetry-python copied to clipboard
OpenTelemetry Python API and SDK
This code in `SynchronousMultiSpanProcessor`: https://github.com/open-telemetry/opentelemetry-python/blob/347bfaeeba2c31728d606e0ec02703dca2b652d6/opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py#L182-L203 means that if a processor doesn't return something truthy, then remaining processors are skipped. This doesn't really match the docstring, which only mentions skipping in...
Currently it doesn't do anything. This was uncovered in https://github.com/open-telemetry/opentelemetry-python/pull/4535. Need to figure out how it should behave when the OTLP exporter(s) already had it's export timeout flag set via...
### Describe your environment OS: SLES15SP5 (Docker) Python version: 3.10.15 SDK version: 1.28.2 API version: 1.28.2 opentelemetry-exporter-otlp-proto-common 1.28.2 opentelemetry-exporter-otlp-proto-grpc 1.28.2 opentelemetry-instrumentation 0.49b2 opentelemetry-instrumentation-dbapi 0.49b2 opentelemetry-instrumentation-elasticsearch 0.49b2 opentelemetry-instrumentation-flask 0.49b2 opentelemetry-instrumentation-kafka-python 0.49b2...
# Description This commit adds post-fork reinitialization of threading locks across multiple components in the OpenTelemetry Python SDK and API. It ensures that threading.Lock() instances are safely reinitialized in child...
Let's assume I'm building a logging bridge for one of many python non-standard loggers (e.g. [structlog](https://github.com/hynek/structlog)). I should be able to create a library using logging (bridge) API alone. So...
### Describe your environment OS: (e.g, Ubuntu) Python version: 3.10.9 SDK version: 1.31.0 API version: 1.31.0 Opentelemetry collector: 0.115.1 Our application runs as a Kubernetes StatefulSet with 200 replicas using...
### Describe your environment OS: Darwin 22.6.0 Python version: 3.13.2 SDK version: v1.31.1 API version: v1.31.1 opentelemetry-exporter-otlp v1.31.1 ### What happened? After `otel-collector` restart, the `app` failed to send traces...
# Description This PR adds JSON-based OTLP exporters to complement the existing Protobuf-based exporters. Many services and backends support the JSON format for OTLP data, and this implementation provides a...
# Description Add sdk._logs directory to pyright, fix existing lint errors. Found what I think is a bug as well. See https://github.com/open-telemetry/opentelemetry-python/issues/4582 Fixes # (issue) ## Type of change Please...
# Description Adds a prototype for the environment variable carrier, specifically decorating Getter and Setter instead of creating a dedicated propagator. The comes from the conversations within the environment variable...