Class: Stoplight::Infrastructure::Memory::Storage::RecoveryMetrics
- Inherits:
-
UnboundedMetrics
- Object
- UnboundedMetrics
- Stoplight::Infrastructure::Memory::Storage::RecoveryMetrics
- Defined in:
- lib/stoplight/infrastructure/memory/storage/recovery_metrics.rb,
sig/_private/stoplight/infrastructure/memory/storage/recovery_metrics.rbs
Overview
When a circuit is RED (open), Stoplight periodically sends "recovery probes" to test whether the protected service has recovered. These test requests have different semantics than normal requests and their metrics are tracked separately.
Instance Attribute Summary
Attributes inherited from UnboundedMetrics
#clock, #consecutive_errors, #consecutive_successes, #last_error, #last_success_at, #mutex
Method Summary
Methods inherited from UnboundedMetrics
#clear, #initialize, #last_error_at, #metrics_snapshot, #record_failure, #record_success
Methods included from Domain::_MetricsStore
#clear, #metrics_snapshot, #record_failure, #record_success
Constructor Details
This class inherits a constructor from Stoplight::Infrastructure::Memory::Storage::UnboundedMetrics