public class MetricExporters extends Object implements SchedulingConfigurer, Closeable
SchedulingConfigurer to handle metrics export.| Constructor and Description |
|---|
MetricExporters(MetricExportProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configureTasks(ScheduledTaskRegistrar taskRegistrar) |
Map<String,Exporter> |
getExporters() |
void |
setExporters(Map<String,Exporter> exporters) |
void |
setReader(MetricReader reader) |
void |
setWriters(Map<String,GaugeWriter> writers) |
public MetricExporters(MetricExportProperties properties)
public void setReader(MetricReader reader)
public void setWriters(Map<String,GaugeWriter> writers)
public void configureTasks(ScheduledTaskRegistrar taskRegistrar)
configureTasks in interface SchedulingConfigurerpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2017 Pivotal Software, Inc.. All rights reserved.