| 接口 | 说明 |
|---|---|
| MetricNamer |
Generates for the metrics corresponding to the various metric annotations.
|
| 类 | 说明 |
|---|---|
| CountedInterceptor | |
| CountedListener |
A listener which adds method interceptors to counted methods.
|
| DeclaredMethodsTypeListener |
A TypeListener which delegates to
DeclaredMethodsTypeListener.getInterceptor(Method) for
each method in the class's declared methods. |
| DeclaringClassMetricNamer |
Uses the name fields in the metric annotations, if present, or the method declaring class and
method name.
|
| ExceptionMeteredInterceptor |
A method interceptor which measures the rate at which the annotated method throws exceptions of a
given type.
|
| ExceptionMeteredListener |
A listener which adds method interceptors to methods that should be instrumented for exceptions
|
| GaugeInjectionListener<I> |
An injection listener which creates a gauge for the declaring class with the given name (or the
method's name, if none was provided) which returns the value returned by the annotated method.
|
| GaugeInstanceClassMetricNamer |
For gauges (which can reside in superclasses of the type being instantiated), this will use the
instantiated type for the resulting metric name no matter what superclass declares the gauge
method.
|
| GaugeListener |
A listener which adds gauge injection listeners to classes with gauges.
|
| MeteredInterceptor |
A method interceptor which creates a meter for the declaring class with the given name (or the
method's name, if none was provided), and which measures the rate at which the annotated method
is invoked.
|
| MeteredListener |
A listener which adds method interceptors to metered methods.
|
| MetricsInstrumentationModule |
A Guice module which instruments methods annotated with the
Metered, Timed,
Gauge, Counted, and ExceptionMetered annotations. |
| MetricsInstrumentationModule.Builder | |
| TimedInterceptor |
A method interceptor which times the execution of the annotated method.
|
| TimedListener |
A listener which adds method interceptors to timed methods.
|
Copyright © 2020. All rights reserved.