metrics

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PublishOntimeWindowLatency = publishWindowLatency.WithLabelValues("ontime")
	PublishLateWindowLatency   = publishWindowLatency.WithLabelValues("late")
)
View Source
var PoetPowDuration = metrics.NewGauge(
	"poet_pow_duration",
	namespace,
	"duration of last PoET Proof of Work in nanoseconds",
	[]string{},
).WithLabelValues()
View Source
var PostDuration = metrics.NewGauge(
	"post_duration",
	namespace,
	"duration of last PoST in nanoseconds",
	[]string{},
).WithLabelValues()
View Source
var PostVerificationLatency = metrics.NewHistogramWithBuckets(
	"post_verification_seconds",
	namespace,
	"post verification in seconds",
	[]string{},
	prometheus.ExponentialBuckets(1, 2, 20),
).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