scripts/metricsgen: add the initial version of metricsgen

This commit is contained in:
William Banfield
2022-05-09 11:32:14 -04:00
parent cec0a97987
commit 2b2c7a6374
8 changed files with 603 additions and 50 deletions
+9
View File
@@ -0,0 +1,9 @@
package basic
import "github.com/go-kit/kit/metrics"
// Metrics contains metrics exposed by this package.
type Metrics struct {
// simple metric that tracks the height of the chain.
Height metrics.Gauge
}