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

Add test to Validate if duplicate metrics are intentional #26687

Merged
merged 4 commits into from
Nov 14, 2023

Conversation

mackjmr
Copy link
Member

@mackjmr mackjmr commented Sep 14, 2023

Description:
This test alerts a user if a metric is duplicated across receivers, and instructs the user to add said metric to an allow list if this is intentional.

If semantic conventions on the duplicate metric exist, validating is a matter of ensuring they both fulfill semantic intent. For validating duplicate metrics for which there is no semantic conventions, additional discussion is needed with the semantic conventions WG as mentioned in the issue. For the time being, it will be best judgment.

Link to tracking Issue: #26499

Issue: open-telemetry#26499

If semantic conventions on the duplicate metric exist, validating is a matter of ensuring they both fulfill semantic intent. For Validating duplicate metrics for which there is no semantic conventions, additional discussion is needed with the semantic conventions WG as mentioned in the issue. For the time being, it will be best judgment.
@mackjmr mackjmr requested a review from a team September 14, 2023 15:09
@github-actions github-actions bot added the cmd/mdatagen mdatagen command label Sep 14, 2023
@songy23 songy23 added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Sep 14, 2023
Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Sep 30, 2023
@mackjmr
Copy link
Member Author

mackjmr commented Oct 10, 2023

cc @dmitryax can you please take a look ?

@github-actions github-actions bot removed the Stale label Oct 11, 2023
cmd/mdatagen/validate_test.go Outdated Show resolved Hide resolved
cmd/mdatagen/validate_test.go Outdated Show resolved Hide resolved
@mackjmr
Copy link
Member Author

mackjmr commented Oct 30, 2023

cc @dmitryax bumping this one again, let me know if you have any concerns with adding this ?

Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Nov 14, 2023
@dmitryax dmitryax merged commit 9de22ef into open-telemetry:main Nov 14, 2023
83 checks passed
@github-actions github-actions bot added this to the next release milestone Nov 14, 2023
RoryCrispin pushed a commit to ClickHouse/opentelemetry-collector-contrib that referenced this pull request Nov 24, 2023
…etry#26687)

**Description:**
This test alerts a user if a metric is duplicated across receivers, and
instructs the user to add said metric to an allow list if this is
intentional.

If semantic conventions on the duplicate metric exist, validating is a
matter of ensuring they both fulfill semantic intent. For validating
duplicate metrics for which there is no semantic conventions, additional
discussion is needed with the semantic conventions WG as mentioned in
the issue. For the time being, it will be best judgment.

**Link to tracking Issue:** open-telemetry#26499
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd/mdatagen mdatagen command Skip Changelog PRs that do not require a CHANGELOG.md entry Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants