public class CustomPrometheusCollector
extends io.prometheus.client.Collector
Constructor and Description |
---|
CustomPrometheusCollector(java.lang.String name,
java.lang.Iterable<Tag> tags,
io.prometheus.client.Collector.Type type) |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.prometheus.internal.CustomPrometheusCollector.Child |
child(java.lang.Iterable<Tag> tags,
java.lang.Iterable<Measurement> measurements) |
java.util.List<io.prometheus.client.Collector.MetricFamilySamples> |
collect() |
public CustomPrometheusCollector(java.lang.String name, java.lang.Iterable<Tag> tags, io.prometheus.client.Collector.Type type)
public io.micrometer.core.instrument.prometheus.internal.CustomPrometheusCollector.Child child(java.lang.Iterable<Tag> tags, java.lang.Iterable<Measurement> measurements)
public java.util.List<io.prometheus.client.Collector.MetricFamilySamples> collect()
collect
in class io.prometheus.client.Collector