Hello,
I am trying to get my head around an issue that I am having.
Let's say I have metrics A, B and C that are scraped every 15 seconds. At the end of each hours we need to use metrics A, B and C to create metric D. The D metric needs to be timestamped at the beginning of the hour. Let says the metric D is calculated at the 14h59, it should be timestamped at 14h00.
In other words, is there a way to save a metric at the end of each hour and can it be timestamped as it was scraped at the beginning of the hour?
I was looking toward using the recording rules, but I haven't found anything that would do it.
Is prometheus made to support that?
Cheers,
Mathieu