You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: framework-docs/modules/ROOT/pages/integration/observability.adoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ This can be done by declaring a `SchedulingConfigurer` bean that sets the observ
91
91
92
92
include-code::./ObservationSchedulingConfigurer[]
93
93
94
-
It is using the `org.springframework.scheduling.config.DefaultScheduledTaskObservationConvention` by default, backed by the `ScheduledTaskObservationContext`.
94
+
It is using the `org.springframework.scheduling.support.DefaultScheduledTaskObservationConvention` by default, backed by the `ScheduledTaskObservationContext`.
95
95
You can configure a custom implementation on the `ObservationRegistry` directly.
96
96
During the execution of the scheduled method, the current observation is restored in the `ThreadLocal` context or the Reactor context (if the scheduled method returns a `Mono` or `Flux` type).
Copy file name to clipboardExpand all lines: spring-context/src/main/java/org/springframework/scheduling/annotation/ScheduledAnnotationReactiveSupport.java
Copy file name to clipboardExpand all lines: spring-context/src/main/java/org/springframework/scheduling/support/DefaultScheduledTaskObservationConvention.java
Copy file name to clipboardExpand all lines: spring-context/src/main/java/org/springframework/scheduling/support/ScheduledTaskObservationConvention.java
Copy file name to clipboardExpand all lines: spring-context/src/main/java/org/springframework/scheduling/support/ScheduledTaskObservationDocumentation.java
+6-6
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@
14
14
* limitations under the License.
15
15
*/
16
16
17
-
packageorg.springframework.scheduling.config;
17
+
packageorg.springframework.scheduling.support;
18
18
19
19
importio.micrometer.common.KeyValue;
20
20
importio.micrometer.common.docs.KeyName;
@@ -24,8 +24,10 @@
24
24
25
25
/**
26
26
* Documented {@link io.micrometer.common.KeyValue KeyValues} for the observations on
27
-
* executions of {@link org.springframework.scheduling.annotation.Scheduled scheduled tasks}.
28
-
* <p>This class is used by automated tools to document KeyValues attached to the {@code @Scheduled} observations.
27
+
* executions of {@link org.springframework.scheduling.annotation.Scheduled scheduled tasks}
28
+
*
29
+
* <p>This class is used by automated tools to document KeyValues attached to the
30
+
* {@code @Scheduled} observations.
29
31
*
30
32
* @author Brian Clozel
31
33
* @since 6.1
@@ -40,19 +42,17 @@ public enum ScheduledTaskObservationDocumentation implements ObservationDocument
Copy file name to clipboardExpand all lines: spring-context/src/test/java/org/springframework/scheduling/annotation/ScheduledAnnotationBeanPostProcessorObservabilityTests.java
Copy file name to clipboardExpand all lines: spring-context/src/test/java/org/springframework/scheduling/support/DefaultScheduledTaskObservationConventionTests.java
+7-7
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@
14
14
* limitations under the License.
15
15
*/
16
16
17
-
packageorg.springframework.scheduling.config;
17
+
packageorg.springframework.scheduling.support;
18
18
19
19
20
20
importjava.lang.reflect.Method;
@@ -37,6 +37,7 @@ class DefaultScheduledTaskObservationConventionTests {
0 commit comments