Skip to content

[pkg/config/configmiddleware] Migrate middleware config to schema based#15440

Merged
dmitryax merged 4 commits into
open-telemetry:mainfrom
jkoronaAtCisco:schema_based_configmiddlewarew
Jun 22, 2026
Merged

[pkg/config/configmiddleware] Migrate middleware config to schema based#15440
dmitryax merged 4 commits into
open-telemetry:mainfrom
jkoronaAtCisco:schema_based_configmiddlewarew

Conversation

@jkoronaAtCisco

Copy link
Copy Markdown
Contributor

Description

Use metadata.yaml schema to generate go code and json schema for middleware config.

@jkoronaAtCisco
jkoronaAtCisco requested a review from a team as a code owner June 15, 2026 15:03
@jkoronaAtCisco
jkoronaAtCisco requested a review from dmitryax June 15, 2026 15:03
@codecov

codecov Bot commented Jun 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.79%. Comparing base (d04d642) to head (209c799).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #15440   +/-   ##
=======================================
  Coverage   90.79%   90.79%           
=======================================
  Files         719      719           
  Lines       47168    47168           
=======================================
  Hits        42825    42825           
  Misses       3085     3085           
  Partials     1258     1258           

☔ View full report in Codecov by Harness.
📢 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.


package configmiddleware

// No supported validation rules found in the schema, no tests generated.

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.

Let's not generate this file if no tests needed. Can be fixed in a separate PR

@dmitryax
dmitryax added this pull request to the merge queue Jun 22, 2026
Merged via the queue into open-telemetry:main with commit f3bace0 Jun 22, 2026
69 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.

2 participants