Package | Description |
---|---|
com.codahale.metrics | |
com.codahale.metrics.ganglia | |
com.codahale.metrics.graphite | |
com.codahale.metrics.json | |
com.codahale.metrics.servlets |
Modifier and Type | Field and Description |
---|---|
static MetricFilter |
MetricFilter.ALL
Matches all metrics, regardless of type or name.
|
Modifier and Type | Method and Description |
---|---|
Slf4jReporter.Builder |
Slf4jReporter.Builder.filter(MetricFilter filter)
Only report metrics which match the given filter.
|
JmxReporter.Builder |
JmxReporter.Builder.filter(MetricFilter filter)
Only report metrics which match the given filter.
|
CsvReporter.Builder |
CsvReporter.Builder.filter(MetricFilter filter)
Only report metrics which match the given filter.
|
ConsoleReporter.Builder |
ConsoleReporter.Builder.filter(MetricFilter filter)
Only report metrics which match the given filter.
|
SortedMap<String,Counter> |
MetricRegistry.getCounters(MetricFilter filter)
Returns a map of all the counters in the registry and their names which match the given
filter.
|
SortedMap<String,Gauge> |
MetricRegistry.getGauges(MetricFilter filter)
Returns a map of all the gauges in the registry and their names which match the given filter.
|
SortedMap<String,Histogram> |
MetricRegistry.getHistograms(MetricFilter filter)
Returns a map of all the histograms in the registry and their names which match the given
filter.
|
SortedMap<String,Meter> |
MetricRegistry.getMeters(MetricFilter filter)
Returns a map of all the meters in the registry and their names which match the given filter.
|
SortedMap<String,Timer> |
MetricRegistry.getTimers(MetricFilter filter)
Returns a map of all the timers in the registry and their names which match the given filter.
|
void |
MetricRegistry.removeMatching(MetricFilter filter)
Removes all metrics which match the given filter.
|
Constructor and Description |
---|
ScheduledReporter(MetricRegistry registry,
String name,
MetricFilter filter,
TimeUnit rateUnit,
TimeUnit durationUnit)
Creates a new
ScheduledReporter instance. |
ScheduledReporter(MetricRegistry registry,
String name,
MetricFilter filter,
TimeUnit rateUnit,
TimeUnit durationUnit,
ScheduledExecutorService executor)
Creates a new
ScheduledReporter instance. |
Modifier and Type | Method and Description |
---|---|
GangliaReporter.Builder |
GangliaReporter.Builder.filter(MetricFilter filter)
Only report metrics which match the given filter.
|
Modifier and Type | Method and Description |
---|---|
GraphiteReporter.Builder |
GraphiteReporter.Builder.filter(MetricFilter filter)
Only report metrics which match the given filter.
|
Constructor and Description |
---|
MetricsModule(TimeUnit rateUnit,
TimeUnit durationUnit,
boolean showSamples,
MetricFilter filter) |
Modifier and Type | Method and Description |
---|---|
protected MetricFilter |
MetricsServlet.ContextListener.getMetricFilter()
Returns the
MetricFilter that shall be used to filter metrics, or ALL if
the default should be used. |
Copyright © 2014. All Rights Reserved.