Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling the Instrument Name Validation under a new feature flag #2543

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

anujnegi270
Copy link

A fix for the feature [Feature]: A Dev Feature for Naming Convention used in Windows Performance Counters · Issue #2527 · open-telemetry/opentelemetry-rust and a related issue .

Fixes #
This fix is done under a feature flag experimental_metrics_disable_name_validation, where all types of instrument name are acceptable except empty names and names exceeding the length limit.

Changes

Defining the validation check function under the feature flag to bypass and return Ok().

Merge requirement checklist

  • [✔️] CONTRIBUTING guidelines followed
  • [✔️] Unit tests added/updated (if applicable)
  • Appropriate CHANGELOG.md files updated for non-trivial, user-facing changes
  • Changes in public API reviewed (if applicable)

@anujnegi270 anujnegi270 requested a review from a team as a code owner January 23, 2025 23:42
Copy link

linux-foundation-easycla bot commented Jan 23, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: cijothomas / name: Cijo Thomas (7c9f561)
  • ✅ login: anujnegi270 (1149685)

@anujnegi270 anujnegi270 changed the title Disabling all type of name checks except empty names and exceeding le… Disabling the Instrument Name Validation under a new feature flag Jan 23, 2025
@anujnegi270 anujnegi270 marked this pull request as draft January 23, 2025 23:48
@anujnegi270 anujnegi270 marked this pull request as ready for review January 23, 2025 23:52
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