opentelemetry-python
opentelemetry-python copied to clipboard
OpenTelemetry Python API and SDK
### Describe your environment OS: Ubuntu Python version: 3.11.8 SDK version: opentelemetry-sdk=1.25.0 ### What happened? Described in steps to reproduce ### Steps to Reproduce conftest.py ``` from opentelemetry.sdk.trace import TracerProvider...
# Description Adds missing `requirements.txt` for one example (https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/examples/metrics/instruments). ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) # How Has This Been Tested? ```sh...
### Describe your environment OS: Windows Python version: (e.g., Python 3.8.10) SDK version: (e.g., 1.25.0) API version: (e.g., 1.25.0) ### What happened? ``` ____________ TestPatch.test_install_shim_affects_existing_tracers _____________ self = def test_install_shim_affects_existing_tracers(self):...
# Description When nearing the collection deadline, the remaining time should be accurately passed is timeout to the callbacks. Once the deadline is closer than 10s, the remaining time in...
WIP
Part of https://github.com/open-telemetry/opentelemetry-python/issues/1608 Addressing running mypy on opentelemetry-sdk iteratively so we don't have to make one big change addressing all mypy issues at once.
Adding an open census request integration example using the open census shim.
# Description Fixes issue #2485 Record logger name as the instrumentation scope name Approach: Cache one Logger object per Python logger name in LoggingHandler. The `@lru_cache` annotation on `get_logger` requires...
### Describe your environment OS: (e.g, Ubuntu) Python version: Python 3.7 SDK version: (e.g., 1.25.0) API version: (e.g., 1.25.0) ### What happened? Python version: Python 3.7 LInk to the failed...
**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....