MetricFilter
| Modifier and Type | Class and Description |
|---|---|
| public static enum | MetricRegistry.
Deprecated
As of release 5.0, please use An enumeration representing the provided scopes of the MetricRegistry.
MetricRegistry#APPLICATION_SCOPE,
MetricRegistry#BASE_SCOPE or MetricRegistry#VENDOR_SCOPE with RegistryScope
instead.
|
| Modifier and Type | Field and Description |
|---|---|
| public static final String | APPLICATION_SCOPE
String constant to represent the scope value used for the application scope |
| public static final String | BASE_SCOPE
String constant to represent the scope value used for the base scope |
| public static final String | VENDOR_SCOPE
String constant to represent the scope value used for the vendor scope |
| Modifier and Type | Method and Description |
|---|---|
| public Counter | |
| public Counter | |
| public Counter | |
| public Counter | |
| public Counter | |
| public < The Type of the Object of which the function T, func is applied toA R extends Number> GaugeNumber | Returns: a new or pre-existingGaugeThe name of the Gauge metric name, T The object that the object, Function<T, R> Function func will be applied toThe func, Tag... Function that will be applied to objectThe tags of the metric tags)Return the |
| public < The Type of the Object of which the function T, func is applied toA R extends Number> GaugeNumber | Returns: a new or pre-existingGaugeThe MetricID of the Gauge metric metricID, T The object that the object, Function<T, R> Function func will be applied toThe func)Function that will be applied to objectReturn the |
| public < The Type of the Object of which the function T, func is applied toA R extends Number> GaugeNumber | Returns: a new or pre-existingGaugeThe Metadata of the Gauge metadata, T The object that the object, Function<T, R> Function func will be applied toThe func, Tag... Function that will be applied to objectThe tags of the metric tags)Return the |
| public < A T extends Number> GaugeNumber | Returns: a new or pre-existingGaugeThe name of the Gauge name, Supplier<T> The supplier, Tag... Supplier function that will return the value for the Gauge
metricThe tags of the metric tags)Return the |
| public < A T extends Number> GaugeNumber | |
| public < A T extends Number> GaugeNumber | Returns: a new or pre-existingGaugeThe metadata of the gauge metadata, Supplier<T> The supplier, Tag... Supplier function that will return the value for the Gauge
metricThe tags of the metric tags)Return the |
| public Counter | getCounter(MetricID
lookup key, not metricID)null |
| public SortedMap | Returns: all the counters in the registryReturns a map of all the counters in the registry and their |
| public SortedMap | Returns: all the counters in the registrythe metric filter to match filter)Returns a map of all the counters in the registry and their |
| public Gauge | |
| public SortedMap | |
| public SortedMap | Returns: all the gauges in the registrythe metric filter to match filter)Returns a map of all the gauges in the registry and their |
| public Histogram | getHistogram(MetricID
lookup key, not metricID)null |
| public SortedMap | Returns: all the histograms in the registryReturns a map of all the histograms in the registry and their |
| public SortedMap | Returns: all the histograms in the registrythe metric filter to match filter)Returns a map of all the histograms in the registry and their |
| public Metadata | |
| public Map | Returns: all the metadata in the registryReturns a map of all the metadata in the registry and their names. |
| public Metric | |
| public <T extends Metric> T | |
| public SortedSet | Returns: the MetricIDs of all the metricsReturns a set of the |
| public SortedMap | Returns: all the metrics in the registrythe metric filter to match filter)Returns a map of all the metrics in the registry and their |
| public <T extends Metric> SortedMap | Returns: all the metrics in the registrythe type to which all returned metrics should be assignable ofType, MetricFilter the metric filter to match filter)Returns a map of all the metrics in the registry and their |
| public Map | Returns: all the metrics in the registryReturns a map of all the metrics in the registry and their |
| public SortedSet | Returns: the names of all the metricsReturns a set of the names of all the metrics in the registry. |
| public String | Returns: Scope of this registry (VENDOR_SCOPE, BASE_SCOPE, APPLICATION_SCOPE, or a custom scope)Returns the scope of this metric registry. |
| public Timer | |
| public SortedMap | |
| public SortedMap | Returns: all the timers in the registrythe metric filter to match filter)Returns a map of all the timers in the registry and their |
| public Histogram | |
| public Histogram | |
| public Histogram | |
| public Histogram | |
| public Histogram | |
| public static String | |
| public static String | |
| public boolean | |
| public boolean | |
| public void | |
| public Timer | |
| public Timer | |
| public Timer | |
| public Timer | |
| public Timer |