@LoadLevel(name="Prometheus",
order=1)
public class PrometheusExporter
extends io.prometheus.client.Collector
implements io.prometheus.client.Collector.Describable, Exporter
| 构造器和说明 |
|---|
PrometheusExporter() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
List<io.prometheus.client.Collector.MetricFamilySamples> |
collect() |
List<io.prometheus.client.Collector.MetricFamilySamples> |
describe() |
void |
setRegistry(Registry registry) |
public PrometheusExporter()
throws IOException
IOExceptionpublic void setRegistry(Registry registry)
setRegistry 在接口中 Exporterpublic List<io.prometheus.client.Collector.MetricFamilySamples> collect()
collect 在类中 io.prometheus.client.Collectorpublic List<io.prometheus.client.Collector.MetricFamilySamples> describe()
describe 在接口中 io.prometheus.client.Collector.Describablepublic void close()
close 在接口中 Closeableclose 在接口中 AutoCloseableCopyright © 2019 Seata. All rights reserved.