@LoadLevel(name="prometheus",
order=1)
public class PrometheusExporter
extends io.prometheus.client.Collector
implements io.prometheus.client.Collector.Describable, Exporter
| Constructor and Description |
|---|
PrometheusExporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
List<io.prometheus.client.Collector.MetricFamilySamples> |
collect() |
List<io.prometheus.client.Collector.MetricFamilySamples> |
describe() |
static io.prometheus.client.Collector.Type |
getUnknownType()
Compatible with high and low versions of 'io.prometheus:simpleclient'
|
void |
setRegistry(Registry registry) |
public PrometheusExporter()
throws IOException
IOExceptionpublic void setRegistry(Registry registry)
setRegistry in interface Exporterpublic List<io.prometheus.client.Collector.MetricFamilySamples> collect()
collect in class io.prometheus.client.Collectorpublic static io.prometheus.client.Collector.Type getUnknownType()
public List<io.prometheus.client.Collector.MetricFamilySamples> describe()
describe in interface io.prometheus.client.Collector.Describablepublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2023 Seata. All rights reserved.