github.com/ari-anchor/sei-tendermint@v0.0.0-20230519144642-dc826b7b56bb/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  }