github.com/badrootd/nibiru-cometbft@v0.37.5-0.20240307173500-2a75559eee9b/scripts/metricsgen/testdata/basic/metrics.go (about) 1 package basic 2 3 import "github.com/go-kit/kit/metrics" 4 5 //go:generate go run ../../../../scripts/metricsgen -struct=Metrics 6 7 // Metrics contains metrics exposed by this package. 8 type Metrics struct { 9 // simple metric that tracks the height of the chain. 10 Height metrics.Gauge 11 }