Skip to content

Declarative config 1.0#8123

Merged
jack-berg merged 4 commits intoopen-telemetry:mainfrom
jack-berg:declarative-config-1.0
Mar 5, 2026
Merged

Declarative config 1.0#8123
jack-berg merged 4 commits intoopen-telemetry:mainfrom
jack-berg:declarative-config-1.0

Conversation

@jack-berg
Copy link
Member

Updating to the v1.0.0 of the schema.

@jack-berg jack-berg requested a review from a team as a code owner February 27, 2026 22:02
@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

❌ Patch coverage is 37.50000% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.32%. Comparing base (0ad755b) to head (7300f04).
⚠️ Report is 17 commits behind head on main.

Files with missing lines Patch % Lines
...nfigure/AutoConfiguredOpenTelemetrySdkBuilder.java 60.00% 0 Missing and 2 partials ⚠️
...on/incubator/fileconfig/LoggerProviderFactory.java 0.00% 0 Missing and 1 partial ⚠️
...ion/incubator/fileconfig/MeterProviderFactory.java 0.00% 0 Missing and 1 partial ⚠️
...on/incubator/fileconfig/TracerProviderFactory.java 0.00% 0 Missing and 1 partial ⚠️

❌ Your patch status has failed because the patch coverage (37.50%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8123      +/-   ##
============================================
- Coverage     90.34%   90.32%   -0.02%     
+ Complexity     7647     7645       -2     
============================================
  Files           841      841              
  Lines         23007    23008       +1     
  Branches       2295     2296       +1     
============================================
- Hits          20786    20783       -3     
- Misses         1507     1509       +2     
- Partials        714      716       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

private static Stream<Arguments> exampleFiles() {
File configRepoRoot = new File(System.getenv("CONFIG_REPO_ROOT"));
File examplesDir = new File(configRepoRoot + "/examples/");
File snippetsDir = new File(configRepoRoot + "/snippets/");
Copy link
Member Author

Choose a reason for hiding this comment

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

This is cool. Declarative config split out kitchen-sink.yaml into a directory of small focused snippets. Here I add all the snippets to the set of example config files that we validate against.

Copy link
Contributor

@jkwatson jkwatson left a comment

Choose a reason for hiding this comment

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

Thanks!

@jack-berg jack-berg merged commit eac1e5e into open-telemetry:main Mar 5, 2026
26 of 27 checks passed
antonio-mazzini added a commit to antonio-mazzini/opentelemetry-java that referenced this pull request Mar 5, 2026
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.

2 participants