settings.ts 668 B

1234567891011121314151617
  1. import type {BadgeType} from 'sentry/components/badge/featureBadge';
  2. import {t} from 'sentry/locale';
  3. export const MODULE_TITLE = t('Queues');
  4. export const DESTINATION_TITLE = t('Destination Summary');
  5. export const RELEASE_LEVEL: BadgeType = 'alpha';
  6. export const releaseLevelAsBadgeProps = {
  7. isAlpha: (RELEASE_LEVEL as BadgeType) === 'alpha',
  8. isBeta: (RELEASE_LEVEL as BadgeType) === 'beta',
  9. isNew: (RELEASE_LEVEL as BadgeType) === 'new',
  10. };
  11. // TODO: Currently this only filters to celery tasks. Add or genericize to include other queue/messaging tasks when available.
  12. export const DEFAULT_QUERY_FILTER = 'span.op:[queue.task.celery,queue.submit.celery]';