github.com/tiagovtristao/plz@v13.4.0+incompatible/src/metrics/stub.go (about) 1 // +build bootstrap 2 3 // Used at initial bootstrap only so we don't depend on Prometheus for that. 4 5 package metrics 6 7 import "github.com/thought-machine/please/src/core" 8 import "time" 9 10 // InitFromConfig does nothing in this file, it's just a stub. 11 func InitFromConfig(config *core.Configuration) {} 12 13 // Record does nothing in this file, it's just a stub. 14 func Record(target *core.BuildTarget, d time.Duration) {} 15 16 // Stop does nothing in this file, it's just a stub. 17 func Stop() {}