public

package
v1.6.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 2 Imported by: 0

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()
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL