firefly-limiter - v1.0.1
    Preparing search index...

    Interface DependencyHealth

    What a Dependency is doing, in a shape a health endpoint can return.

    interface DependencyHealth {
        circuit: "none" | CircuitState;
        failures: number;
        inFlight: number;
        name: string;
        queued: number;
        retries?: number;
        tokens?: number;
    }
    Index
    circuit: "none" | CircuitState

    "none" when this dependency was configured without a breaker.

    failures: number

    Failures the breaker is currently counting.

    inFlight: number

    Calls running now.

    name: string
    queued: number

    Calls waiting for a concurrency slot.

    retries?: number

    Retries left in the budget, when there is one.

    tokens?: number

    Tokens left in the rate limiter, when there is one.