Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var BalanceCreatedTotal metric.Int64Counter
BalanceCreatedTotal counts newly created balances.
var ChainBacklog metric.Int64Gauge
ChainBacklog is the number of transactions still waiting to be sealed into the hash chain (the chainer's backlog).
var ChainHeadSeq metric.Int64Gauge
ChainHeadSeq is the sequence number of the chain head — total transactions sealed.
var ChainLagSeconds metric.Float64Gauge
ChainLagSeconds is the age of the chain head: seconds since the chainer last advanced it.
var HotpairsContentionTotal metric.Int64Counter
HotpairsContentionTotal counts lock contention events.
var HotpairsLaneRoutedTotal metric.Int64Counter
HotpairsLaneRoutedTotal counts transactions routed to queue lanes. Attributes: lane (normal, hot)
var InflightCommitTotal metric.Int64Counter
InflightCommitTotal counts committed inflight transactions.
var InflightVoidTotal metric.Int64Counter
InflightVoidTotal counts voided inflight transactions.
var QueueBackpressureRejectedTotal metric.Int64Counter
QueueBackpressureRejectedTotal counts enqueue attempts rejected by backpressure.
var QueueEnqueuedTotal metric.Int64Counter
QueueEnqueuedTotal counts transactions enqueued for async processing. Attributes: queue_name
var QueueProcessingDuration metric.Float64Histogram
QueueProcessingDuration records the time spent processing a transaction in the worker. Attributes: result (success, error, retry)
var SearchBackpressureRetryTotal metric.Int64Counter
SearchBackpressureRetryTotal counts indexing operations deferred after Typesense rejects a write at its native memory limit. Attribute: source (worker, reindex)
var TransactionBatchSize metric.Int64Histogram
TransactionBatchSize records the number of transactions in a coalesced batch.
var TransactionBatchTotal metric.Int64Counter
TransactionBatchTotal counts coalescing attempts. Attributes: result (success, failure, skipped)
var TransactionDuration metric.Float64Histogram
TransactionDuration records the wall-clock time of RecordTransaction(). Attributes: status
var TransactionRejectedTotal metric.Int64Counter
TransactionRejectedTotal counts rejected transactions broken down by reason. Attributes: reason (insufficient_funds, overdraft_limit, lock_contention, max_retries)
var TransactionTotal metric.Int64Counter
TransactionTotal counts transactions that reach a terminal or significant state. Attributes: status (APPLIED, REJECTED, INFLIGHT, VOID, COMMIT), currency
var WorkerRetriesTotal metric.Int64Counter
WorkerRetriesTotal counts worker retry events. Attributes: reason (insufficient_funds, lock_contention, other)
Functions ¶
Types ¶
This section is empty.