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 upcomponent="rule manager" msg="loading groups failed" err="yaml: unmarshal errors:\n line 1: cannot unmarshal !!seq into rulefmt.RuleGroups" #3670
Comments
This comment has been minimized.
This comment has been minimized.
|
If I read ok, you miss the
Also you can use |
This comment has been minimized.
This comment has been minimized.
|
Yep, as @simonpasquier pointed out this looks like a config problem rather than an issue with the prometheus server. I am closing this as it makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided. Feel free to reopen if you think this is due to a bug in Prometheus. |
gouthamve
closed this
Jan 10, 2018
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. |
MJMcGuinness commentedJan 9, 2018
What did you do?**
Tried to add a rules file and update the config
What did you expect to see?**
Prometheus server to start running as normal
What did you see instead? Under which circumstances?**
./prometheus --config.file=prometheus.yml
level=info ts=2018-01-09T14:19:25.071064072Z caller=main.go:215 msg="Starting Prometheus" version="(version=2.0.0, branch=HEAD, revision=0a74f98628a0463dddc90528220c94de5032d1a0)"
level=info ts=2018-01-09T14:19:25.071210482Z caller=main.go:216 build_context="(go=go1.9.2, user=root@615b82cb36b6, date=20171108-07:11:59)"
level=info ts=2018-01-09T14:19:25.071246348Z caller=main.go:217 host_details="(Linux 3.10.0-693.11.6.el7.x86_64 #1 SMP Thu Dec 28 14:23:39 EST 2017 x86_64 corklab-16.cork.ie.ibm.com (none))"
level=info ts=2018-01-09T14:19:25.08096863Z caller=main.go:314 msg="Starting TSDB"
level=info ts=2018-01-09T14:19:25.081006157Z caller=targetmanager.go:71 component="target manager" msg="Starting target manager..."
level=info ts=2018-01-09T14:19:25.080911169Z caller=web.go:380 component=web msg="Start listening for connections" address=0.0.0.0:9090
level=warn ts=2018-01-09T14:19:25.614524237Z caller=head.go:317 component=tsdb msg="unknown series references in WAL samples" count=46668
level=info ts=2018-01-09T14:19:25.616529594Z caller=main.go:326 msg="TSDB started"
level=info ts=2018-01-09T14:19:25.616652664Z caller=main.go:394 msg="Loading configuration file" filename=prometheus.yml
level=error ts=2018-01-09T14:19:25.618426689Z caller=manager.go:485 component="rule manager" msg="loading groups failed" err="yaml: unmarshal errors:\n line 1: cannot unmarshal !!seq into rulefmt.RuleGroups"
level=error ts=2018-01-09T14:19:25.618522118Z caller=main.go:413 msg="Failed to apply configuration" err="error loading rules, previous rule set restored"
level=error ts=2018-01-09T14:19:25.618712627Z caller=main.go:356 msg="Error loading config" err="one or more errors occurred while applying the new configuration (--config.file=prometheus.yml)"
Environment**
Linux (Red Hat 4.8.5-16)
System information:
Linux 3.10.0-693.11.6.el7.x86_64 x86_64
Prometheus version:
prometheus, version 2.0.0 (branch: HEAD, revision: 0a74f98)
build user: root@615b82cb36b6
build date: 20171108-07:11:59
go version: go1.9.2
Alertmanager version:
insert output of
alertmanager --versionhere (if relevant to the issue)Prometheus configuration file: