metrics

package
v0.0.0-...-2143b8a Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockSource

type BlockSource string
var (
	MetricsNamespace = "blob_archiver"

	BlockSourceBackfill  BlockSource = "backfill"
	BlockSourceLive      BlockSource = "live"
	BlockSourceRearchive BlockSource = "rearchive"
)

type Metricer

type Metricer interface {
	Registry() *prometheus.Registry
	RecordProcessedBlock(source BlockSource)
	RecordStoredBlobs(count int)
}

func NewMetrics

func NewMetrics() Metricer

Jump to

Keyboard shortcuts

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