|
@@ -192,8 +192,8 @@ Instead, you can alter the provided `ObservationRegistry` with an `ObservationPr
|
|
----
|
|
----
|
|
@Bean
|
|
@Bean
|
|
ObservationRegistryCustomizer<ObservationRegistry> noSpringSecurityObservations() {
|
|
ObservationRegistryCustomizer<ObservationRegistry> noSpringSecurityObservations() {
|
|
- ObservationPredicate predicate = (name, context) -> !name.startsWith("spring.security.")
|
|
|
|
- return (registry) -> registry.observationConfig().observationPredicate(predicate)
|
|
|
|
|
|
+ ObservationPredicate predicate = (name, context) -> !name.startsWith("spring.security.");
|
|
|
|
+ return (registry) -> registry.observationConfig().observationPredicate(predicate);
|
|
}
|
|
}
|
|
----
|
|
----
|
|
|
|
|