@ThreadSafe public class GraphiteSink extends Object implements Sink
Constructor and Description |
---|
GraphiteSink(Properties properties,
com.codahale.metrics.MetricRegistry registry)
|
Modifier and Type | Method and Description |
---|---|
void |
report()
Reports the current values of all metrics.
|
void |
start()
Starts the reporter polling.
|
void |
stop()
Stops the reporter.
|
public GraphiteSink(Properties properties, com.codahale.metrics.MetricRegistry registry) throws IllegalArgumentException
properties
- the properties which may contain polling period and unit propertiesregistry
- the metric registry to registerIllegalArgumentException
- if the host
or port
property is missingCopyright © 2023. All Rights Reserved.