opentelemetry-python
opentelemetry-python copied to clipboard
OpenTelemetry Python API and SDK
# 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....
# 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....
Using these python modules: ``` opentelemetry-instrumentation-fastapi==0.39b0 opentelemetry-api==1.18.0 opentelemetry-sdk==1.18.0 opentelemetry-exporter-otlp==1.18.0 opentelemetry-exporter-otlp-proto-grpc==1.18.0 opentelemetry-exporter-otlp-proto-http==1.18.0 opentelemetry-instrumentation==0.39b0 opentelemetry-proto==1.18.0 opentelemetry-semantic-conventions==0.39b0 opentelemetry-util-http==0.39b0 opentelemetry-instrumentation-logging==0.39b0 ``` I have the following code snippet: ``` console_log_exporter = ConsoleLogExporter() logger_provider = LoggerProvider(...
I am trying to get to work traces, metrics and logs via [AWS Distro for OpenTelemetry Collector (ADOT Collector)](https://github.com/aws-observability/aws-otel-collector), using the following Lambda Layer: arn:aws:lambda:us-east-1:901920570463:layer:aws-otel-python-amd64-ver-1-20-0:3 and Python 3.8. My understanding...
I can print out the trace_id using the default logging, but I can't do it with loguru. Is there a way to make loguru also print out the trace_id? ...
**Describe your environment** ```bash $ pip freeze Deprecated==1.2.14 importlib-metadata==6.11.0 opentelemetry-api==1.22.0 opentelemetry-sdk==1.22.0 opentelemetry-semantic-conventions==0.43b0 typing_extensions==4.9.0 wrapt==1.16.0 zipp==3.17.0 $ python --version Python 3.10.10 ``` **Steps to reproduce** ```python import logging.config from opentelemetry.sdk._logs import...
AFAICT `max_export_batch_size` introduced in https://github.com/open-telemetry/opentelemetry-python/pull/2809 cannot be set as an environment variable.
This commit introduces a warning message in the OTLP GRPC Exporter when there is a mismatch between the configured endpoint and the provided endpoint. This change aims to prevent silent...
# Description Was missing loglevel (which is present in the actual config file in the directory), causing example to produce no output.
Following the steps here https://opentelemetry.io/docs/instrumentation/python/automatic/example/#execute-the-automatically-instrumented-server Run server first ``` opentelemetry-instrument --traces_exporter console --metrics_exporter none python server_automatic.py ``` Then run client ```console python client.py testing { "name": "client-server", "context": { "trace_id":...