opentelemetry-python
opentelemetry-python copied to clipboard
OpenTelemetry Python API and SDK
Implementing this compliance spec https://github.com/open-telemetry/opentelemetry-specification/pull/2030
**Describe your environment** Python 3.9, Cornice 3.6, Pyramid 10.7 **Steps to reproduce** Attempt to validate a request using an invalid json payload. A more testable reproduction is raising an exception...
Hi, I'm looking to use python opentelemetry-propagator-b3 in order to integrate create custom traces with service mesh traces generated by Istio. I think in order to do this I need...
**Is your feature request related to a problem?** If I want to record any exception, I need to use BaseException as the type. However, according to the signature of `record_exception`,...
We have a process that sometimes fails to exit until we hit `ctrl-c`. Traceback at that time shows the process is hung, attempting to "join" a worker thread: ``` Traceback...
**Describe your environment** runtime: python3.6.1; sdk version: 1.7.1 **Steps to reproduce** Describe exactly how to reproduce the error. Include a code sample if applicable. **What is the expected behavior?** What...
Yeah I think going back to dev versions will be fine. At least until metrics/logs become a bit more stable. _Originally posted by @lzchen in https://github.com/open-telemetry/opentelemetry-python/pull/2583#discussion_r854397787_
State of tracing SDK env var support - [x] OTEL_RESOURCE_ATTRIBUTES - [x] OTEL_SERVICE_NAME - [ ] OTEL_LOG_LEVEL https://github.com/open-telemetry/opentelemetry-python/issues/1059 - [x] OTEL_PROPAGATORS - [x] OTEL_TRACES_SAMPLER - [x] OTEL_TRACES_SAMPLER_ARG - [x] OTEL_BSP_SCHEDULE_DELAY...
See spec issues https://github.com/open-telemetry/opentelemetry-specification/issues/2280, https://github.com/open-telemetry/opentelemetry-specification/issues/2232 and https://github.com/open-telemetry/opentelemetry-specification/pull/2317 PR which adds this to the spec. Our API for creating observable instruments currently looks like this: ```py def cpu_time_callback() -> Iterable[Measurement]: with...
Make sure tracing and logs functions that have to raise a Failure or Timeout exception do so. _Originally posted by @srikanthccv in https://github.com/open-telemetry/opentelemetry-python/pull/2599#discussion_r849585141_