Commit e1ba3da1 authored by Shyam Jeedigunta's avatar Shyam Jeedigunta

Increase sliding window to 5hr for request_latencies metric

parent 9aef242a
...@@ -56,8 +56,9 @@ var ( ...@@ -56,8 +56,9 @@ var (
prometheus.SummaryOpts{ prometheus.SummaryOpts{
Name: "apiserver_request_latencies_summary", Name: "apiserver_request_latencies_summary",
Help: "Response latency summary in microseconds for each verb, resource and subresource.", Help: "Response latency summary in microseconds for each verb, resource and subresource.",
// Make the sliding window of 1h. // Make the sliding window of 5h.
MaxAge: time.Hour, // TODO: The value for this should be based on our SLI definition (medium term).
MaxAge: 5 * time.Hour,
}, },
[]string{"verb", "resource", "subresource", "scope"}, []string{"verb", "resource", "subresource", "scope"},
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment