/**
 * Shared constants for SiteEvent query hardening.
 *
 * SiteEvent volumes are dominated by two event types that fire on
 * nearly every page load:
 *   • third_party_impact  — performance entries for third-party
 *                           scripts (~24M rows for the canary brand)
 *   • slow_resource       — resource-timing entries for slow fetches
 *                           (~5.9M rows)
 *
 * Together they account for ~99% of the table. Admin surfaces that
 * count or aggregate over SiteEvent must either filter these out or
 * pay the cost of scanning 30M rows on every request — which has
 * already caused the system-health + admin-signals endpoints to hit
 * the 30-second Vercel function timeout.
 *
 * This constant is the canonical source-of-truth list. Any query
 * that reports a "signal count" or "event count" must NOT include
 * these two types in its tally.
 */
export const NOISE_SITE_EVENT_TYPES = [
  "third_party_impact",
  "slow_resource",
] as const;
