Back to Opentelemetry Python

SDK Declarative Configuration

opentelemetry-configuration/src/opentelemetry/configuration/README.md

1.44.01.7 KB
Original Source

SDK Declarative Configuration

This package implements OpenTelemetry file-based configuration.

Files

Spec conformance

Which fields of the configuration schema the Python SDK actually applies at runtime is tracked in the shared language support status matrix in the opentelemetry-configuration repository. The Python column is the source of truth; update schema/meta_schema_language_python.yaml there when wiring lands or changes, and the matrix regenerates.

Updating the schema

  1. Pick the desired release tag from the opentelemetry-configuration releases and overwrite opentelemetry-configuration/src/opentelemetry/configuration/schema.json with the opentelemetry_configuration.json published on that release.

  2. Regenerate models.py:

    sh
    tox -e generate-config-from-jsonschema
    
  3. Update any version string references in tests and source:

    sh
    grep -r "OLD_VERSION" opentelemetry-configuration/