Skip to content

Remove unused Monitors.java class #18877

Merged
abhishekrb19 merged 2 commits intoapache:masterfrom
abhishekrb19:cleanup_monitors_class
Dec 30, 2025
Merged

Remove unused Monitors.java class #18877
abhishekrb19 merged 2 commits intoapache:masterfrom
abhishekrb19:cleanup_monitors_class

Conversation

@abhishekrb19
Copy link
Contributor

Remove Monitors.java and its associated unit test MonitorsTest.java as they are not in use.

The JvmCpuMonitor, JvmMonitor and JvmThreadsMonitor are added explicitly through the monitors config druid.monitoring.monitors.

This PR has:

  • been self-reviewed.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.

Remove Monitors and associated unit test MonitorsTest as they are
not in use.

The JvmCpuMonitor, JvmMonitor and JvmThreadsMonitor are initialized
directly through the monitors config druid.monitoring.monitors.
@abhishekrb19 abhishekrb19 merged commit 2ac8102 into apache:master Dec 30, 2025
77 of 78 checks passed
@abhishekrb19 abhishekrb19 deleted the cleanup_monitors_class branch December 30, 2025 21:16
@kgyrtkirk kgyrtkirk added this to the 36.0.0 milestone Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants