metrics

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LineBufferSize = Metricset.NewGauge("reader_node_line_buffer_size_bytes", "Configured normal size in bytes of the buffer reading a single line (block) out of the node process ('reader-node-line-buffer-size')")

LineBufferSize reports the configured 'reader-node-line-buffer-size', the normal size in bytes of the buffer reading lines (blocks) out of the node process.

View Source
var MaxReadBlockSize = Metricset.NewGauge("reader_node_max_read_block_size_bytes", "Largest single line (block) in bytes read out of the node process so far")

MaxReadBlockSize tracks the largest single line (block) in bytes read out of the node process so far. Compare it against LineBufferSize to know how often the line buffer has to grow past its normal size.

View Source
var Metricset = dmetrics.NewSet()

Functions

func NewAppReadiness

func NewAppReadiness(serviceName string) *dmetrics.AppReadiness

func NewHeadBlockNumber

func NewHeadBlockNumber(serviceName string) *dmetrics.HeadBlockNum

func NewHeadBlockRelativeTime added in v1.12.6

func NewHeadBlockRelativeTime(serviceName string) *dmetrics.HeadBlockRelativeTime

func NewHeadBlockTimeDrift

func NewHeadBlockTimeDrift(serviceName string) *dmetrics.HeadTimeDrift

Types

This section is empty.

Jump to

Keyboard shortcuts

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