ScrapeOutput<Config.PrometheusScrapeRule>public class PrometheusScrapeOutput extends Object implements ScrapeOutput<Config.PrometheusScrapeRule>
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
PrometheusScrapeOutput.PrometheusMetricOutput |
| Modifier and Type | Field | Description |
|---|---|---|
static net.thisptr.jackson.jq.JsonQuery |
DEFAULT_TRANSFORM |
| Constructor | Description |
|---|---|
PrometheusScrapeOutput(net.thisptr.jackson.jq.Scope scope,
PrometheusScrapeOutput.PrometheusMetricOutput output) |
|
PrometheusScrapeOutput(net.thisptr.jackson.jq.Scope scope,
PrometheusScrapeOutput.PrometheusMetricOutput output,
Consumer<com.fasterxml.jackson.databind.JsonNode> debugOutput) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
emit(Config.PrometheusScrapeRule rule,
long timestamp,
com.fasterxml.jackson.databind.JsonNode mbeanAttributeNode) |
public static final net.thisptr.jackson.jq.JsonQuery DEFAULT_TRANSFORM
public PrometheusScrapeOutput(net.thisptr.jackson.jq.Scope scope,
PrometheusScrapeOutput.PrometheusMetricOutput output)
public PrometheusScrapeOutput(net.thisptr.jackson.jq.Scope scope,
PrometheusScrapeOutput.PrometheusMetricOutput output,
Consumer<com.fasterxml.jackson.databind.JsonNode> debugOutput)
public void emit(Config.PrometheusScrapeRule rule, long timestamp, com.fasterxml.jackson.databind.JsonNode mbeanAttributeNode)
emit in interface ScrapeOutput<Config.PrometheusScrapeRule>Copyright © 2018. All rights reserved.