ObservationRegistry.ObservationConfig so that we can
disable the instrumentation logic.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final NoopObservationConfig | INSTANCE
Instance of |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Collection | |
| public boolean | isObservationEnabled(String
observation technical name name, Observation.context contextOverrides io. Observation should be created or
NoopObservation instead.
|
| public ObservationRegistry. | observationHandler(ObservationHandler<?>
handler to add to the current configuration handler)Overrides io. observations.
|
| public ObservationRegistry. | observationPredicate(ObservationPredicate
predicate predicate)Overrides io. observation should
be created or a NoopObservation instead.
|
| INSTANCE | back to summary |
|---|---|
| pack-priv static final NoopObservationConfig INSTANCE Instance of | |
| NoopObservationConfig | back to summary |
|---|---|
| private NoopObservationConfig() | |
| getObservationHandlers | back to summary |
|---|---|
| pack-priv Collection Overrides io.
| |
| isObservationEnabled | back to summary |
|---|---|
| public boolean isObservationEnabled(String name, Observation. Overrides io. Doc from io. Check to assert whether
| |
| observationHandler | back to summary |
|---|---|
| public ObservationRegistry. Overrides io. Doc from io. Register a handler for the
| |
| observationPredicate | back to summary |
|---|---|
| public ObservationRegistry. Overrides io. Doc from io. Register a predicate to define whether
| |