Record - http : CircuitHealth

Maintains the health of the Circuit Breaker.


  • 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 Time (default 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?[] (default [])
  • The discrete time buckets into which the time window is divided