public class PrometheusMetricsGenerator extends Object
https://prometheus.io/docs/instrumenting/exposition_formats/| Constructor and Description |
|---|
PrometheusMetricsGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
generate(PulsarService pulsar,
boolean includeTopicMetrics,
boolean includeConsumerMetrics,
boolean includeProducerMetrics,
boolean splitTopicAndPartitionIndexLabel,
OutputStream out) |
static void |
generate(PulsarService pulsar,
boolean includeTopicMetrics,
boolean includeConsumerMetrics,
boolean includeProducerMetrics,
boolean splitTopicAndPartitionIndexLabel,
OutputStream out,
List<PrometheusRawMetricsProvider> metricsProviders) |
static void |
generate(PulsarService pulsar,
boolean includeTopicMetrics,
boolean includeConsumerMetrics,
boolean includeProducerMetrics,
OutputStream out) |
public static void generate(PulsarService pulsar, boolean includeTopicMetrics, boolean includeConsumerMetrics, boolean includeProducerMetrics, OutputStream out) throws IOException
IOExceptionpublic static void generate(PulsarService pulsar, boolean includeTopicMetrics, boolean includeConsumerMetrics, boolean includeProducerMetrics, boolean splitTopicAndPartitionIndexLabel, OutputStream out) throws IOException
IOExceptionpublic static void generate(PulsarService pulsar, boolean includeTopicMetrics, boolean includeConsumerMetrics, boolean includeProducerMetrics, boolean splitTopicAndPartitionIndexLabel, OutputStream out, List<PrometheusRawMetricsProvider> metricsProviders) throws IOException
IOExceptionCopyright © 2017–2022 Apache Software Foundation. All rights reserved.