Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prom2: weird interplay of rate and recording rules on P2 #2754

Closed
mwitkow opened this Issue May 22, 2017 · 8 comments

Comments

Projects
None yet
4 participants
@mwitkow
Copy link
Contributor

mwitkow commented May 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 ::rate1m recording rule assigned to it. The data is scraped every 15s.

This screen shows the raw data calculated with a query, and the output of the recording rule

simlea1_weird_timing

What did you expect to see?

The same graph on P2.

What did you see instead? Under which circumstances?
simleaf2_weird_timing

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.0 latest head.

@fabxc

@mwitkow

This comment has been minimized.

Copy link
Contributor Author

mwitkow commented May 22, 2017

@fabxc is this an artifact of the new TSDB or did any other changes to rule evaluation happen?

@mwitkow

This comment has been minimized.

Copy link
Contributor Author

mwitkow commented Jun 8, 2017

@fabxc do you think this may be related to #2776 ?

@fabxc

This comment has been minimized.

Copy link
Member

fabxc commented Jun 8, 2017

Hard to guess. Possible for sure. Easiest way to find out is whether it disappears with the next alpha.

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Jun 8, 2017

This looks like aliasing, nothing to see here I think.

@gouthamve

This comment has been minimized.

Copy link
Member

gouthamve commented Jun 10, 2017

Hmm, setting the resolution to 1sec should probably show if its aliasing or not.

@mwitkow

This comment has been minimized.

Copy link
Contributor Author

mwitkow commented Jun 13, 2017

@brian-brazil can you elaborate please?

It's still there, sadly :(

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Jun 13, 2017

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.

@lock

This comment has been minimized.

Copy link

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.

@lock lock bot locked and limited conversation to collaborators Mar 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.