Enhance endpoints handling (#1201)
* Enhance endpoints handling * Add conditionalOnBean ServerProperties * Code review remarks from @shakuzen * Provide ignoreAutoConfiguredSkipPatterns flag. * Update documentation related to spring boot actuator and new flag spring.sleuth.web.ignore-auto-configured-skip-patterns.
This commit is contained in:
committed by
Marcin Grzejszczak
parent
1775ec1000
commit
5fb9177dec
@@ -1072,6 +1072,10 @@ You can configure which URIs you would like to skip by setting the `spring.sleut
|
||||
If you have `ManagementServerProperties` on classpath, its value of `contextPath` gets appended to the provided skip pattern.
|
||||
If you want to reuse the Sleuth's default skip patterns and just append your own, pass those patterns by using the `spring.sleuth.web.additionalSkipPattern`.
|
||||
|
||||
By default, all the spring boot actuator endpoints are automatically added to the skip pattern.
|
||||
If you want to disable this behaviour set `spring.sleuth.web.ignore-auto-configured-skip-patterns`
|
||||
to `true`.
|
||||
|
||||
To change the order of tracing filter registration, please set the
|
||||
`spring.sleuth.web.filter-order` property.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user