This release is a pre-release and may not be stable for production use.
OpenTelemetry Python SDK Declarative Configuration
This package implements the OpenTelemetry declarative configuration specification for the Python SDK. It parses a YAML or JSON configuration file (or programmatically-constructed configuration model) into typed dataclasses and applies the result to the global SDK providers.
The standard activation path is the OTEL_CONFIG_FILE environment variable, which the SDK’s configurator picks up automatically. Set the variable and run your app under opentelemetry-instrument; no code change is required.
For programmatic use:
from opentelemetry.configuration import configure_sdk, load_config_file
config = load_config_file("otel-config.yaml")
configure_sdk(config)
Installation
pip install opentelemetry-configuration
References
Release files for opentelemetry-configuration 0.66b0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opentelemetry_configuration-0.66b0.tar.gz | 75.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opentelemetry_configuration-0.66b0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 130.3 kB
Release files / opentelemetry_configuration-0.66b0.tar.gz
| Download URL | opentelemetry_configuration-0.66b0.tar.gz |
|---|---|
| Size | 75.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19cea2e51b6a1b3923dd1d521fd24403098404ebd127cb3fd666ceb86eefb3e7
|
|
BLAKE2b-256 checksum How to use checksums |
b5e3217fdf6526449c3b1507991e9a137e546e3f88f24f8afbf62ba939a7b0a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|
Release files / opentelemetry_configuration-0.66b0-py3-none-any.whl
| Download URL | opentelemetry_configuration-0.66b0-py3-none-any.whl |
|---|---|
| Size | 55.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fafae99a07e61aafe36e7117dd0625a57443d490feed32c734b7188ece6cccf3
|
|
BLAKE2b-256 checksum How to use checksums |
8f9dbf35c3f9bc866bace35de0ed73181c7ea846b42b2bc07f0ca2cda112e9fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|