opentelemetry-python
opentelemetry-python copied to clipboard
OpenTelemetry Python API and SDK
The spec for OTLP exporter recommends supporting both protobufs over grpc and json over http for exporting telemetry via the OTLP exporter https://github.com/open-telemetry/opentelemetry-specification/pull/699/files **Describe the solution you'd like** Currently, the...
**Describe your environment** I'm using the ObservableGauge (like the [docs example](https://github.com/open-telemetry/opentelemetry-python/blob/c4d17e9f14f3cafb6757b96eefabdc7ed4891306/docs/examples/metrics/views/limit_num_of_attrs.py)) and have my setup exporting by OTLP to an otel collector instance that exports to logging. I noticed the...
**Describe your environment** ``` opentelemetry-sdk 1.22.0 opentelemetry-exporter-otlp-proto-grpc 1.22.0 Python 3.10 ``` **Steps to reproduce** 1. Start a Collector as per the steps outlined here: https://opentelemetry-python.readthedocs.io/en/latest/examples/logs/README.html 2. Run the following Python...
# Description Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change....
**Describe your environment** [Python Version] Python3.8 [OS] Windows 10 [platform] x86_64 [opentelemetry-python] 1.21.0 **Steps to reproduce** 1. init a simple provider ``` tracer = trace.get_tracer("name", "version", None, "url") set_service_info("server_name", "server_version",...
After confirming all of the following have been taken care of, I think we can stabilized logs. Got these from https://github.com/open-telemetry/opentelemetry-specification/issues/2911 - [x] Confirm LogRecord emit does not overwrite unspecified...
**Describe your environment** python = 3.10.12 fastapi = 0.92.0 uvicorn = 0.20.0 opentelemetry-distro = 0.41b0 **Steps to reproduce** When we log from exception_handler in FastAPI, traceId and spanId is coming...