@PublicEvolving public abstract class ScheduledDropwizardReporter extends Object implements org.apache.flink.metrics.reporter.MetricReporter, org.apache.flink.metrics.reporter.Scheduled, com.codahale.metrics.Reporter, org.apache.flink.metrics.CharacterFilter
MetricReporter that wraps a Dropwizard
Reporter.| Modifier and Type | Field and Description |
|---|---|
static String |
ARG_CONVERSION_DURATION |
static String |
ARG_CONVERSION_RATE |
static String |
ARG_HOST |
static String |
ARG_PORT |
static String |
ARG_PREFIX |
protected org.slf4j.Logger |
log |
protected com.codahale.metrics.MetricRegistry |
registry |
protected com.codahale.metrics.ScheduledReporter |
reporter |
| Modifier | Constructor and Description |
|---|---|
protected |
ScheduledDropwizardReporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
filterCharacters(String metricName) |
abstract com.codahale.metrics.ScheduledReporter |
getReporter(org.apache.flink.metrics.MetricConfig config) |
void |
notifyOfAddedMetric(org.apache.flink.metrics.Metric metric,
String metricName,
org.apache.flink.metrics.MetricGroup group) |
void |
notifyOfRemovedMetric(org.apache.flink.metrics.Metric metric,
String metricName,
org.apache.flink.metrics.MetricGroup group) |
void |
open(org.apache.flink.metrics.MetricConfig config) |
void |
report() |
protected final org.slf4j.Logger log
public static final String ARG_HOST
public static final String ARG_PORT
public static final String ARG_PREFIX
public static final String ARG_CONVERSION_RATE
public static final String ARG_CONVERSION_DURATION
protected final com.codahale.metrics.MetricRegistry registry
protected com.codahale.metrics.ScheduledReporter reporter
public void open(org.apache.flink.metrics.MetricConfig config)
open in interface org.apache.flink.metrics.reporter.MetricReporterpublic void close()
close in interface org.apache.flink.metrics.reporter.MetricReporterpublic void notifyOfAddedMetric(org.apache.flink.metrics.Metric metric,
String metricName,
org.apache.flink.metrics.MetricGroup group)
notifyOfAddedMetric in interface org.apache.flink.metrics.reporter.MetricReporterpublic void notifyOfRemovedMetric(org.apache.flink.metrics.Metric metric,
String metricName,
org.apache.flink.metrics.MetricGroup group)
notifyOfRemovedMetric in interface org.apache.flink.metrics.reporter.MetricReporterpublic String filterCharacters(String metricName)
filterCharacters in interface org.apache.flink.metrics.CharacterFilterpublic void report()
report in interface org.apache.flink.metrics.reporter.Scheduledpublic abstract com.codahale.metrics.ScheduledReporter getReporter(org.apache.flink.metrics.MetricConfig config)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.