Skip to content

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

Open
aman-panjwani wants to merge 6 commits into
open-telemetry:mainfrom
aman-panjwani:feat/config-bump-schema-v1.1.0
Open

feat(config): bump declarative configuration schema to v1.1.0#5345
aman-panjwani wants to merge 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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Approved PRs

Development

Successfully merging this pull request may close these issues.

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

3 participants