A callback invoked when the circuit breaker opens (trips) after the consecutive-failure threshold is reached, so dashboards can plot trip frequency and time-to-half-open without scraping CIRCUIT_OPEN_ERROR codes.
CIRCUIT_OPEN_ERROR
RequestOptions.onCircuitOpen
A callback invoked when the circuit breaker opens (trips) after the consecutive-failure threshold is reached, so dashboards can plot trip frequency and time-to-half-open without scraping
CIRCUIT_OPEN_ERRORcodes.