metrics

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TxReceivedSourceLabel      = `mempool_dumpster_tx_received_total{source="%s"}`
	TxReceivedFirstSourceLabel = `mempool_dumpster_tx_received_first{source="%s"}`
	TxReceivedTrashLabel       = `mempool_dumpster_tx_received_trash{source="%s"}`

	ClickhouseBatchSaveTimeLabel = `mempool_dumpster_clickhouse_batch_save_duration_milliseconds{type="%s"}`
	ClickhouseEntriesSavedLabel  = `mempool_dumpster_clickhouse_entries_saved_total{type="%s"}`
)

Variables

This section is empty.

Functions

func AddClickhouseBatchSaveDurationMilliseconds added in v1.1.0

func AddClickhouseBatchSaveDurationMilliseconds(cntType string, durationMs int64)

func AddClickhouseEntriesSaved added in v1.1.0

func AddClickhouseEntriesSaved(cntType string, cnt int)

func IncClickhouseBatchSaveGiveup added in v1.1.0

func IncClickhouseBatchSaveGiveup()

func IncClickhouseBatchSaveRetries added in v1.1.0

func IncClickhouseBatchSaveRetries()

func IncClickhouseBatchSaveSuccess added in v1.1.0

func IncClickhouseBatchSaveSuccess()

func IncClickhouseError added in v1.1.0

func IncClickhouseError()

func IncClickhouseErrorBatchSave added in v1.1.0

func IncClickhouseErrorBatchSave()

func IncTxReceived

func IncTxReceived(source string)

func IncTxReceivedFirst

func IncTxReceivedFirst(source string)

func IncTxReceivedTrash

func IncTxReceivedTrash(source string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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