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 upPrometheus Startup Error #1981
Comments
This comment has been minimized.
This comment has been minimized.
|
You have to put a space after the Also make sure that you use the correct indentation levels. These are not valid. global:
scrape_interval: 5s
evaluation_interval: 5s
scrape_configs:
- job_name: linux
static_configs:
- targets:
- '192.17.36.189:3306'
labels:
alias: db1Configuration documentation: https://prometheus.io/docs/operating/configuration |
fabxc
closed this
Sep 12, 2016
This comment has been minimized.
This comment has been minimized.
|
Thanks fabxc. I have started it, but i'm unable to open the prometheus link in my browser. It says site can't be reached. I know these doubts are silly. Would be glad if you could help me. Does it have to do with proxy or anything? |
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 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. |
tesla747 commentedSep 12, 2016
Trying to start Prometheus?
What did you expect to see?
I'm trying to start prometheus, im getting the below error
INFO[0000] Starting prometheus (version=1.1.2, branch=master, revision=36fbdcc30fd13ad796381dc934742c559feeb1b5) source=main.go:73
INFO[0000] Build context (go=go1.6.3, user=root@a74d279a0d22, date=20160908-13:12:43) source=main.go:74
INFO[0000] Loading configuration file prometheus.yml source=main.go:221
ERRO[0000] Error loading config: couldn't load configuration (-config.file=prometheus.yml): yaml: line 6: found character that cannot start any token source=main.go:126
RHEL 6
Linux 2.6.32-573.12.1.el6.x86_64 x86_64
prometheus, version 1.1.2 (branch: master, revision: 36fbdcc)
build user: root@a74d279a0d22
build date: 20160908-13:12:43
go version: go1.6.3
NA