As33
@periodic/
arsenic
stable_response
ℹ️ Info

Performance 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