promauto is not in the vendor tree. Replace promauto.With(reg).NewXxx() with prometheus.NewXxx() + reg.MustRegister() — functionally identical but uses only the already-vendored prometheus/client_golang/prometheus package. Fixes the vendor-mode build error: cannot find module providing package .../prometheus/promauto |
||
|---|---|---|
| .. | ||
| api | ||
| ffmigrate | ||
| import | ||
| webrtc | ||
| version.go | ||