opentelemetry-python
opentelemetry-python copied to clipboard
OpenTelemetry Python API and SDK
**Describe your environment** Python version: 3.10 **Steps to reproduce** - Initialize an instance of the SimpleLogRecordProcessor class. - Execute an action that call the shutdown method on the processor instance....
Hey folks :) I've been eyeballing this project and the otel specification for months, since sooner or later we want to replace our own telemetry sdks (build on tools like...
Python 3.10.12 opentelemetry-api 1.24.0 opentelemetry-instrumentation-flask 0.45b0 azure-monitor-opentelemetry 1.4.1 My code is similar to the one displayed in [this example](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-opentelemetry/samples/tracing/http_flask.py). I have initialized OTEL_LOGS_EXPORTER=None. On setting the above variable as None,...
**Describe your environment** Using v1.23.0, configured OTLP HTTP exporter for logs **Steps to reproduce** Running a sample code that roughly looks like https://github.com/open-telemetry/opentelemetry-python/blob/main/docs/examples/logs/example.py **What is the expected behavior?** When there...
Python root logger has default level `warning`. With the current example, `info` and `debug` log will get filtered out we should have additional line such as `logging.getLogger().setLevel(logging.NOTSET)`, so that all...
# Description set the trace and span id fields to None for the returned log record in _encode_log if the corresponding ids are invalid. Fixed the test case accordingly. Fixes...
# Description Fixes #3695 (issue) ## Type of change Please delete options that are not relevant. - [ ] Bug fix (non-breaking change which fixes an issue) - [ ]...
### Describe your environment OS: (e.g, Ubuntu) Python version: (e.g., Python 3.8.10) SDK version: (e.g., 1.25.0) API version: (e.g., 1.25.0) ### What happened? Same as https://github.com/open-telemetry/opentelemetry-python/issues/3695 but with `get_tracer` ###...