Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prometheus start up error: #2879

Closed
srivimal opened this Issue Jun 27, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@srivimal
Copy link

srivimal commented Jun 27, 2017

Could someone help me with the below error:

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
vimal@vimal-vm:
/Prometheus/server$
vimal@vimal-vm:/Prometheus/server$
vimal@vimal-vm:
/Prometheus/server$
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:
      • '127.0.0.1:9090'
        labels:
        alias: db1
@grobie

This comment has been minimized.

Copy link
Member

grobie commented Jun 27, 2017

Please ask questions on the mailing list.

@grobie grobie closed this Jun 27, 2017

@lock

This comment has been minimized.

Copy link

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.

@lock lock bot locked and limited conversation to collaborators Mar 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.