Hi
Can someone help me with the below error?
I tried all the examples given on net and I keep getting this error.
Thank You
vimal@vimal-vm:~/Prometheus/server$ prometheus -version
prometheus, version 0.15.1 (branch: master, revision: 64349aa)
build user: julius@julius-thinkpad
build date: 20150727-17:56:51
go version: 1.4.2
vimal@vimal-vm:~/Prometheus/server$ cat vimal.yml
global:
scrape_interval: 5s
evaluation_interval: 5s
scrape_configs:
- job_name: linux
static_configs:
- targets:
- 'localhost:9090'
labels:
alias: db1
vimal@vimal-vm:~/Prometheus/server$ vi vimal.yml
vimal@vimal-vm:~/Prometheus/server$ ./prometheus -config.file=./vimal.yml
prometheus, version 0.15.1 (branch: master, revision: 64349aa)
build user: julius@julius-thinkpad
build date: 20150727-17:56:51
go version: 1.4.2
INFO[0000] Loading configuration file ./vimal.yml file=main.go line=173
ERRO[0000] Couldn't load configuration (-config.file=./vimal.yml): unknown fields in scrape_config: static_configs file=main.go line=177
ERRO[0000] Note: The configuration format has changed with version 0.14. Please see the documentation (http://prometheus.io/docs/operating/configuration/) and the provided configuration migration tool (https://github.com/prometheus/migrate). file=main.go line=178
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/429b7928-e6c7-4f21-9fec-f36585057a67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.