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 to use my golang code start prometheus server? #2301
Comments
This comment has been minimized.
This comment has been minimized.
_/home/jinhang/gowork/prometheus/cmd/prometheus./main.go:204: cannot use notifier (type *notifier.Notifier) as type "github.com/prometheus/client_golang/prometheus".Collector in argument to "github.com/prometheus/client_golang/prometheus".MustRegister: |
This comment has been minimized.
This comment has been minimized.
|
maybe I have the porblem with |
This comment has been minimized.
This comment has been minimized.
|
go version go1.7.1 linux/386 |
This comment has been minimized.
This comment has been minimized.
|
prometheus/web_ui$ go build ./server/AmServer.go |
jinhang
closed this
Dec 28, 2016
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. |
jinhang commentedDec 26, 2016
•
edited
I want use my golang project's main() start prometheus server (call cmd/promethus/main.go Main())