opentelemetry-python
opentelemetry-python copied to clipboard
OpenTelemetry Python API and SDK
# Description Add a lock in `PeriodicExportingMetricReader` which is held whenever its paired exporter is called. Fixes #2859 ## Type of change Please delete options that are not relevant. -...
## Background Hello there! The Python packaging ecosystem has standardized on the interface for build backends ([PEP 517](https://peps.python.org/pep-0517/)/[PEP 660](https://peps.python.org/pep-0660/)) and the format for metadata declaration ([PEP 621](https://peps.python.org/pep-0621/)/[PEP 631](https://peps.python.org/pep-0631/)). As a...
From specs: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#forceflush Flushing implementation is usually done by the span processor. This addition is just to be compliant with the specs. The only point of contention is if we...
Following this spec change https://github.com/open-telemetry/opentelemetry-specification/commit/441bafa8eda1697c3f0b975250e421e25da496b8
**Describe your environment** python 3.7 ujson sanic==20.9.1 opentelemetry-api==1.9.1 opentelemetry-sdk==1.9.1 opentelemetry-propagator-jaeger==1.9.1 opentelemetry-exporter-jaeger-thrift==1.9.1 opentelemetry-instrumentation==0.28b1 opentelemetry-exporter-otlp-proto-http==1.10.0 **Steps to reproduce** i have used the opentelemetry-instrumentation to create a middleware for sanic web framework, this...
**Describe your environment** Python 3.6.8 | Opentelemery-sdk 1.9.1 **Steps to reproduce** I create a image through dockerfile, pseudo code: ``` ... RUN pip install pip==19.0.1 virtualenv==16.1.0 virtualenv-clone==0.4.0 setuptools==39.0.1 RUN pip...
As mentioned [in the spec](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#exportbatch:~:text=Export%20will%20never%20be%20called%20concurrently%20for%20the%20same%20exporter%20instance.%20Export%20can%20be%20called%20again%20only%20after%20the%20current%20call%20returns.) > Export will never be called concurrently for the same exporter instance. Export can be called again only after the current call returns. ~We already...
# Description This change will allow callers to the LogRecord.to_json() func to specify an `indent`. Previously the func used `4` as the `indent`. The consequences of that hard coding meant...
**Describe your environment** Python 3.9.13 opentelemetry-api 1.12.0rc2 opentelemetry-distro 0.32b0 opentelemetry-exporter-prometheus 1.12.0rc1 opentelemetry-instrumentation 0.32b0 opentelemetry-instrumentation-flask 0.32b0 opentelemetry-instrumentation-logging 0.32b0 opentelemetry-sdk 1.12.0rc2 **Steps to reproduce** opentelemetry-instrument --traces_exporter console --metrics_exporter prometheus python3 ./main.py **What...
Found via this command: codespell -L complies,ro,ans,ue,ot # Description Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any...