As33
@periodic/
arsenic
healthy_hot_path
ℹ️ Info

High-frequency query is fast and stable

This query runs frequently and performs well. Continue monitoring for regressions.

What triggers this signal

typescript
// healthy_hot_path fires when a high-frequency query is also fast and stable.
// It's the resolved state of hot_path — your optimisation worked.

const monitor = createMonitor({
  emitPositiveSignals: true,
  exporter: (event) => {
    if (event.signals.includes('hot_path')) {
      // Still needs work
      logger.warn('hot_path detected', { model: event.model, durationMs: event.durationMs });
    }
    if (event.signals.includes('healthy_hot_path')) {
      // High-frequency and fast — this is the goal state
      metrics.increment('db.hot_path.healthy', { model: event.model });
    }
  },
});