public class PulsarPrometheusMetricsServlet extends PrometheusMetricsServlet
metricsProviders| Constructor and Description |
|---|
PulsarPrometheusMetricsServlet(PulsarService pulsar,
boolean includeTopicMetrics,
boolean includeConsumerMetrics,
boolean shouldExportProducerMetrics,
boolean splitTopicAndPartitionLabel) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateMetrics(String cluster,
javax.servlet.ServletOutputStream outputStream) |
addRawMetricsProvider, destroy, doGet, initdoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic PulsarPrometheusMetricsServlet(PulsarService pulsar, boolean includeTopicMetrics, boolean includeConsumerMetrics, boolean shouldExportProducerMetrics, boolean splitTopicAndPartitionLabel)
protected void generateMetrics(String cluster, javax.servlet.ServletOutputStream outputStream) throws IOException
generateMetrics in class PrometheusMetricsServletIOExceptionCopyright © 2017–2022 Apache Software Foundation. All rights reserved.