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 upRules page returns error in V2.3.2 #4407
Comments
This comment has been minimized.
This comment has been minimized.
|
Hmm, that is weird. Can you share your Prometheus logs and full configuration (including rules)? |
This comment has been minimized.
This comment has been minimized.
|
Logs: With version 2.3.1 everything works fine. |
This comment has been minimized.
This comment has been minimized.
|
The logs show that Prometheus is built from 6a464ae which isn't v2.3.2. Can you retry with the "official" binary?
|
This comment has been minimized.
This comment has been minimized.
|
Confirmed broken in master, working in 2.3.2. |
This comment has been minimized.
This comment has been minimized.
|
Badumm-tssss: I broke this in 9e3171f Renamed some functions in there, but wasn't aware they were being called from a template! |
This comment has been minimized.
This comment has been minimized.
|
(gonna work on a fix) |
This comment has been minimized.
This comment has been minimized.
|
Thanks guys! |
juliusv
added a commit
that referenced
this issue
Jul 25, 2018
juliusv
referenced this issue
Jul 25, 2018
Merged
Update method name in rules template, fix rendering #4416
juliusv
closed this
in
#4416
Jul 25, 2018
juliusv
added a commit
that referenced
this issue
Jul 25, 2018
mknapphrt
added a commit
to mknapphrt/prometheus
that referenced
this issue
Jul 26, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 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. |
BartVerc commentedJul 23, 2018
Bug Report
What did you do?
Opening prometheus in a browser on
/rules.What did you expect to see?
A page with all rules defined in the configuration.
What did you see instead? Under which circumstances?
I got the response:
error executing template rules.html: template: rules.html:79:57: executing "content" at <.GetEvaluationTime.S...>: can't evaluate field GetEvaluationTime in type *rules.GroupEnvironment
Dockerhub: prom/prometheus:v2.3.2
version 2.3.2
go1.10.3
Linux 4.13.0-41-generic x86_64
version 2.3.2