Class AegisExhaust

java.lang.Object
com.cockroachlabs.data.continuum.aegis.AegisExhaust

public class AegisExhaust extends Object
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 Details

    • AegisExhaust

      public AegisExhaust(AegisClient client)
  • Method Details

    • record

      public void record(AppEvent event)
      Emit an arbitrary event.
    • recordRetry

      public void recordRetry(String source, int attempt)
      Emit a serialization-retry event attributed to source.
    • recordCircuitOpen

      public void recordCircuitOpen(String source)
      Emit a circuit-open event attributed to source.