metrics

package
v0.33.2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package metrics provides prometheus metrics primitives to the rest of the app

Index

Constants

This section is empty.

Variables

View Source
var (
	GetHeaderLatencyHistogram         otelapi.Float64Histogram
	GetPayloadLatencyHistogram        otelapi.Float64Histogram
	PublishBlockLatencyHistogram      otelapi.Float64Histogram
	RegisterValidatorLatencyHistogram otelapi.Float64Histogram

	SubmitNewBlockLatencyHistogram           otelapi.Float64Histogram
	SubmitNewBlockReadLatencyHistogram       otelapi.Float64Histogram
	SubmitNewBlockDecodeLatencyHistogram     otelapi.Float64Histogram
	SubmitNewBlockPrechecksLatencyHistogram  otelapi.Float64Histogram
	SubmitNewBlockSimulationLatencyHistogram otelapi.Float64Histogram
	SubmitNewBlockRedisLatencyHistogram      otelapi.Float64Histogram

	SubmitNewBlockRedisPayloadLatencyHistogram otelapi.Float64Histogram
	SubmitNewBlockRedisTopBidLatencyHistogram  otelapi.Float64Histogram
	SubmitNewBlockRedisFloorLatencyHistogram   otelapi.Float64Histogram

	CurrentHeadSlotGauge otelapi.Int64Gauge

	SubmitNewBlockCount    otelapi.Int64Counter
	GetHeaderCount         otelapi.Int64Counter
	GetPayloadCount        otelapi.Int64Counter
	RegisterValidatorCount otelapi.Int64Counter
	MissedSlotCount        otelapi.Int64Counter

	BuilderDemotionCount otelapi.Int64Counter

	SubmitNewBlockBidValueHistogram    otelapi.Float64Histogram
	SubmitNewBlockPayloadSizeHistogram otelapi.Float64Histogram
	SubmitNewBlockSlotAgeHistogram     otelapi.Float64Histogram
	DatabaseSaveLatencyHistogram       otelapi.Float64Histogram
)

Functions

func Setup

func Setup(ctx context.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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