Skip to content

Conversation

Captain1653
Copy link
Contributor

Description

I've found unused code in MMeterRegistry:

  • package private overloaded method create
  • private method ensurePrometheusRegistryIsPresent
  • private class ClockWrapper

It can be safely removed without breaking compatibility.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 21, 2025
@barchetta barchetta requested a review from tjquinno June 23, 2025 20:59
@Captain1653 Captain1653 force-pushed the mmeter-registry-unused-code branch from 7e404cd to 13c1da4 Compare June 26, 2025 06:21
@tjquinno
Copy link
Member

Let's not proceed with this PR right away.

I'm concerned particularly that ensurePrometheusRegistryIsPresent would not be used from anywhere, and I want a chance to look into that.

@Captain1653
Copy link
Contributor Author

Sure, no problem.

I or you can convert this PR to draft if it's necessary.

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.

2 participants