chaos

retrieve the current preemption status

Returns the current cordon/drain status: state (inactive / draining / drained), the number of in-flight requests, the remaining drain window in milliseconds and the active signalling mode.

get/mockserver/preemption

Request

  • Base URL: http://localhost:1080
  • URL: http://localhost:1080/mockserver/preemption
  • Auth: none declared

Response

preemption status returned

state'inactive' | 'draining' | 'drained'
inFlightinteger

number of requests currently in flight

drainRemainingMillisinteger

milliseconds left in the drain window

mode'reject503' | 'goaway' | 'both'

active signalling mode (omitted when inactive)

Changes

No recorded changes to this operation across all 1 revision of this API.