Package io.prometheus.jmx
Class BuildInfoCollector
- java.lang.Object
-
- io.prometheus.client.Collector
-
- io.prometheus.jmx.BuildInfoCollector
-
public class BuildInfoCollector extends io.prometheus.client.Collector
Collects jmx_exporter build version info.Example usage:
Metrics being exported:new BuildInfoCollector().register();jmx_exporter_build_info{version="3.2.0",name="jmx_prometheus_httpserver",} 1.0
-
-
Constructor Summary
Constructors Constructor Description BuildInfoCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<io.prometheus.client.Collector.MetricFamilySamples>collect()
-
-
-
Constructor Detail
-
BuildInfoCollector
public BuildInfoCollector()
-
-