mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-10 23:10:59 +00:00
This is a port of #8470 and #8501 from the former mainline branch, in support of #2600 and #9076. No additional changes other than checking out the code have been implemented in this PR. A subsequent PR will incorporate this code.
12 lines
278 B
Go
12 lines
278 B
Go
package basic
|
|
|
|
import "github.com/go-kit/kit/metrics"
|
|
|
|
//go:generate go run ../../../../scripts/metricsgen -struct=Metrics
|
|
|
|
// Metrics contains metrics exposed by this package.
|
|
type Metrics struct {
|
|
// simple metric that tracks the height of the chain.
|
|
Height metrics.Gauge
|
|
}
|