MeterObservationHandler that can wrap another one and makes the tracing data
available for it. This handler can be used in cases where the MeterRegistry or
the MeterObservationHandler itself needs access to the tracing data (e.g.:
exemplars).
| Modifier and Type | Field and Description |
|---|---|
| private final io.micrometer.core.instrument.observation.MeterObservationHandler | |
| private final Tracer |
| Access | Constructor and Description |
|---|---|
| public | TracingAwareMeterObservationHandler(io.micrometer.core.instrument.observation.MeterObservationHandler<T>
a delegate, Tracer MeterObservationHandler delegatetracer tracer)Creates a new instance of |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public boolean |
| delegate | back to summary |
|---|---|
| private final io.micrometer.core.instrument.observation.MeterObservationHandler<T> delegate | |
| tracer | back to summary |
|---|---|
| private final Tracer tracer | |
| TracingAwareMeterObservationHandler | back to summary |
|---|---|
| public TracingAwareMeterObservationHandler(io.micrometer.core.instrument.observation.MeterObservationHandler<T> delegate, Tracer tracer) Creates a new instance of
| |
| onError | back to summary |
|---|---|
public void onError(T context)
| |
| onEvent | back to summary |
|---|---|
public void onEvent(Observation.
| |
| onScopeClosed | back to summary |
|---|---|
public void onScopeClosed(T context)
| |
| onScopeOpened | back to summary |
|---|---|
public void onScopeOpened(T context)
| |
| onStart | back to summary |
|---|---|
public void onStart(T context)
| |
| onStop | back to summary |
|---|---|
public void onStop(T context)
| |
| supportsContext | back to summary |
|---|---|
public boolean supportsContext(Observation.
| |