constants.tsx 385 B

12345678910
  1. import {StatsBucket} from 'sentry/views/monitors/components/overviewTimeline/types';
  2. import {CheckInStatus} from 'sentry/views/monitors/types';
  3. // Orders the status in terms of precedence for showing to the user
  4. export const CHECKIN_STATUS_PRECEDENT = [
  5. CheckInStatus.OK,
  6. CheckInStatus.MISSED,
  7. CheckInStatus.TIMEOUT,
  8. CheckInStatus.ERROR,
  9. ] satisfies Array<keyof StatsBucket>;