Package alluxio.metrics.sink
Class GraphiteSink
- java.lang.Object
-
- alluxio.metrics.sink.GraphiteSink
-
-
Constructor Summary
Constructors Constructor Description GraphiteSink(java.util.Properties properties, com.codahale.metrics.MetricRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
report()
Reports the current values of all metrics.void
start()
Starts the reporter polling.void
stop()
Stops the reporter.
-
-
-
Constructor Detail
-
GraphiteSink
public GraphiteSink(java.util.Properties properties, com.codahale.metrics.MetricRegistry registry) throws java.lang.IllegalArgumentException
- Parameters:
properties
- the properties which may contain polling period and unit propertiesregistry
- the metric registry to register- Throws:
java.lang.IllegalArgumentException
- if thehost
orport
property is missing
-
-