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 upRule evaluation warnings prevent clean shutdown #1343
Comments
This comment has been minimized.
This comment has been minimized.
|
Which revision are you running? (Shown on the /status page in the web UI.) |
This comment has been minimized.
This comment has been minimized.
|
I am running 0.16.2 |
This comment has been minimized.
This comment has been minimized.
|
Further up in the logfile, can you see any messages about suspended ingestion? (There are usually a lot of them.) Then it is #1319 . |
beorn7
added
the
bug
label
Jan 25, 2016
This comment has been minimized.
This comment has been minimized.
|
I do not see any logs mentioning suspended ingestion, but when I looked at the status this morning I did notice it had been over 60 hours since the last scrape of my targets. The long time since last scrape is what prompted me to stop Prometheus. |
This comment has been minimized.
This comment has been minimized.
|
@spyrexd We need to know the revision rather than the version since the version is only bumped on releases. Please check the status page again for the revision row. I do believe that this logging was already fixed and similarly the blocked shutdown, which is unrelated. |
This comment has been minimized.
This comment has been minimized.
|
The revision is 287d9b2 |
This comment has been minimized.
This comment has been minimized.
|
We made some changes that might affect this. Can you please build from |
This comment has been minimized.
This comment has been minimized.
|
I assume this is fixed. Please re-open if that's not the case. |
beorn7
closed this
Feb 13, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 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. |
spyrexd commentedJan 25, 2016
A sigterm was sent to the prometheus container to cleanly shutdown the process:
docker kill --signal="SIGTERM" prom
After the shutting down message the following log message is logged for each alert rule that is configured:
level=warning msg="Error while evaluating rule "ALERT CritDiskUsage\n\tIF collectd_df_percent_bytes{type=\"free\"} < 5\n\tWITH {severity=\"critical\"}\n\tSUMMARY \"Warning Disk Volume {{$labels.df}} on {{$labels.exported_instance}} is low on space\"\n\tDESCRIPTION \"Waarning Disk Volume {{$lables.df}} on {{$lables.exported_instance}} has less than 5% disk available. Current Available {{$value}}%\"\n\tRUNBOOK \"\"": query was canceled in query queue" source="manager.go:257"
The logs messages keep repeating and prometheus does not shutdown.