Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Connections = promauto.With(Registry).NewGaugeVec(prometheus.GaugeOpts{ Namespace: "smh", Name: "connections", }, []string{"dir"}) InitStart = initSize.WithLabelValues("start") InitEnd = initSize.WithLabelValues("complete") PostSeconds = promauto.With(Registry).NewGaugeVec(prometheus.GaugeOpts{ Namespace: "smh", Name: "post_seconds", }, []string{}).WithLabelValues() Version = promauto.With(Registry).NewGaugeVec(prometheus.GaugeOpts{ Namespace: "smh", Name: "version", }, []string{"version"}) CurrentBeacon = promauto.With(Registry).NewGaugeVec(prometheus.GaugeOpts{ Namespace: "smh", Subsystem: "beacon", Name: "current", }, []string{"beacon"}) NextBeacon = promauto.With(Registry).NewGaugeVec(prometheus.GaugeOpts{ Namespace: "smh", Subsystem: "beacon", Name: "next", }, []string{"beacon"}) SmeshingOptsProvingNonces = promauto.With(Registry).NewGaugeVec(prometheus.GaugeOpts{ Namespace: "smh", Name: "smeshing_opts_proving_nonces", }, []string{}).WithLabelValues() SmeshingOptsProvingThreads = promauto.With(Registry).NewGaugeVec(prometheus.GaugeOpts{ Namespace: "smh", Name: "smeshing_opts_proving_threads", }, []string{}).WithLabelValues() )
View Source
var Registry = prometheus.NewRegistry()
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.