capture total errors data availability and any timeout errors (#17748)

This commit is contained in:
Harshavardhana
2023-07-29 23:26:26 -07:00
committed by GitHub
parent 48a3e9bc82
commit 5e5bdf5432
3 changed files with 86 additions and 10 deletions

View File

@@ -61,8 +61,10 @@ type DiskInfo struct {
// the number of calls of each API and the moving average of
// the duration of each API.
type DiskMetrics struct {
LastMinute map[string]AccElem `json:"apiLatencies,omitempty"`
APICalls map[string]uint64 `json:"apiCalls,omitempty"`
LastMinute map[string]AccElem `json:"apiLatencies,omitempty"`
APICalls map[string]uint64 `json:"apiCalls,omitempty"`
TotalErrorsAvailability uint64 `json:"totalErrsAvailability"`
TotalErrorsTimeout uint64 `json:"totalErrsTimeout"`
}
// VolsInfo is a collection of volume(bucket) information