opentelemetry-python
opentelemetry-python copied to clipboard
OpenTelemetry Python API and SDK
See [this](https://github.com/open-telemetry/opentelemetry-python-contrib/issues/2182).
# Description Fixing the `start_as_current_span` decorator that report near zero time for spans of decorated async functions. Fixes #3270 ## Type of change Please delete options that are not relevant....
**Describe your environment** Describe any aspect of your environment relevant to the problem, including your Python version, [platform](https://docs.python.org/3/library/platform.html), version numbers of installed dependencies, information about your cloud hosting provider, etc....
This link in the 1.23.0 changelog is for an unrelated PR: > Add code.lineno, code.function and code.filepath to all logs (https://github.com/open-telemetry/opentelemetry-python/pull/3645)
Originaly from https://github.com/open-telemetry/opentelemetry-python/issues/62#issuecomment-1268415358 Alternatives: - Document that it doesn't work. Adding a note doesn't hurt anyone, but I think the type annotations are pretty clear here and a type checker...
**Is your feature request related to a problem?** There is an incoming metrics API change in the opentelemetry specification to support a synchronous gauge instrument: https://github.com/open-telemetry/opentelemetry-specification/pull/3540. This is spawned off...
**Describe your environment** Describe any aspect of your environment relevant to the problem, including your Python version, [platform](https://docs.python.org/3/library/platform.html), version numbers of installed dependencies, information about your cloud hosting provider, etc....
**Describe your environment** Python3.11.6 'opentelemetry-api==1.22.0', 'opentelemetry-sdk==1.22.0', 'opentelemetry-instrumentation-aio-pika==0.43b0', 'opentelemetry-exporter-jaeger==1.21.0' I originally opened [this discussion](https://github.com/open-telemetry/opentelemetry-python/discussions/3694) but after troubleshooting for a few days I think I may have found a bug with the...
Before opening a feature request against this repo, consider whether the feature should/could be implemented in the [other OpenTelemetry client libraries](https://github.com/open-telemetry/). If so, please [open an issue on opentelemetry-specification](https://github.com/open-telemetry/opentelemetry-specification/issues/new) first....
# Description Added support for log message formatters to `opentelemetry.sdk._logs._internal.LogHandler`. Fixes #3664 Fixes #3353 ## Type of change * added a `self.format` call on the original `LogRecord` to the code...