C8 Provider health & quota tracking
- Area
- C — Trust & correctness
- Audience
- operator
- Kind
- feature
- Status
- accepted
- Maturity
- shipped
- Shipped in
- 0.7.0
- Labels
- verification
- Requires
- B5
The feature in the specification · Read at
Requirements
Provider capacity MUST be tracked in addition to credential validity.
exhausted, invalid and unreachable MUST be distinguished, each with its own remedy.
- locked by
- 0.7.0 met
- recorded done
- lemonfibercrates/lemonfiber-core/src/provider/trouble.rs
- cited by
- lemonfiber@ac096b089c
Depletion MUST be warned about before capacity is exhausted.
Block-account exhaustion MUST be projected from observed consumption.
Indexer API and grab caps MUST be tracked, and the reset time MUST be reported when a cap is reached.
Where a provider exposes no capacity information, lemonfiber MUST report unknown and MUST NOT present an estimate as fact.
Health checks MUST NOT consume a meaningful share of the quota they measure.
Provider health MUST be checked when diagnosing an absence of downloads.
- locked by
- 0.7.0 met
- recorded done
- lemonfibercrates/lemonfiber-core/src/app/trace.rs
- cited by
- lemonfiber@994229445d
A timeout MUST NOT be reported as invalid credentials.
- locked by
- 0.7.0 met
- recorded done
- lemonfibercrates/lemonfiber-core/src/provider/trouble.rs
- cited by
- lemonfiber@ac096b089c
Per-indexer status MUST be reported individually.
All indexers failing simultaneously MUST escalate to a suspected local network problem.
A download client configured above the provider's connection limit MUST be reported as a mismatch.
- locked by
- 0.7.0 met
- recorded done
- lemonfibercrates/lemonfiber-core/src/provider/trouble.rs
- cited by
- lemonfiber@ac096b089c
Subscription expiry MUST be warned about where the provider exposes it.
Removing a provider MUST stop its monitoring and clear its conditions.