Skip to content

feat(config): bump declarative configuration schema to v1.1.0#5345

Merged
xrmx merged 6 commits into
open-telemetry:mainfrom
aman-panjwani:feat/config-bump-schema-v1.1.0
Jun 25, 2026
Merged

feat(config): bump declarative configuration schema to v1.1.0#5345
xrmx merged 6 commits into
open-telemetry:mainfrom
aman-panjwani:feat/config-bump-schema-v1.1.0

Conversation

@aman-panjwani

@aman-panjwani aman-panjwani commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Description

Bumps the bundled JSON schema from v1.0 to v1.1.0 and updates the Python SDK to match.
Fixes #5333

Changes

  • Updated schema.json to v1.1.0
  • Regenerated models.py via tox -e generate-config-from-jsonschema
  • Applied Prometheus field renames in _meter_provider.py:
    • without_target_info_developmenttarget_info_enabled_development (with logic flip + None handling)
    • without_scope_infoscope_info_enabled
    • with_resource_constant_labelsresource_constant_labels
  • Picked up new optional fields from v1.1.0:
  • Updated tests to match new field names

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Regenerated models.py via tox -e generate-config-from-jsonschema
  • Ran tox -e opentelemetry-sdk — all tests passing
  • Ran tox -e ruff — linter and formatter passing

Does This PR Require a Contrib Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation` has been updated

@aman-panjwani
aman-panjwani requested a review from a team as a code owner June 23, 2026 15:53
@linux-foundation-easycla

linux-foundation-easycla Bot commented Jun 23, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

@MikeGoldsmith MikeGoldsmith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @aman-panjwani - just need to remove the duplicate changelog file 👍🏻

Comment thread .changelog/PRNUMBER.changed Outdated
@MikeGoldsmith MikeGoldsmith moved this to Approved PRs in Python PR digest Jun 24, 2026
@MikeGoldsmith MikeGoldsmith moved this from Approved PRs to Ready for merge in Python PR digest Jun 25, 2026
@github-project-automation github-project-automation Bot moved this from Ready for merge to Approved PRs in Python PR digest Jun 25, 2026
@xrmx

xrmx commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

LGTM, I think we should write somewhere in the doc the version of the schema we support since people writing configs need to know.

@aman-panjwani

Copy link
Copy Markdown
Contributor Author

Thanks @xrmx! Good point - I'll open a follow-up issue to track adding the supported schema version to the docs so it doesn't block this merge. Happy to work on that as well!

@MikeGoldsmith

Copy link
Copy Markdown
Member

Actually, we already have a PR open to add a compatibility matrix, which would include what version of the config spec the SDK works with. I think we can merge this PR and let that PR handle the versioning note 👍🏻

@xrmx
xrmx added this pull request to the merge queue Jun 25, 2026
Merged via the queue into open-telemetry:main with commit 0e54233 Jun 25, 2026
521 checks passed
@github-project-automation github-project-automation Bot moved this from Approved PRs to Done in Python PR digest Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

feat(config): bump declarative configuration schema to v1.1.0

4 participants