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 error #3342
Comments
This comment has been minimized.
This comment has been minimized.
|
Hi, the rule format changed from 1.x. See: https://prometheus.io/blog/2017/06/21/prometheus-20-alpha3-new-rule-format/ You can use promtool to automatically convert the rules: |
gouthamve
closed this
Oct 24, 2017
This comment has been minimized.
This comment has been minimized.
|
promtool check rules /tmp/admin.rule /bin $ cat /tmp/admin.rule ALERT HighNetworkTraffic |
This comment has been minimized.
This comment has been minimized.
|
line 1: cannot unmarshal !!str |
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. |
timchenxiaoyu commentedOct 24, 2017
•
edited
caller=manager.go:485 component="rule manager" msg="loading groups failed" err="yaml: unmarshal errors:\n line 1: cannot unmarshal !!str
ALERT c...into rulefmt.RuleGroupsprometheus version is 2.0