gizmo
gizmo copied to clipboard
Build errors
Even with using and trying to enforce:
[[override]]
name = "github.com/prometheus/client_golang"
version = "0.9.2"
I'm still getting errors:
../gizmo/server/simple_server.go:103:2: undefined: prometheus.InstrumentHandlerWithOpts
../gizmo/server/simple_server.go:123:3: undefined: prometheus.InstrumentHandler
../gizmo/server/simple_server.go:123:46: undefined: prometheus.UninstrumentedHandler
Any help would be greatly appreciated!
Is this still an issue? What are the steps necessary to recreate?
Hey @alecgarza96,
I ended up fixing this in December 2020 by running my apps with dep
instead go mod
. I just had to override the Prometheus client to the pinned version by gizmo and worked well.
[[override]]
name = "github.com/prometheus/client_golang"
version = "0.9.2"
I appreciate the follow up.