public class GangliaSink31 extends GangliaSink30
AbstractGangliaSink.GangliaConfType, AbstractGangliaSink.GangliaSlope| Modifier and Type | Field and Description |
|---|---|
org.slf4j.Logger |
LOG |
BUFFER_SIZE, DEFAULT_DMAX, DEFAULT_MULTICAST_ENABLED, DEFAULT_MULTICAST_TTL, DEFAULT_PORT, DEFAULT_SLOPE, DEFAULT_TMAX, DEFAULT_UNITS, EQUAL, gangliaMetricVisitor, MULTICAST_ENABLED_PROPERTY, MULTICAST_TTL_PROPERTY, SERVERS_PROPERTY, SUPPORT_SPARSE_METRICS_DEFAULT, SUPPORT_SPARSE_METRICS_PROPERTY| Constructor and Description |
|---|
GangliaSink31() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
emitMetric(String groupName,
String name,
String type,
String value,
org.apache.hadoop.metrics2.sink.ganglia.GangliaConf gConf,
AbstractGangliaSink.GangliaSlope gSlope)
The method sends metrics to Ganglia servers.
|
init, putMetricsemitToGangliaHosts, flush, getGangliaConfForMetric, getHostName, isSupportSparseMetrics, xdr_int, xdr_stringprotected void emitMetric(String groupName, String name, String type, String value, org.apache.hadoop.metrics2.sink.ganglia.GangliaConf gConf, AbstractGangliaSink.GangliaSlope gSlope) throws IOException
emitMetric in class GangliaSink30groupName - The group name of the metricname - The metric nametype - The type of the metricvalue - The value of the metricgConf - The GangliaConf for this metricgSlope - The slope for this metricIOExceptionCopyright © 2008–2022 Apache Software Foundation. All rights reserved.