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 rule is different from the recorded expression #3104
Comments
brian-brazil
added
the
kind/question
label
Aug 22, 2017
This comment has been minimized.
This comment has been minimized.
|
I don't see anything odd here, query_range executes every 3s here while I presume your recording rule has a 1 minute interval. These are normal artifacts. |
brian-brazil
closed this
Aug 22, 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.
Cplo commentedAug 22, 2017
What did you do?
I define the following recording rules:
the metric node_exporter:node_time_diff value never changed,but the expression node_time - scalar(node_time{instance="tosqatest1"}) value normally changed by per job scrape interval (1 minute).
What did you expect to see?
recording rule also change normally.
What did you see instead? Under which circumstances?
Environment
System information:
Linux 4.4.73-1.el7.elrepo.x86_64 x86_64
Prometheus version:
prometheus, version 1.7.1 (branch: master, revision: 3afb3ff)
build user: root@0aa1b7fc430d
build date: 20170612-11:44:05
go version: go1.8.3
Prometheus configuration file: