mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Document default trace includes
Closes gh-8654
This commit is contained in:
parent
f73714bdcc
commit
cb38546d8a
@ -142,7 +142,7 @@ public class TraceProperties {
|
||||
REMOTE_USER,
|
||||
|
||||
/**
|
||||
* Include the time taken to service the request.
|
||||
* Include the time taken to service the request in milliseconds.
|
||||
*/
|
||||
TIME_TAKEN
|
||||
|
||||
|
@ -1510,6 +1510,28 @@ and obtain basic information about the last 100 requests:
|
||||
}]
|
||||
----
|
||||
|
||||
The following are included in the trace by default:
|
||||
|
||||
[cols="1,2"]
|
||||
|===
|
||||
|Name |Description
|
||||
|
||||
|Request Headers
|
||||
|Headers from the request.
|
||||
|
||||
|Response Headers
|
||||
|Headers from the response.
|
||||
|
||||
|Cookies
|
||||
|`Cookie` from request headers and `Set-Cookie` from response headers.
|
||||
|
||||
|Errors
|
||||
|The error attributes (if any).
|
||||
|
||||
|Time Taken
|
||||
|The time taken to service the request in milliseconds.
|
||||
|===
|
||||
|
||||
|
||||
|
||||
[[production-ready-custom-tracing]]
|
||||
|
Loading…
Reference in New Issue
Block a user