metrics

package
v0.2.5-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// MessageTypeCounter is the number of valid messages per type.
	MessageTypeCounter = metrics.NewCounter(
		"message_type_counter",
		subsystem,
		"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",
		subsystem,
		"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