Description
Instrument all wallet service entry points with metrics (request rate, latency percentiles, error rate, cache level, registry size) and expose them through the existing metrics.Provider infrastructure already present in the codebase. Define alert thresholds that trigger when request rates or resource utilisation approach saturation. Pair this with a circuit-breaker pattern on the wallet service: when error rates or latency exceed configured thresholds, the service temporarily rejects new requests and returns a back-pressure signal to callers. This limits blast radius during an active DoS attempt and gives operators visibility to detect and respond before full exhaustion occurs.
Description
Instrument all wallet service entry points with metrics (request rate, latency percentiles, error rate, cache level, registry size) and expose them through the existing
metrics.Providerinfrastructure already present in the codebase. Define alert thresholds that trigger when request rates or resource utilisation approach saturation. Pair this with a circuit-breaker pattern on the wallet service: when error rates or latency exceed configured thresholds, the service temporarily rejects new requests and returns a back-pressure signal to callers. This limits blast radius during an active DoS attempt and gives operators visibility to detect and respond before full exhaustion occurs.