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 fail to load with yaml unmarshal error in 2.00 alpha.3 release #2913
Comments
xamogast
changed the title
Rules fail to load with yaml unmarshal error
Rules fail to load with yaml unmarshal error in alpha release
Jul 7, 2017
xamogast
changed the title
Rules fail to load with yaml unmarshal error in alpha release
Rules fail to load with yaml unmarshal error in 2.00 alpha.3 release
Jul 7, 2017
This comment has been minimized.
This comment has been minimized.
tinytub
commented
Jul 7, 2017
|
Try use |
This comment has been minimized.
This comment has been minimized.
|
Yes, for more info read: https://prometheus.io/blog/2017/06/21/prometheus-20-alpha3-new-rule-format/ Closing as there is nothing here to do. Please re-open if you think otherwise. |
gouthamve
closed this
Jul 12, 2017
This comment has been minimized.
This comment has been minimized.
wangybelle
commented
Jan 25, 2018
•
|
serverFiles: prometheus.yml: Hello, I installed prometheus 2.0 version. I got following error on the above configurations in prometheus. Please help me. Thanks a lot! level=info ts=2018-01-25T07:25:34.887714618Z caller=kubernetes.go:100 component="target manager" discovery=k8s msg="Using pod service account via in-cluster config" |
This comment has been minimized.
This comment has been minimized.
vdice
commented
Feb 28, 2018
|
@wangybelle I assume this is from using the prometheus helm chart? I ran into this as well. Try:
(Basically, remove the |
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. |
xamogast commentedJul 7, 2017
•
edited
What did you do?
I tried to load my alert ruleset using the 'rule_files:' directive. (see config below) I also tried with the [] notation, and indenting the path.
What did you expect to see?
Proemtheus starting up and rules loading succesfully. (When I start it without including the rule file, it starts)
What did you see instead? Under which circumstances?
Prometheus fails to start. See error message in the log section below. I don't get any errors when using the 1.7.1 release, same config loads any ruleset.
Environment
Linux 4.4.0-1020-aws x86_64
prometheus, version 2.0.0-alpha.3 (branch: master, revision: 70f96b0)
build user: root@5630fb1ab539
build date: 20170622-10:04:46
go version: go1.8.3
alertmanager, version 0.7.1 (branch: master, revision: ab4138299b94c78dc554ea96e2ab28d04b048059)
build user: root@97e9539a4c3f
build date: 20170609-15:31:09
go version: go1.8.3