[#187] Adds ManagementProperties contextPath to skipPattern

Fixes #187
This commit is contained in:
Marcin Grzejszczak
2016-03-07 17:45:46 +01:00
parent 3e9a2252a3
commit 4f4aa25a5d
5 changed files with 197 additions and 20 deletions

View File

@@ -330,7 +330,8 @@ Features from this section can be disabled by providing the `spring.sleuth.web.e
Via the `TraceFilter` all sampled incoming requests result in creation of a Span. That Span's name is `http:` + the path to which
the request was sent. E.g. if the request was sent to `/foo/bar` then the name will be `http:/foo/bar`. You can configure which URIs you would
like to skip via the `spring.sleuth.instrument.web.skipPattern` property.
like to skip via the `spring.sleuth.instrument.web.skipPattern` property. If you have `ManagementServerProperties` on classpath then
its value of `contextPath` gets appended to the provided skip pattern.
==== Async Servlet support