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 upHow can I step debug prometheus #2298
Comments
This comment has been minimized.
This comment has been minimized.
|
How did you invoke |
This comment has been minimized.
This comment has been minimized.
|
@juliusv yes I called it on the main.go I guess my whole project setup is messed up:
|
This comment has been minimized.
This comment has been minimized.
|
Try |
This comment has been minimized.
This comment has been minimized.
|
well, it would have been too easy if it would just work
Running it is a whole other story:
make build works fine |
This comment has been minimized.
This comment has been minimized.
|
Hmm, The error you're getting reads like it's using a wrong version of the Prometheus client library that doesn't fit together with the Prometheus code base, although it should only be using the correct one that is vendored in Prometheus itself (under |
jinhang
referenced this issue
Dec 26, 2016
Closed
how to use my golang code start prometheus server? #2301
This comment has been minimized.
This comment has been minimized.
|
I found a way. Make sure prometheus is in While |
maklemenz
closed this
Dec 29, 2016
This comment has been minimized.
This comment has been minimized.
candyleer
commented
Apr 17, 2018
|
@maklemenz when i build ,the error is
in intellij |
This comment has been minimized.
This comment has been minimized.
candyleer
commented
Apr 17, 2018
|
@maklemenz i find the solution by |
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 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. |

maklemenz commentedDec 22, 2016
What did you do?
I tried the intellij golang debugger.
I tried to compile prometheus using go build.
What did you expect to see?
I expected to be able to step debug through the code
What did you see instead? Under which circumstances?
Environment
Ubuntu 16.04 LTS