Good afternoon.
I am trying to run custom image of prometheus from docker and I am having following error:
level=info ts=2018-09-03T13:46:53.942699542Z caller=main.go:222 msg="Starting Prometheus" version="(version=2.3.2, branch=HEAD, revision=71af5e29e815795e9dd14742ee7725682fa14b7b)"
level=info ts=2018-09-03T13:46:53.943117569Z caller=main.go:223 build_context="(go=go1.10.3, user=root@5258e0bd9cc1, date=20180712-14:02:52)"
level=info ts=2018-09-03T13:46:53.943458738Z caller=main.go:224 host_details="(Linux 4.9.93-boot2docker #1 SMP Thu Jul 19 18:29:50 UTC 2018 x86_64 41cf78bf20e6 (none))"
level=info ts=2018-09-03T13:46:53.943751514Z caller=main.go:225 fd_limits="(soft=1048576, hard=1048576)"
level=info ts=2018-09-03T13:46:53.945879012Z caller=main.go:533 msg="Starting TSDB ..."
level=info ts=2018-09-03T13:46:53.953162692Z caller=web.go:415 component=web msg="Start listening for connections" address=
0.0.0.0:9090level=info ts=2018-09-03T13:46:53.955430332Z caller=main.go:543 msg="TSDB started"
level=info ts=2018-09-03T13:46:53.956360763Z caller=main.go:603 msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml
level=info ts=2018-09-03T13:46:53.957499561Z caller=main.go:402 msg="Stopping scrape discovery manager..."
level=info ts=2018-09-03T13:46:53.957806425Z caller=main.go:416 msg="Stopping notify discovery manager..."
level=info ts=2018-09-03T13:46:53.958072894Z caller=main.go:438 msg="Stopping scrape manager..."
level=info ts=2018-09-03T13:46:53.958259314Z caller=main.go:412 msg="Notify discovery manager stopped"
level=info ts=2018-09-03T13:46:53.958519921Z caller=main.go:398 msg="Scrape discovery manager stopped"
level=info ts=2018-09-03T13:46:53.958730489Z caller=manager.go:464 component="rule manager" msg="Stopping rule manager..."
level=info ts=2018-09-03T13:46:53.959019201Z caller=manager.go:470 component="rule manager" msg="Rule manager stopped"
level=info ts=2018-09-03T13:46:53.959271066Z caller=notifier.go:512 component=notifier msg="Stopping notification manager..."
level=info ts=2018-09-03T13:46:53.959532471Z caller=main.go:587 msg="Notifier manager stopped"
level=info ts=2018-09-03T13:46:53.959752357Z caller=main.go:432 msg="Scrape manager stopped"
level=error ts=2018-09-03T13:46:53.960224713Z caller=main.go:596 err="Error loading config couldn't load configuration (--config.file=/etc/prometheus/prometheus.yml): parsing YAML file /etc/prometheus/prometheus.yml: yaml: line 20: found character that cannot start any token"
I did try to alter my configuration file, but didn't found any success, any guidance or assistance in these matter would be highly appreciable.