Modifier and Type | Field and Description |
---|---|
static MetricFilter |
MetricFilter.ALL
Matches all metrics, regardless of type or name.
|
Modifier and Type | Method and Description |
---|---|
ConsoleReporter.Builder |
ConsoleReporter.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.
|
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.
|
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. |
ScheduledReporter(MetricRegistry registry,
String name,
MetricFilter filter,
TimeUnit rateUnit,
TimeUnit durationUnit,
ScheduledExecutorService executor,
boolean shutdownExecutorOnStop)
Creates a new
ScheduledReporter instance. |
ScheduledReporter(MetricRegistry registry,
String name,
MetricFilter filter,
TimeUnit rateUnit,
TimeUnit durationUnit,
ScheduledExecutorService executor,
boolean shutdownExecutorOnStop,
Set<MetricAttribute> disabledMetricAttributes) |
Copyright © 2020. All Rights Reserved.