Enable Discovery debug logging for production troubleshooting
- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
23
src/Framework/CircuitBreaker/CircuitBreakerInterface.php
Normal file
23
src/Framework/CircuitBreaker/CircuitBreakerInterface.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Framework\CircuitBreaker;
|
||||
|
||||
/**
|
||||
* Interface for Circuit Breaker implementations
|
||||
*
|
||||
* Provides a contract for circuit breaker functionality
|
||||
* that can be implemented by different circuit breaker implementations
|
||||
* or test doubles.
|
||||
*/
|
||||
interface CircuitBreakerInterface
|
||||
{
|
||||
/**
|
||||
* Get metrics for a service
|
||||
*
|
||||
* @param string $service Service name
|
||||
* @return CircuitBreakerMetrics Service metrics
|
||||
*/
|
||||
public function getMetrics(string $service): CircuitBreakerMetrics;
|
||||
}
|
||||
Reference in New Issue
Block a user