-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
increase time period for rate over cadvisor metrics
- Loading branch information
1 parent
f458e85
commit c72ae7b
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c72ae7b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@paulfantom Excuse the stupid question; I've been learning how to configure this adapter with the prometheus operator and wondering if the
window
should be increased to5m
too, or is it okay for this query to be a multiple of thewindow
and leave thewindow
at1m
? (I'm getting gaps in the resource metrics, so wondering what the optimal values are.)c72ae7b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
window
should match the value used as duration incontainerQuery
and/ornodeQuery
when usingrate()
function. This means that I accidentally introduced a bug with this commit andwindow
should be extended to5m
. Sorry for that and thank you for finding it.