public class GangliaReporterFactory extends BaseReporterFactory
GangliaReporter
instances.
Configuration Parameters:
Name | Default | Description |
host | localhost | The hostname (or group) of the Ganglia server(s) to report to. |
port | 8649 | The port of the Ganglia server(s) to report to. |
mode | unicast | The UDP addressing mode to announce the metrics with. One of unicast or
multicast . |
ttl | 1 | The time-to-live of the UDP packets for the announced metrics. |
uuid | None | The UUID to tag announced metrics with. |
spoof | None | The hostname and port to use instead of this nodes for the announced metrics. In the
format hostname:port . |
tmax | 60 | The tmax value to annouce metrics with. |
dmax | 0 | The dmax value to announce metrics with. |
Constructor and Description |
---|
GangliaReporterFactory() |
Modifier and Type | Method and Description |
---|---|
com.codahale.metrics.ScheduledReporter |
build(com.codahale.metrics.MetricRegistry registry) |
io.dropwizard.util.Duration |
getDmax() |
String |
getHost() |
info.ganglia.gmetric4j.gmetric.GMetric.UDPAddressingMode |
getMode() |
int |
getPort() |
String |
getPrefix() |
Optional<String> |
getSpoof() |
io.dropwizard.util.Duration |
getTmax() |
int |
getTtl() |
Optional<UUID> |
getUuid() |
void |
setDmax(io.dropwizard.util.Duration dmax) |
void |
setHost(String host) |
void |
setMode(info.ganglia.gmetric4j.gmetric.GMetric.UDPAddressingMode mode) |
void |
setPort(int port) |
void |
setPrefix(String prefix) |
void |
setSpoof(String spoof) |
void |
setTmax(io.dropwizard.util.Duration tmax) |
void |
setTtl(int ttl) |
void |
setUuid(UUID uuid) |
getDisabledAttributes, getDurationUnit, getExcludes, getExcludesAttributes, getFilter, getFrequency, getIncludes, getIncludesAttributes, getRateUnit, getUseRegexFilters, setDurationUnit, setExcludes, setExcludesAttributes, setFrequency, setIncludes, setIncludesAttributes, setRateUnit, setUseRegexFilters
public io.dropwizard.util.Duration getTmax()
public void setTmax(io.dropwizard.util.Duration tmax)
public io.dropwizard.util.Duration getDmax()
public void setDmax(io.dropwizard.util.Duration dmax)
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public info.ganglia.gmetric4j.gmetric.GMetric.UDPAddressingMode getMode()
public void setMode(info.ganglia.gmetric4j.gmetric.GMetric.UDPAddressingMode mode)
public int getTtl()
public void setTtl(int ttl)
public String getPrefix()
public void setPrefix(String prefix)
public void setUuid(UUID uuid)
public void setSpoof(String spoof)
public com.codahale.metrics.ScheduledReporter build(com.codahale.metrics.MetricRegistry registry)
Copyright © 2017. All rights reserved.