prongs
GitHub

incident.degraded

It worked, but worse than it should: a fallback, a retry, a slow dependency

Profile

Written with

Level

warn
Read https://www.prongs.dev/docs/intents/incident/degraded.md and tell me whether incident.degraded fits what I am building.

Incident intents

Example

TS
log('incident.degraded', 'Search fell back to the cached index', { tookMs: 4200 });
Writes
TS
{
"intent": "incident.degraded",
"level": "warn",
"alert": false,
"message": "Search fell back to the cached index",
"data": {
"tookMs": 4200
},
"time": "2026-10-09T12:00:00.000Z"
}

Connections

Choosing between neighbours

  • If it is

    Use

  • It worked, but worse than it should: a fallback, a retry, a slow dependency

    incident.degraded
  • Something that recovered or fell back

    rather than incident.failed
    incident.degraded

For registry authors

Starter intents. These are the intents prongs add logs puts in your registry. Change levels through the level.* intents, and point log() at your logger.

The entry prongs add logs writes into your registry. Change the level through its level.* ref.

TS
'incident.degraded': {
kind: 'semantic',
description: 'It worked, but worse than it should: a fallback, a retry, a slow dependency',
refs: ['level.warn'],
},