metrics: Add canceled requests (#11881)

Add metric for canceled requests
This commit is contained in:
Klaus Post
2021-03-24 18:25:27 +01:00
committed by GitHub
parent 410e84d273
commit 749e9c5771
5 changed files with 44 additions and 1 deletions

View File

@@ -263,6 +263,7 @@ type ServerHTTPStats struct {
CurrentS3Requests ServerHTTPAPIStats `json:"currentS3Requests"`
TotalS3Requests ServerHTTPAPIStats `json:"totalS3Requests"`
TotalS3Errors ServerHTTPAPIStats `json:"totalS3Errors"`
TotalS3Canceled ServerHTTPAPIStats `json:"totalS3Canceled"`
}
// ServerInfoData holds storage, connections and other