public class PrometheusExporterHttpHandler extends Object implements io.undertow.server.HttpHandler
| Constructor and Description |
|---|
PrometheusExporterHttpHandler(List<Config.PrometheusScrapeRule> rules,
Config.OptionsConfig options) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleGetMetrics(io.undertow.server.HttpServerExchange exchange) |
void |
handleRequest(io.undertow.server.HttpServerExchange exchange) |
public PrometheusExporterHttpHandler(List<Config.PrometheusScrapeRule> rules, Config.OptionsConfig options)
public void handleGetMetrics(io.undertow.server.HttpServerExchange exchange)
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionCopyright © 2020. All rights reserved.