Increase the length of sliding window for latency metrics

This commit is contained in:
Wojciech Tyczynski
2015-06-26 13:08:21 +02:00
parent 712f303350
commit 4c4d59a236
2 changed files with 3 additions and 0 deletions

View File

@@ -48,6 +48,8 @@ var (
prometheus.SummaryOpts{
Name: "apiserver_request_latencies_summary",
Help: "Response latency summary in microseconds for each verb and resource.",
// Make the sliding window of 1h.
MaxAge: time.Hour,
},
[]string{"verb", "resource"},
)