Skip to content

use file_format: '1.0' now that declarative config is GA#2799

Merged
laurit merged 5 commits into
open-telemetry:mainfrom
SylvainJuge:dc-file-format
Apr 29, 2026
Merged

use file_format: '1.0' now that declarative config is GA#2799
laurit merged 5 commits into
open-telemetry:mainfrom
SylvainJuge:dc-file-format

Conversation

@SylvainJuge
Copy link
Copy Markdown
Contributor

Declarative configuration is now GA with version 1.0.

We have plenty of references to the release-candidates versions in examples and in tests, to avoid any confusion this PR replaces those with 1.0.

Copilot AI review requested due to automatic review settings April 29, 2026 08:08
@SylvainJuge SylvainJuge requested a review from a team as a code owner April 29, 2026 08:08
@SylvainJuge SylvainJuge self-assigned this Apr 29, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates declarative configuration examples/tests across contrib modules to use the GA declarative config file_format: 1.0 instead of release-candidate versions, reducing confusion and aligning samples with the stabilized config format.

Changes:

  • Replaced file_format: 1.0-rc.* with file_format: 1.0 in multiple Java end-to-end declarative config tests.
  • Updated README YAML snippets to show file_format: 1.0.
  • Updated declarative-config YAML test resources to use "1.0" where applicable.

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
span-stacktrace/src/test/java/io/opentelemetry/contrib/stacktrace/StackTraceComponentProviderTest.java Updates test YAML file_format to GA 1.0.
span-stacktrace/README.md Updates example YAML file_format to GA 1.0.
samplers/src/test/java/io/opentelemetry/contrib/sampler/internal/RuleBasedRoutingSamplerComponentProviderTest.java Updates test YAML file_format to GA 1.0.
processors/src/test/java/io/opentelemetry/contrib/eventbridge/internal/EventToSpanBridgeComponentProviderTest.java Updates test YAML file_format to GA 1.0.
maven-extension/src/test/resources/declarative-config.yaml Updates resource YAML file_format to "1.0".
inferred-spans/src/test/java/io/opentelemetry/contrib/inferredspans/InferredSpansSpanProcessorProviderTest.java Updates test YAML file_format to GA 1.0 (two cases).
inferred-spans/README.md Updates example YAML file_format to GA 1.0.
cloudfoundry-resources/src/test/resources/declarative-config.yaml Updates resource YAML file_format to "1.0".
cel-sampler/src/test/resources/cel-sampler-config.yaml Updates resource YAML file_format to 1.0 (but schema URL still RC; see comments).
baggage-processor/src/test/java/io/opentelemetry/contrib/baggage/processor/BaggageSpanComponentProviderTest.java Updates test YAML file_format to GA 1.0.
baggage-processor/src/test/java/io/opentelemetry/contrib/baggage/processor/BaggageLogRecordComponentProviderTest.java Updates test YAML file_format to GA 1.0.
baggage-processor/README.md Updates example YAML file_format to GA 1.0 (two snippets).
azure-resources/src/test/resources/declarative-config.yaml Updates resource YAML file_format to "1.0".
aws-xray-propagator/src/test/java/io/opentelemetry/contrib/awsxray/propagator/internal/AwsComponentProviderTest.java Updates test YAML file_format to GA 1.0.
aws-resources/src/test/resources/declarative-config.yaml Updates resource YAML file_format to "1.0".

Comment thread cel-sampler/src/test/resources/cel-sampler-config.yaml Outdated
Comment thread cel-sampler/src/test/resources/cel-sampler-config.yaml Outdated
@laurit laurit added this pull request to the merge queue Apr 29, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 29, 2026
@laurit laurit added this pull request to the merge queue Apr 29, 2026
Merged via the queue into open-telemetry:main with commit a3fec22 Apr 29, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants