Class AegisExhaust
java.lang.Object
com.cockroachlabs.data.continuum.aegis.AegisExhaust
Publishes application-side operational signals ("exhaust") to Cockroach Aegis.
The library sees app-attributed events — serialization retries, circuit
trips — that the cluster alone cannot tie back to a specific service/method.
Call these convenience methods from your retry/circuit hooks (or wire them into
the metrics layer) to feed Aegis. Backed by any AegisClient
(the SimulatedAegisClient by default).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEmit an arbitrary event.voidrecordCircuitOpen(String source) Emit a circuit-open event attributed tosource.voidrecordRetry(String source, int attempt) Emit a serialization-retry event attributed tosource.
-
Constructor Details
-
AegisExhaust
-
-
Method Details
-
record
Emit an arbitrary event. -
recordRetry
Emit a serialization-retry event attributed tosource. -
recordCircuitOpen
Emit a circuit-open event attributed tosource.
-