Skip to content

[FLINK-40291][metrics] Fix instrumentation scope hardcoded - #28876

Open
charlesdong1991 wants to merge 2 commits into
apache:masterfrom
charlesdong1991:fix-hardcoded-instrumentation-scope
Open

[FLINK-40291][metrics] Fix instrumentation scope hardcoded#28876
charlesdong1991 wants to merge 2 commits into
apache:masterfrom
charlesdong1991:fix-hardcoded-instrumentation-scope

Conversation

@charlesdong1991

Copy link
Copy Markdown
Contributor

What is the purpose of the change

This scope name is emitted as the scope.name field on every OTel ScopeMetrics envelope produced by the reporter. It does not reference Flink at all, which is confusing for operators inspecting exported data and for anyone configuring OTel Collector processors/filters that match on instrumentation scope name.

Brief change log

  • Derive the OTel instrumentation scope name from the module's own package
  • Update relevant test

Verifying this change

This change added tests and can be verified as follows:

  • Update relevant test

@charlesdong1991 charlesdong1991 changed the title [FLINK-40291][metrics-otel] Fix instrumentation scope hardcoded [FLINK-40291][metrics] Fix instrumentation scope hardcoded Aug 2, 2026
@flinkbot

flinkbot commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

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