cortex
cortex copied to clipboard
Does Cortex query rolled up timeseries?
I'm a beginner to Prometheus and Cortex.
I was wondering, let's say:
- I have timeseries A of resolution 1 second
- I then create a roll up rule to roll up A into a new timeseries B of resolution 1 hour
Now, let's say I make a last 48 hours aggregation query on timeseries A in Cortex.
- Will Cortex automatically query B for me instead of A? If so do you know where the code for this is?
- Now let's say I don't create timeseries B. Will Prometheus or Cortex automatically roll up A for me into a higher resolution timeseries and query it?
If this is implemented in Prometheus, not Cortex, would still be really interested in getting the answer!
No, that's not implemented. See #4322 which I think is similar.
This issue has been automatically marked as stale because it has not had any activity in the past 60 days. It will be closed in 15 days if no further activity occurs. Thank you for your contributions.