-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
The prometheus client defaults to a 15 minute interval for collecting metrics.
We should make this configurable and expose this option to the user.
Where this gets tricky is that, when the metrics are processed we need to know this interval to correctly calculate the duration (otherwise the duration will be off by whatever the interval is) and also to check if a pod was stopped in between.
The metrics processor need to know the frequency at which the metrics were collected (perhaps we could add some metadata to the metrics dump and then read it later) before it can process those.