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

Getting started documentation doesn't work #928

Closed
drawks opened this Issue Jul 23, 2015 · 5 comments

Comments

Projects
None yet
3 participants
@drawks
Copy link

drawks commented Jul 23, 2015

I just tried to follow the "Getting Started" steps from prometheus.io and was greeted with the following when trying to start prometheus the first time:

$ ./prometheus -config.file=prometheus.yml
prometheus, version 0.15.0 (branch: HEAD, revision: a59b7ac)
  build user:       julius@desktop
  build date:       20150722-19:27:55
  go version:       1.4.2
INFO[0000] Loading configuration file prometheus.yml     file=main.go line=173
ERRO[0000] Couldn't load configuration (-config.file=prometheus.yml): open prometheus.yml: no such file or directory  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

While the error does give some advice on how to proceed it seems sub-optimal for the example configuration to not work with the current released version of the software, especially when the step previous was instructions on cloning github and building the master from source.

@drawks

This comment has been minimized.

Copy link
Author

drawks commented Jul 23, 2015

doh! my own mistake

@drawks drawks closed this Jul 23, 2015

@abhiwat

This comment has been minimized.

Copy link

abhiwat commented Aug 6, 2015

I found same error. Could you share you mistake,please???
I think I mistake same thing...

@juliusv

This comment has been minimized.

Copy link
Member

juliusv commented Aug 6, 2015

@abhiwat I'm not @drawks, but from his error message, the error looks quite clear: open prometheus.yml: no such file or directory. It just sounds like there was no prometheus.yml file at all in his working directory :)

@drawks

This comment has been minimized.

Copy link
Author

drawks commented Aug 6, 2015

Yeah, I typoed the filename, then didn't notice the error immediately because I was target fixated on:

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
@lock

This comment has been minimized.

Copy link

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.

@lock lock bot locked and limited conversation to collaborators Mar 24, 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.