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