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

Apply config setting for built-in meter name case to extended KPI meter names #9800

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

Conversation

tjquinno
Copy link
Member

@tjquinno tjquinno commented Feb 13, 2025

Description

Resolves #9791

Release Note


Users can set metrics.built-in-meter-name-format to CAMEL (the default) or SNAKE to control the case of built-in meter names.

Previously, Helidon did not apply this setting to the key performance indicator meters inFlight and longRunning. Now it does.


PR Overview

The configured case setting is now passed as a parameter when KeyPerformanceIndicatorMetricsImpls is instantiated so that class (which registers the relevant KPI metrics) can use the selected case style for the meter names when it registers the meters.

(One of the extended KPI meters also did not have a description. That's been added.)

The PR includes a new test to make sure the config setting has this effect.

Documentation

Bug fix. No doc impact.

@tjquinno tjquinno requested a review from spericas February 13, 2025 23:11
@tjquinno tjquinno self-assigned this Feb 13, 2025
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extended metrics do not change to snake case
1 participant