Prometheus exporter for various metrics about your GitHub repositories, written in Go.
You obviously should get the code
go get -u github.com/metalmatze/githubql_exporter
This should already put a binary called githubql_exporter
into $GOPATH/bin
.
Make sure you copy the .env.example
to .env
and change this one to your preferences.
Now during development I always run:
make install && githubql_exporter
Use make install
which uses go install
in the background to build faster during development.