@Path(value="/metrics") public class MetricsResource extends Object
Constructor and Description |
---|
MetricsResource() |
Modifier and Type | Method and Description |
---|---|
String |
scrapePrometheusRegistry()
The default metrics endpoint.
|
@GET @Produces(value="text/plain") public String scrapePrometheusRegistry()
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.