(trying to reference the current commit)
99c99a8
It looks like prometheus has changed its dependency tree, and when I download the repo from this commit and run 'make' it fails with the above error.
updating prometheus:
- import "github.com/prometheus/client_golang/prometheus"
+ import "github.com/prometheus/client_golang/prometheus/promhttp"
and changing line 27
- Handler: prometheus.Handler()
+ Handler: promhttp.Hanlder()
fixes the error, but then introduces new dependency issues.
The build then fails on go version 1.7 due to the missing math/bits standard library.
Updating to go 1.9 fixes the math/bits dependency but is missing bits.Add64 and bits.Mul64
Updating to go 1.12 fixes the dependency issues without breaking dep
Conclusion: updating to go 1.12 and the above patches allows the container to build and run
Should I submit a pull request with the above changes?