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 unwrap support to metrics builders #8588

Merged
merged 3 commits into from Apr 1, 2024

Conversation

tjquinno
Copy link
Member

@tjquinno tjquinno commented Mar 29, 2024

Description

Resolves #8586

The builders of the various meter types now support unwrap.

The Micrometer-based implementations all have delegates to the corresponding Micrometer builders, so the builder unwrap method simply casts delegate to the caller-specified type.

The no-op builder implementation casts this since the no-op builders have no delegate builders.

The PR also includes minor updates to tests to invoke the builders' unwrap method and invoke a method on the underlying implementation's builder.

Documentation

Doc update included in the PR.

Signed-off-by: Tim Quinn <tim.quinn@oracle.com>
@tjquinno tjquinno self-assigned this Mar 29, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Mar 29, 2024
Copy link
Member

@spericas spericas left a comment

Choose a reason for hiding this comment

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

LGTM

@tjquinno tjquinno merged commit 3373b2b into helidon-io:main Apr 1, 2024
12 checks passed
@tjquinno tjquinno deleted the 4.x-metrics-unwrap branch April 1, 2024 16:52
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.

Expose unwrap on Helidon metrics API builder types
2 participants