Merge pull request #10391 from wojtek-t/longer_metrics

Increase the length of sliding window for latency metrics
This commit is contained in:
Zach Loafman
2015-06-30 16:04:53 -07:00
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"},
)