| Package | Description |
|---|---|
| org.avaje.metric |
The main public API for Avaje Metrics.
|
| org.avaje.metric.spi |
The service provider API that needs to be implemented by implementors.
|
| Modifier and Type | Method and Description |
|---|---|
TimedMetric |
RequestTimingEntry.getMetric()
Return the metric this entry is from.
|
static TimedMetric |
MetricManager.getTimedMetric(Class<?> cls,
String eventName)
Return a TimedMetric using the Class, name to derive the MetricName.
|
static TimedMetric |
MetricManager.getTimedMetric(Class<?> cls,
String name,
int... bucketRanges)
Return a BucketTimedMetric given the name and bucket ranges.
|
static TimedMetric |
MetricManager.getTimedMetric(MetricName name)
Return a TimedMetric given the name.
|
static TimedMetric |
MetricManager.getTimedMetric(MetricName name,
int... bucketRanges)
Return a BucketTimedMetric given the name and bucket ranges.
|
TimedMetric |
TimedMetricGroup.getTimedMetric(String name)
Return the TimedMetric for the specific name.
|
static TimedMetric |
MetricManager.getTimedMetric(String name)
Return a TimedMetric given the name.
|
static TimedMetric |
MetricManager.getTimedMetric(String name,
int... bucketRanges)
Return a BucketTimedMetric given the name and bucket ranges.
|
| Modifier and Type | Method and Description |
|---|---|
TimedMetric |
SpiMetricManager.getTimedMetric(MetricName name)
Return the TimedMetric using the metric name.
|
TimedMetric |
SpiMetricManager.getTimedMetric(MetricName name,
int... bucketRanges)
Return the BucketTimedMetric using the given base metric name and bucketRanges.
|
Copyright © 2019. All rights reserved.