Skip to content

feat: add experimental view_matching_mode to meter provider#666

Draft
dashpole wants to merge 1 commit into
open-telemetry:mainfrom
dashpole:add-view-matching-mode
Draft

feat: add experimental view_matching_mode to meter provider#666
dashpole wants to merge 1 commit into
open-telemetry:mainfrom
dashpole:add-view-matching-mode

Conversation

@dashpole

Copy link
Copy Markdown
Contributor

Implements composable View matching configuration in support of open-telemetry/opentelemetry-specification#5173.

Adds experimental meter_provider.view_matching_mode/development enum property, with ['independent' default, 'composable'] as values

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds an experimental meter_provider.view_matching_mode/development configuration option to support composable View matching (per spec work), and propagates it through the schema outputs, docs, and language support metadata.

Changes:

  • Add view_matching_mode/development to the MeterProvider schema (enum values: independent, composable) and regenerate JSON schema + docs.
  • Update per-language support metadata to mark the new property as not_implemented.
  • Add a validator shelltest for invalid values and update an example configuration to demonstrate usage.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
validator/shelltests/invalid_view_matching_mode.yaml New negative test input using an invalid view_matching_mode/development value.
validator/shelltests/invalid_view_matching_mode.test Expected validator output for the invalid value case.
schema/meter_provider.yaml Introduces view_matching_mode/development on MeterProvider.
schema/meta_schema_language_php.yaml Marks the new MeterProvider property as not_implemented for PHP.
schema/meta_schema_language_js.yaml Marks the new MeterProvider property as not_implemented for JS.
schema/meta_schema_language_java.yaml Marks the new MeterProvider property as not_implemented for Java.
schema/meta_schema_language_go.yaml Marks the new MeterProvider property as not_implemented for Go.
schema/meta_schema_language_cpp.yaml Marks the new MeterProvider property as not_implemented for C++.
schema-docs.md Documents the new property and its language support status (generated).
opentelemetry_configuration.json Adds the generated JSON schema for the new property.
language-support-status.md Updates generated language support tables to include the new property.
examples/otel-sdk-config.yaml Demonstrates view_matching_mode/development: composable plus views.
CHANGELOG.md Notes the new property in Unreleased.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread schema/meter_provider.yaml
Comment thread opentelemetry_configuration.json Outdated
Comment thread schema-docs.md Outdated
Comment thread schema-docs.md Outdated
Comment thread CHANGELOG.md Outdated
…property

Implements composable View matching configuration in support of open-telemetry/opentelemetry-specification#5173.
- Adds experimental meter_provider.view_matching_mode/development property ('independent' default, 'composable')
- Marks view_matching_mode/development as not_implemented in language support status matrix
- Updates existing otel-sdk-config.yaml example and adds validator shelltest edge case
@dashpole dashpole force-pushed the add-view-matching-mode branch from 5225b23 to 0e8eb3d Compare June 23, 2026 18:51
@dashpole dashpole changed the title feat: add experimental view_matching mode to meter provider feat: add experimental view_matching_mode to meter provider Jun 23, 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