metrics

package
v0.2.1-beta.4 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MetricsSubsystem is a subsystem shared by all metrics exposed by this package.
	MetricsSubsystem = "hare"
)

Variables

View Source
var (
	// MessageTypeCounter is the number of valid messages per type.
	MessageTypeCounter = metrics.NewCounter(
		"message_type_counter",
		MetricsSubsystem,
		"Number of valid messages sent to processing for each type",
		[]string{"type_id", "layer", "reporter"},
	)

	// TotalConsensusProcesses is the total number of current consensus processes.
	TotalConsensusProcesses = metrics.NewGauge(
		"total_consensus_processes",
		MetricsSubsystem,
		"The total number of current consensus processes running",
		[]string{"layer"},
	)
)

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