![JAR search and dependency download from the Maven repository](/logo.png)
io.prometheus.client.hotspot.BufferPoolsExports Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simpleclient_hotspot Show documentation
Show all versions of simpleclient_hotspot Show documentation
Collectors of data from Java Hotspot.
package io.prometheus.client.hotspot;
import io.prometheus.client.Collector;
import io.prometheus.client.GaugeMetricFamily;
import java.lang.management.ManagementFactory;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.logging.Logger;
/**
* Exports metrics about JVM buffers.
*
* Can be replaced with a simple access once JDK 1.7 compatibility is baseline.
*
*/
public class BufferPoolsExports extends Collector {
private static final Logger LOGGER = Logger.getLogger(BufferPoolsExports.class.getName());
private final List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy