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 uprecording rules show different data from raw PromQL #3279
Comments
This comment has been minimized.
This comment has been minimized.
|
It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided. |
brian-brazil
closed this
Oct 11, 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. |
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.
i19 commentedOct 11, 2017
•
edited
What did you do?

I scrape metrics every 10 seconds, and run rules every 10 seconds too.
The raw data is an counter, which is used to counter the request counts, aka QPS
I use grafana to graph the data points for the last 1 hour, with step as 10 seconds
below is my graph
What did you expect to see?
The two lines should be the same at most times.
What did you see instead? Under which circumstances?
The graph generated by recording rules had a lot square, lost some details
Environment
System information:
Linux 3.10.0-327.28.3.el7.ttm.x86_64 x86_64
Prometheus version:
prometheus, version 1.7.1 (branch: release-1.7, revision: dd38135)
build user: i19@Mac
build date: 20170922-09:42:16
go version: go1.8.3
Prometheus configuration file: