opentelemetry-python
opentelemetry-python copied to clipboard
OpenTelemetry Python API and SDK
From https://github.com/open-telemetry/opentelemetry-python/pull/2868
https://opentelemetry.io/docs/instrumentation/python/automatic/
https://opentelemetry.io/docs/instrumentation/python/cookbook/ Some possible common scenarios: - turn off a metric - turn off all metrics from a given instrumentation - turn default views off and require explicitly turning individual instruments...
I've been trying to run the basic Open Telemetry "Getting Started" guide, but ran into multiple issues. I tried running it on a RHEL8 machine (tried fedora and MACOS as...
Considering that logs is still underscore-prefixed, would this be a good opportunity to refactor the exported object to match the OTLP log proto as we did for metrics? _Originally posted...
The `opentelemetry-api` package, exporting `opentelemetry` doesn't successfully import into vscode. 1. In vanilla VSCode, the `import opentelemetry` is white 2. In VSCode with mypy / pylance enabled with strict mode:...
While using the Go SDK I noticed an inconsistency in how `OTEL_RESOURCE_ATTRIBUTES` baggage values are encoded and decoded. This was due to a difference in the version of the W3C...
# Description Fixes #2584 **Motivation:** Align `LogEmitter` implementation with OTel Log spec **Summary:** - Remove `LogEmitter.flush()` - Modify `LoggingHandler.__init__()`: - Replace `log_emitter` arg with `log_emitter_provider` - Obtain `log_emitter` via `log_emitter_provider`...
# Description Fix the documentation to state BatchSpanProcessor's fork-safety ## Type of change Please delete options that are not relevant. - [x] Bug fix (non-breaking change which fixes an issue)...
The spec says there are 4 data points: 1. Sum 2. Gauge 3. Histogram 4. Exponential Histogram Currently the SDK only implements 3 of them: Sum, Gauge, Histogram. See: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/datamodel.md#opentelemetry-protocol-data-model