@Endpoint(value="prometheus") @RequiresMetrics @Requires(beans=io.micrometer.prometheus.PrometheusMeterRegistry.class) public class PrometheusEndpoint extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
Constructor and Description |
---|
PrometheusEndpoint(io.micrometer.prometheus.PrometheusMeterRegistry prometheusMeterRegistry)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
scrape()
Scrapes the data.
|
public static final java.lang.String ID