Record - http : CircuitHealth

Maintains the health of the Circuit Breaker.


  • lastRequestSuccess boolean false
  • Whether last request is success or not

  • totalRequestCount int 0
  • Total request count received within the RollingWindow

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

  • startTime Time time:currentTime()
  • Circuit Breaker start time

  • lastRequestTime Time
  • The time that the last request received

  • lastErrorTime Time
  • The time that the last error occurred

  • lastForcedOpenTime Time
  • The time that circuit forcefully opened at last

  • totalBuckets Bucket[] []
  • The discrete time buckets into which the time window is divided