public class PrometheusHandler extends Object implements Route.Handler
{
use(new Micrometer()
.prometheus(PrometheusMeterRegistry::new)
);
get("/metrics", new PrometheusHandler());
}
| Constructor and Description |
|---|
PrometheusHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(Request req,
Response rsp) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleCopyright © 2019. All rights reserved.