Skip to content

Enhance JDK JVM GC metrics#19013

Draft
jtuglu1 wants to merge 1 commit intoapache:masterfrom
jtuglu1:add-pause-type-dimension-to-jvm-metrics
Draft

Enhance JDK JVM GC metrics#19013
jtuglu1 wants to merge 1 commit intoapache:masterfrom
jtuglu1:add-pause-type-dimension-to-jvm-metrics

Conversation

@jtuglu1
Copy link
Contributor

@jtuglu1 jtuglu1 commented Feb 12, 2026

Description

Ensures the set of metrics in https://netflix.github.io/spectator/en/latest/ext/jvm-gc/#metrics is fully covered by JvmMonitor.

Adds the following new metrics:

Release note


Key changed/added classes in this PR
  • MyFoo
  • OurBar
  • TheirBaz

This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • a release note entry in the PR description.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added or updated version, license, or notice information in licenses.yaml
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
  • added integration tests.
  • been tested in a test Druid cluster.

Comment on lines +114 to +115
@SuppressWarnings("unused")
byte[] b = new byte[1024 * 1024 * 50];

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'byte[] b' is never read.
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.

1 participant