public class ConsoleStormReporter extends ScheduledStormReporter implements DimensionalReporter.DimensionHandler
reporter, reportingPeriod, reportingPeriodUnit
REPORT_DIMENSIONS_ENABLED, REPORT_PERIOD, REPORT_PERIOD_UNITS
Constructor and Description |
---|
ConsoleStormReporter() |
Modifier and Type | Method and Description |
---|---|
void |
prepare(com.codahale.metrics.MetricRegistry registry,
Map<String,Object> topoConf,
Map<String,Object> reporterConf) |
void |
prepare(MetricRegistryProvider metricRegistryProvider,
Map<String,Object> topoConf,
Map<String,Object> reporterConf) |
void |
setDimensions(Map<String,String> dimensions)
Sets dimensions to be used for reporting on the next batch of metrics.
|
getMetricsFilter, getReportPeriod, getReportPeriodUnit, isReportDimensionsEnabled, start, stop
public void prepare(com.codahale.metrics.MetricRegistry registry, Map<String,Object> topoConf, Map<String,Object> reporterConf)
prepare
in interface StormReporter
public void prepare(MetricRegistryProvider metricRegistryProvider, Map<String,Object> topoConf, Map<String,Object> reporterConf)
prepare
in interface StormReporter
public void setDimensions(Map<String,String> dimensions)
DimensionalReporter.DimensionHandler
Sets dimensions to be used for reporting on the next batch of metrics.
setDimensions
in interface DimensionalReporter.DimensionHandler
dimensions
- dimensions valid for use in the next scheduled report.Copyright © 2022 The Apache Software Foundation. All rights reserved.