File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
spring-boot-docs/src/main/asciidoc Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1160,6 +1160,10 @@ metric updates every 5 seconds (configured via `spring.metrics.export.delay-mill
1160
1160
In addition, any `MetricReader` that you define and mark as `@ExportMetricReader` will
1161
1161
have its values exported by the default exporter.
1162
1162
1163
+ NOTE: This feature is enabling scheduling in your application (`@EnableScheduling`) which
1164
+ can be a problem if you run an integration tests as your own scheduled tasks will start.
1165
+ You can disable this behaviour by setting `spring.metrics.export.enabled` to `false`.
1166
+
1163
1167
The default exporter is a `MetricCopyExporter` which tries to optimize itself by not
1164
1168
copying values that haven't changed since it was last called (the optimization can be
1165
1169
switched off using a flag `spring.metrics.export.send-latest`). Note also that the
You can’t perform that action at this time.
0 commit comments