Skip to content

Commit 835cd9d

Browse files
committed
Merge pull request #47721 from quaff
* pr/47721: Polish "Configure devtools to set trace probability to 100% by default" Configure devtools to set trace probability to 100% by default Closes gh-47721
2 parents ffc822d + ebcb646 commit 835cd9d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/using/devtools.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ For this reason, spring-boot-devtools disables the caching options by default.
6868

6969
Cache options are usually configured by settings in your `application.properties` file.
7070
For example, Thymeleaf offers the configprop:spring.thymeleaf.cache[] property.
71+
72+
The same applies for tracing probability that's set to 100% as the default may not log all traces used for testing.
73+
7174
Rather than needing to set these properties manually, the `spring-boot-devtools` module automatically applies sensible development-time configuration.
7275

7376
The following table lists all the properties that are applied:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
defaults.management.tracing.sampling.probability=1.0

0 commit comments

Comments
 (0)