Package io.prometheus.jmx
Class JmxCollector
java.lang.Object
io.prometheus.jmx.JmxCollector
- All Implemented Interfaces:
io.prometheus.metrics.model.registry.MultiCollector
public class JmxCollector
extends Object
implements io.prometheus.metrics.model.registry.MultiCollector
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionJmxCollector
(File in) JmxCollector
(File in, JmxCollector.Mode mode) JmxCollector
(InputStream inputStream) JmxCollector
(String yamlConfig) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.prometheus.metrics.model.registry.MultiCollector
collect, collect, collect, getPrometheusNames
-
Constructor Details
-
JmxCollector
-
JmxCollector
public JmxCollector(File in, JmxCollector.Mode mode) throws IOException, MalformedObjectNameException -
JmxCollector
- Throws:
MalformedObjectNameException
-
JmxCollector
- Throws:
MalformedObjectNameException
-
-
Method Details
-
register
-
register
public JmxCollector register(io.prometheus.metrics.model.registry.PrometheusRegistry prometheusRegistry) -
collect
- Specified by:
collect
in interfaceio.prometheus.metrics.model.registry.MultiCollector
-