public class ReporterFactory extends Object
Constructor and Description |
---|
ReporterFactory() |
Modifier and Type | Method and Description |
---|---|
com.codahale.metrics.graphite.GraphiteReporter |
getGraphiteReporter(String prefix,
com.codahale.metrics.graphite.Graphite g)
Start a new GraphiteReporter, with reports every minute
|
com.codahale.metrics.JmxReporter |
getJmxReporter(String prefix)
Publish metrics to JMX
|
public ReporterFactory()
public com.codahale.metrics.graphite.GraphiteReporter getGraphiteReporter(String prefix, com.codahale.metrics.graphite.Graphite g)
prefix
- graphite metrics prefixg
- a graphite client instancepublic com.codahale.metrics.JmxReporter getJmxReporter(String prefix)
prefix
- the prefixCopyright © 2013–2015 DuraSpace, Inc.. All rights reserved.