Rename HTTP trace properties and packages
Closes gh-11934
This commit is contained in:
@@ -1283,9 +1283,9 @@ content into your application. Rather, pick only the properties that you need.
|
||||
management.health.status.http-mapping= # Mapping of health statuses to HTTP status codes. By default, registered health statuses map to sensible defaults (for example, UP maps to 200).
|
||||
management.health.status.order=DOWN, OUT_OF_SERVICE, UP, UNKNOWN # Comma-separated list of health statuses in order of severity.
|
||||
|
||||
# HTTP TRACING ({sc-spring-boot-actuator-autoconfigure}/web/trace/HttpTraceProperties.{sc-ext}[HttpTraceProperties])
|
||||
management.httptrace.enabled=true # Whether to enable HTTP request-response tracing.
|
||||
management.httptrace.include=request-headers,response-headers,cookies,errors # Items to be included in the trace.
|
||||
# HTTP TRACING ({sc-spring-boot-actuator-autoconfigure}/trace/http/HttpTraceProperties.{sc-ext}[HttpTraceProperties])
|
||||
management.trace.http.enabled=true # Whether to enable HTTP request-response tracing.
|
||||
management.trace.http.include=request-headers,response-headers,cookies,errors # Items to be included in the trace.
|
||||
|
||||
# INFO CONTRIBUTORS ({sc-spring-boot-actuator-autoconfigure}/info/InfoContributorProperties.{sc-ext}[InfoContributorProperties])
|
||||
management.info.build.enabled=true # Whether to enable build info.
|
||||
|
||||
@@ -1395,7 +1395,7 @@ 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.httptrace.include` configuration property.
|
||||
`management.trace.http.include` configuration property.
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user