Uses of Class
io.dropwizard.metrics5.MetricName
-
Uses of MetricName in io.dropwizard.metrics5
Methods in io.dropwizard.metrics5 that return MetricNameModifier and TypeMethodDescriptionMetricName.append
(MetricName append) Build the MetricName that is this with another path and tags appended to it.static MetricName
Build a new metric name using the specific path components.static MetricName
MetricName.empty()
Returns an empty metric name.static MetricName
Concatenates a class name and elements to form a dotted name, eliding any null values or empty strings.static MetricName
Concatenates elements to form a dotted name, eliding any null values or empty strings.Build the MetricName that is this with another path appended to it.Same astagged(Map)
, but takes a variadic list of arguments.Add tags to a metric name and return the newly created MetricName.Methods in io.dropwizard.metrics5 that return types with arguments of type MetricNameModifier and TypeMethodDescriptionprotected ConcurrentMap<MetricName,
Metric> MetricRegistry.buildMap()
Creates a newConcurrentMap
implementation for use inside the registry.protected ConcurrentMap<MetricName,
Metric> NoopMetricRegistry.buildMap()
Creates a newConcurrentMap
implementation for use inside the registry.MetricRegistry.getCounters()
Returns a map of all the counters in the registry and their names.MetricRegistry.getCounters
(MetricFilter filter) Returns a map of all the counters in the registry and their names which match the given filter.NoopMetricRegistry.getCounters()
Returns a map of all the counters in the registry and their names.NoopMetricRegistry.getCounters
(MetricFilter filter) Returns a map of all the counters in the registry and their names which match the given filter.SortedMap<MetricName,
Gauge<?>> MetricRegistry.getGauges()
Returns a map of all the gauges in the registry and their names.SortedMap<MetricName,
Gauge<?>> MetricRegistry.getGauges
(MetricFilter filter) Returns a map of all the gauges in the registry and their names which match the given filter.SortedMap<MetricName,
Gauge<?>> NoopMetricRegistry.getGauges()
Returns a map of all the gauges in the registry and their names.SortedMap<MetricName,
Gauge<?>> NoopMetricRegistry.getGauges
(MetricFilter filter) Returns a map of all the gauges in the registry and their names which match the given filter.MetricRegistry.getHistograms()
Returns a map of all the histograms in the registry and their names.MetricRegistry.getHistograms
(MetricFilter filter) Returns a map of all the histograms in the registry and their names which match the given filter.NoopMetricRegistry.getHistograms()
Returns a map of all the histograms in the registry and their names.NoopMetricRegistry.getHistograms
(MetricFilter filter) Returns a map of all the histograms in the registry and their names which match the given filter.MetricRegistry.getMeters()
Returns a map of all the meters in the registry and their names.MetricRegistry.getMeters
(MetricFilter filter) Returns a map of all the meters in the registry and their names which match the given filter.NoopMetricRegistry.getMeters()
Returns a map of all the meters in the registry and their names.NoopMetricRegistry.getMeters
(MetricFilter filter) Returns a map of all the meters in the registry and their names which match the given filter.MetricRegistry.getMetrics()
MetricSet.getMetrics()
A map of metric names to metrics.NoopMetricRegistry.getMetrics()
A map of metric names to metrics.MetricRegistry.getNames()
Returns a set of the names of all the metrics in the registry.NoopMetricRegistry.getNames()
Returns a set of the names of all the metrics in the registry.MetricRegistry.getTimers()
Returns a map of all the timers in the registry and their names.MetricRegistry.getTimers
(MetricFilter filter) Returns a map of all the timers in the registry and their names which match the given filter.NoopMetricRegistry.getTimers()
Returns a map of all the timers in the registry and their names.NoopMetricRegistry.getTimers
(MetricFilter filter) Returns a map of all the timers in the registry and their names which match the given filter.Methods in io.dropwizard.metrics5 with parameters of type MetricNameModifier and TypeMethodDescriptionMetricName.append
(MetricName append) Build the MetricName that is this with another path and tags appended to it.int
MetricName.compareTo
(MetricName o) MetricRegistry.counter
(MetricName name) <T extends Counter>
TMetricRegistry.counter
(MetricName name, MetricRegistry.MetricSupplier<T> supplier) NoopMetricRegistry.counter
(MetricName name) <T extends Counter>
TNoopMetricRegistry.counter
(MetricName name, MetricRegistry.MetricSupplier<T> supplier) <T extends Gauge>
TMetricRegistry.gauge
(MetricName name) Return theGauge
registered under this name; or create and register a newSettableGauge
if none is registered.<T extends Gauge>
TMetricRegistry.gauge
(MetricName name, MetricRegistry.MetricSupplier<T> supplier) <T extends Gauge>
TNoopMetricRegistry.gauge
(MetricName name) Return theGauge
registered under this name; or create and register a newSettableGauge
if none is registered.<T extends Gauge>
TNoopMetricRegistry.gauge
(MetricName name, MetricRegistry.MetricSupplier<T> supplier) MetricRegistry.histogram
(MetricName name) MetricRegistry.histogram
(MetricName name, MetricRegistry.MetricSupplier<Histogram> supplier) NoopMetricRegistry.histogram
(MetricName name) NoopMetricRegistry.histogram
(MetricName name, MetricRegistry.MetricSupplier<Histogram> supplier) boolean
MetricFilter.matches
(MetricName name, Metric metric) Returnstrue
if the metric matches the filter;false
otherwise.MetricRegistry.meter
(MetricName name) MetricRegistry.meter
(MetricName name, MetricRegistry.MetricSupplier<Meter> supplier) NoopMetricRegistry.meter
(MetricName name) NoopMetricRegistry.meter
(MetricName name, MetricRegistry.MetricSupplier<Meter> supplier) void
MetricRegistryListener.Base.onCounterAdded
(MetricName name, Counter counter) void
MetricRegistryListener.onCounterAdded
(MetricName name, Counter counter) Called when aCounter
is added to the registry.void
MetricRegistryListener.Base.onCounterRemoved
(MetricName name) void
MetricRegistryListener.onCounterRemoved
(MetricName name) Called when aCounter
is removed from the registry.void
MetricRegistryListener.Base.onGaugeAdded
(MetricName name, Gauge<?> gauge) void
MetricRegistryListener.onGaugeAdded
(MetricName name, Gauge<?> gauge) Called when aGauge
is added to the registry.void
MetricRegistryListener.Base.onGaugeRemoved
(MetricName name) void
MetricRegistryListener.onGaugeRemoved
(MetricName name) Called when aGauge
is removed from the registry.void
MetricRegistryListener.Base.onHistogramAdded
(MetricName name, Histogram histogram) void
MetricRegistryListener.onHistogramAdded
(MetricName name, Histogram histogram) Called when aHistogram
is added to the registry.void
MetricRegistryListener.Base.onHistogramRemoved
(MetricName name) void
MetricRegistryListener.onHistogramRemoved
(MetricName name) Called when aHistogram
is removed from the registry.void
MetricRegistryListener.Base.onMeterAdded
(MetricName name, Meter meter) void
MetricRegistryListener.onMeterAdded
(MetricName name, Meter meter) Called when aMeter
is added to the registry.void
MetricRegistryListener.Base.onMeterRemoved
(MetricName name) void
MetricRegistryListener.onMeterRemoved
(MetricName name) Called when aMeter
is removed from the registry.void
MetricRegistryListener.Base.onTimerAdded
(MetricName name, Timer timer) void
MetricRegistryListener.onTimerAdded
(MetricName name, Timer timer) Called when aTimer
is added to the registry.void
MetricRegistryListener.Base.onTimerRemoved
(MetricName name) void
MetricRegistryListener.onTimerRemoved
(MetricName name) Called when aTimer
is removed from the registry.<T extends Metric>
TMetricRegistry.register
(MetricName name, T metric) Given aMetric
, registers it under the given name.<T extends Metric>
TNoopMetricRegistry.register
(MetricName name, T metric) Given aMetric
, registers it under the given name.void
MetricRegistry.registerAll
(MetricName prefix, MetricSet metrics) void
NoopMetricRegistry.registerAll
(MetricName prefix, MetricSet metrics) <T> Gauge<T>
MetricRegistry.registerGauge
(MetricName name, Gauge<T> metric) Given aGauge
, registers it under the given name and returns itboolean
MetricRegistry.remove
(MetricName name) Removes the metric with the given name.boolean
NoopMetricRegistry.remove
(MetricName name) Removes the metric with the given name.protected String
CsvReporter.sanitize
(MetricName name) MetricRegistry.timer
(MetricName name) MetricRegistry.timer
(MetricName name, MetricRegistry.MetricSupplier<Timer> supplier) NoopMetricRegistry.timer
(MetricName name) NoopMetricRegistry.timer
(MetricName name, MetricRegistry.MetricSupplier<Timer> supplier) Method parameters in io.dropwizard.metrics5 with type arguments of type MetricNameModifier and TypeMethodDescriptionvoid
ConsoleReporter.report
(SortedMap<MetricName, Gauge<?>> gauges, SortedMap<MetricName, Counter> counters, SortedMap<MetricName, Histogram> histograms, SortedMap<MetricName, Meter> meters, SortedMap<MetricName, Timer> timers) void
CsvReporter.report
(SortedMap<MetricName, Gauge<?>> gauges, SortedMap<MetricName, Counter> counters, SortedMap<MetricName, Histogram> histograms, SortedMap<MetricName, Meter> meters, SortedMap<MetricName, Timer> timers) abstract void
ScheduledReporter.report
(SortedMap<MetricName, Gauge<?>> gauges, SortedMap<MetricName, Counter> counters, SortedMap<MetricName, Histogram> histograms, SortedMap<MetricName, Meter> meters, SortedMap<MetricName, Timer> timers) Called periodically by the polling thread.void
Slf4jReporter.report
(SortedMap<MetricName, Gauge<?>> gauges, SortedMap<MetricName, Counter> counters, SortedMap<MetricName, Histogram> histograms, SortedMap<MetricName, Meter> meters, SortedMap<MetricName, Timer> timers)