rpuch commented on code in PR #3720:
URL: https://github.com/apache/ignite-3/pull/3720#discussion_r1599755867
##########
modules/metrics/src/main/java/org/apache/ignite/internal/metrics/sources/JvmMetricSource.java:
##########
@@ -117,11 +127,36 @@ public String name() {
() -> nonHeapMemoryUsage.get().getMax()
));
+ for (GarbageCollectorMXBean gcMxBean : gcMxBeans) {
+ metrics.put(
+ "gc." + nameForMetricName(gcMxBean) + ".CollectionCount",
+ new LongGauge(
+ "gc." + nameForMetricName(gcMxBean) +
".CollectionCount",
+ "Total number of collections that have occurred.
-1 if the collection count is undefined for this collector.",
+ gcMxBean::getCollectionCount
+ )
+ );
+
+ metrics.put(
+ "gc." + nameForMetricName(gcMxBean) + ".CollectionTime",
Review Comment:
This method got removed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]