Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upProm2: weird interplay of rate and recording rules on P2 #2754
Comments
This comment has been minimized.
This comment has been minimized.
|
@fabxc is this an artifact of the new TSDB or did any other changes to rule evaluation happen? |
brian-brazil
added
the
dev-2.0
label
May 25, 2017
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Hard to guess. Possible for sure. Easiest way to find out is whether it disappears with the next alpha. |
This comment has been minimized.
This comment has been minimized.
|
This looks like aliasing, nothing to see here I think. |
This comment has been minimized.
This comment has been minimized.
|
Hmm, setting the resolution to 1sec should probably show if its aliasing or not. |
This comment has been minimized.
This comment has been minimized.
|
@brian-brazil can you elaborate please? It's still there, sadly :( |
This comment has been minimized.
This comment has been minimized.
|
If every time you refresh the page (and thus have slightly different start/end times), then it's aliasing. This is a standard signal processing problem, and not something we can solve in Prometheus. |
brian-brazil
added
the
kind/question
label
Jul 14, 2017
brian-brazil
closed this
Jul 14, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
mwitkow commentedMay 22, 2017
What did you do?
Ran a stack of P1 and P2 side by side. Pointed it at the same service that generates a steady 80 qps on a rate counter. There's also a
::rate1mrecording rule assigned to it. The data is scraped every15s.This screen shows the raw data calculated with a query, and the output of the recording rule
What did you expect to see?
The same graph on P2.
What did you see instead? Under which circumstances?

Instead, the P2 behaviour seems weird, as the query data seems very similar to the one from P1, but the recording rule is different.
Environment
dev-2.0latest head.@fabxc