metrics

package
v1.0.0-alpha.9 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseMetrics

type DatabaseMetrics struct {
	// The total number of compactions.
	CompactionCount atomic.Uint32
	// Whether compaction is running or not.
	CompactionRunning atomic.Bool
}

DatabaseMetrics defines database metrics over the entire runtime of the node.

type ServerMetrics

type ServerMetrics struct {
	// The number of blocks that have passed the filters.
	Blocks atomic.Uint64
	// The number of confirmed blocks.
	ConfirmedBlocks atomic.Uint64
}

ServerMetrics defines metrics over the entire runtime of the node.

Jump to

Keyboard shortcuts

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