opentelemetry-python
opentelemetry-python copied to clipboard
OpenTelemetry Python API and SDK
# Description I am using OpenTelemetry to trace gRPC calls in my distributed machine learning application, and I fixed the global random seed in all replicas via `random.seed(42)` to make...
### Is your feature request related to a problem? We use the "extra" field in the python logger to add extra context. Sometimes the objects are rich objects, e.g dataclasses....
Addition to #4470 to write the id as hex so they can be exported to files.
We have in comments and in code wrong example of Resource construction. The final resource sent to tracers, meters and loggers should be created with Resource.create and not by instantiating...
### Is your feature request related to a problem? When an instrumented service generates lots of metrics (many data points / high cardinality) and is configured to export by HTTP,...
### Describe your environment sdk 1.32.1 ### What happened? errors in vscode/pyright with ``` Object of type "None" is not subscriptablePylance[reportOptionalSubscript](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportOptionalSubscript) ```  ### Steps to Reproduce ``` print(span.attributes["name"]) ```...
### Is your feature request related to a problem? Related to https://github.com/open-telemetry/opentelemetry-python/issues/4043 and https://github.com/open-telemetry/opentelemetry-python/issues/2284. I would like to update `Exporter.export` to accept a timeout parameter. This way the `BatchProcessor’`s `forceflush`...
So that builds are hermetic. See https://github.com/open-telemetry/opentelemetry-python/blob/a94eab984db6b794cc59cb2c16cd14d804d1eeaf/.github/workflows/misc_0.yml#L13-L14
### Is your feature request related to a problem? In order to authenticate to some Google APIs, we need the Authorization header to be added and then periodically refreshed in...
https://github.com/open-telemetry/opentelemetry-python/blob/59d67549765d52bbcdba5d3d5f4563c993aee824/opentelemetry-sdk/src/opentelemetry/sdk/_logs/_internal/__init__.py#L482-L484 There is no formal conventions defining if logs SDK/bridges should populate `code` attributes. Also, those attributes are not stable ([yet](https://github.com/open-telemetry/semantic-conventions/pull/1599)). The recommendation is to - remove or put them...