stable_responsePerformance matches expected baselines
Response characteristics match established performance benchmarks.
Using stable response as a health check
typescript
// stable_response fires when response characteristics match
// your established performance benchmarks — duration, payload size, query count.
const monitor = createMonitor({
emitPositiveSignals: true,
exporter: (event) => {
if (event.signals.includes('stable_response')) {
metrics.increment('db.health.stable', { route: event.requestContext?.path });
}
},
});
// Track the ratio of stable_response to total requests as a health score
// A drop in this ratio is an early warning of degradation