mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Remove redundant prometheus data points (#5934)
Removed field minio_http_requests_total as it was redundant with minio_http_requests_duration_seconds_count Also removed field minio_server_start_time_seconds as it was redundant with process_start_time_seconds
This commit is contained in:
@@ -190,8 +190,6 @@ func (st *HTTPStats) updateStats(r *http.Request, w *httpResponseRecorder, durat
|
||||
st.successDELETEs.Duration.Add(durationSecs)
|
||||
}
|
||||
}
|
||||
// Increment the prometheus http request count with appropriate label
|
||||
httpRequests.With(prometheus.Labels{"request_type": r.Method}).Inc()
|
||||
// Increment the prometheus http request response histogram with appropriate label
|
||||
httpRequestsDuration.With(prometheus.Labels{"request_type": r.Method}).Observe(durationSecs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user