Record: CircuitHealth

Maintains the health of the Circuit Breaker.

Closed record

Fields

  • lastRequestSuccess boolean(default false)
  • Whether last request is success or not

  • totalRequestCount int(default 0)
  • Total request count received within the RollingWindow

  • lastUsedBucketId int(default 0)
  • ID of the last bucket used in Circuit Breaker calculations

  • startTime Utc(default time:utcNow())
  • Circuit Breaker start time

  • lastRequestTime Utc?
  • The time that the last request received

  • lastErrorTime Utc?
  • The time that the last error occurred

  • lastForcedOpenTime Utc?
  • The time that circuit forcefully opened at last

  • totalBuckets Bucket?[ ](default [])
  • The discrete time buckets into which the time window is divided