Restore customization of HTTP trace request headers

This commit restore the use of the `postProcessRequestHeaders` method
when overridden in a custom HttpExchangeTracer implementation.

Closes gh-13924
This commit is contained in:
Stephane Nicoll
2018-08-06 18:31:53 +02:00
parent 737b4a275b
commit f731f6aa39
3 changed files with 37 additions and 3 deletions

View File

@@ -1915,7 +1915,8 @@ endpoint and obtain basic information about the last 100 request-response exchan
[[production-ready-http-tracing-custom]]
=== Custom HTTP tracing
To customize the items that are included in each trace, use the
`management.trace.http.include` configuration property.
`management.trace.http.include` configuration property. For advanced customization,
consider registering your own `HttpExchangeTracer` implementation.
By default, an `InMemoryHttpTraceRepository` that stores traces for the last 100
request-response exchanges is used. If you need to expand the capacity, you can define