public class GraphiteReporterFactory extends BaseReporterFactory
GraphiteReporter instances.
Configuration Parameters:
| Name | Default | Description |
| host | localhost | The hostname of the Graphite server to report to. |
| port | 8080 | The port of the Graphite server to report to. |
| prefix | None | The prefix for Metric key names to report to Graphite. |
| Constructor and Description |
|---|
GraphiteReporterFactory() |
| Modifier and Type | Method and Description |
|---|---|
com.codahale.metrics.ScheduledReporter |
build(com.codahale.metrics.MetricRegistry registry) |
String |
getHost() |
int |
getPort() |
String |
getPrefix() |
void |
setHost(String host) |
void |
setPort(int port) |
void |
setPrefix(String prefix) |
getDurationUnit, getExcludes, getFilter, getFrequency, getIncludes, getRateUnit, getUseRegexFilters, setDurationUnit, setExcludes, setFrequency, setIncludes, setRateUnit, setUseRegexFilterspublic String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public String getPrefix()
public void setPrefix(String prefix)
public com.codahale.metrics.ScheduledReporter build(com.codahale.metrics.MetricRegistry registry)
Copyright © 2015. All rights reserved.