audit: account for response headers separately (#15610)

This commit is contained in:
Krishnan Parthasarathi
2022-09-01 12:51:04 -07:00
committed by GitHub
parent bcedc2b0d9
commit 5ce1448049
2 changed files with 14 additions and 3 deletions

View File

@@ -53,6 +53,7 @@ type Entry struct {
StatusCode int `json:"statusCode,omitempty"`
InputBytes int64 `json:"rx"`
OutputBytes int64 `json:"tx"`
HeaderBytes int64 `json:"txHeaders,omitempty"`
TimeToFirstByte string `json:"timeToFirstByte,omitempty"`
TimeToResponse string `json:"timeToResponse,omitempty"`
} `json:"api"`