| 程序包 | 说明 |
|---|---|
| com.github.netty.core.metrics |
| 限定符和类型 | 字段和说明 |
|---|---|
static MetricFilter |
MetricFilter.ALL
Matches all metrics, regardless of type or name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
Copyright © 2020. All rights reserved.