BenchSignals

The node's overload and fallback signals, counted and logged once a second (bench-signals {json} at WARN, the level the server logs at), so a benchmark can tell a cliff from plain overload without a metrics stack: the tails' store reads by reason (gap, overflow, idle, start), the refused commands by code (a busy lane or node is wow.command.busy), the timed-out waits by the stage they had reached, the dropped wait signals, the failed forwards, the partitions paused and resumed on a systemic failure, the retries on a downstream's push-back (by subscription and by code), the partitions throttled and unthrottled, the shared states rebuilt with the replay gate's wait, and the stores' fallbacks by capability and reason (a snapshot load failed or given up at its timeout). Only with bench.signals.enabled=true, which every V10 run of the CI benchmark sets; otherwise the node has no observer. The counts are cumulative from the start. The eShop soak's nodes run a copy (SoakSignals in :eshop-e2e's soakTest source set); BenchSignalsCopyTest keeps the two in line.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun observed(event: ObservedEvent)
Link copied to clipboard

The counts as one JSON object: {"t": <seconds since start>, "<kind>": {"<key>": <count>, …}, …}.

Link copied to clipboard
fun start()