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

Make SE metrics default scope application instead of nothing #7666

Merged
merged 7 commits into from
Sep 26, 2023

Conversation

tjquinno
Copy link
Member

@tjquinno tjquinno commented Sep 25, 2023

Description

Resolves #7658

Originally, the neutral Helidon metrics API (SE) assigned no default scope to new meters unless the developer set the default scope to a value. This PR changes that so the "default default" scope is application instead of nothing.

Developers can still assign any specific scope to an individual meter when registering it and can also assign a different default scope (or clear the "default default" scope) using the ScopingConfig within MetricsConfig.

Documentation

Doc impact: will be included in the metrics doc rewrite #7381

@tjquinno tjquinno requested a review from barchetta September 25, 2023 22:06
@tjquinno tjquinno self-assigned this Sep 25, 2023
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 25, 2023
…defaulted to application for a meter that the test checks for
Copy link
Member

@barchetta barchetta left a comment

Choose a reason for hiding this comment

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

Can you also enable the disabled tests in the examples in examples/metrics ?

@barchetta barchetta added 4.x Version 4.x metrics labels Sep 26, 2023
@tjquinno tjquinno merged commit af48313 into helidon-io:main Sep 26, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x metrics OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4.x SE meters should have default scope of application instead of no scope
2 participants