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 upUpgrade from 2.4.3 to 2.5.0 fails #4839
Comments
This comment has been minimized.
This comment has been minimized.
|
You've got a rule that is invalid:
Since v2.5.0, this is a hard fail of Prometheus. This is noted in the changelog: "Rules: Error out at load time for invalid templates, rather than at evaluation time. #4537". |
This comment has been minimized.
This comment has been minimized.
|
You're right - the failing rule was it. |
davidkarlsen
closed this
Nov 9, 2018
This comment has been minimized.
This comment has been minimized.
|
Can we reopen this? It was a problem for us too. That should be checked BEFORE loading the TSDB, so that is errors nicely and not after 5 minutes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
davidkarlsen commentedNov 8, 2018
•
edited
Bug Report
What did you do?
Upgrade from 2.4.3 to 2.5.0
What did you expect to see?
Startup OK as before.
What did you see instead? Under which circumstances?
prometheus answer with HTTP500
Environment
docker - using your image of docker-hub
uname -srm
Linux 3.10.0-862.14.4.el7.x86_64 x86_64
2.5.0
https://privatebin.net/?8a7768837a19f7ba#vZURcadkpNJDLdhQLo7EQM0sFeKTQ02e9qwLTlfd0Sg=
From the log - notice the undefined function rate.
The rule it barfs at is: