export const METRIC = {
  pollExecuted: "poll.executed",
  pollSkipped: "poll.skipped",
  pollError: "poll.error",
  pollEnqueued: "poll.enqueued",
  pollDuration: "poll.duration",
  pollAuthFailure: "poll.auth_failure",
  integrationAuthOk: "integration.auth_ok",
  queueDepth: "queue.depth",
  queueBusy: "queue.busy",
  queueCurrentJobAge: "queue.current_job_age",
  queueHighLoad: "queue.high_load",
  jobsReceived: "jobs.received",
  jobsCompleted: "jobs.completed",
  jobsRetried: "jobs.retried",
  jobsDeduplicated: "jobs.deduplicated",
  jobsDuration: "jobs.duration",
  // Phase 2 — pipeline usage metrics
  repoSelected: "repo.selected",
  prOpened: "pr.opened",
  fixTriageVerdict: "fix.triage_verdict",
  fixOutcome: "fix.outcome",
  fixBuildValidation: "fix.build_validation",
  safetyViolation: "safety.violation",
  prewarmWarmed: "prewarm.warmed",
  prewarmDuration: "prewarm.duration",
  agentInvocations: "agent.invocations",
  agentDuration: "agent.duration",
  prCommentHandled: "pr_comment.handled",
  prMentionHandled: "pr_mention.handled",
  slackMentionHandled: "slack_mention.handled",
  prCommentDuration: "pr_comment.duration",
  prMentionDuration: "pr_mention.duration",
  slackMentionDuration: "slack_mention.duration",
} as const;
