settings.ts 773 B

123456789101112131415161718192021222324
  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 BASE_URL = 'queues';
  5. export const DESTINATION_TITLE = t('Destination Summary');
  6. export const RELEASE_LEVEL: BadgeType = 'alpha';
  7. export const releaseLevelAsBadgeProps = {
  8. isAlpha: (RELEASE_LEVEL as BadgeType) === 'alpha',
  9. isBeta: (RELEASE_LEVEL as BadgeType) === 'beta',
  10. isNew: (RELEASE_LEVEL as BadgeType) === 'new',
  11. };
  12. export const DEFAULT_QUERY_FILTER = 'span.op:[queue.process,queue.publish]';
  13. export const CONSUMER_QUERY_FILTER = 'span.op:queue.process';
  14. export const PRODUCER_QUERY_FILTER = 'span.op:queue.publish';
  15. export enum MessageActorType {
  16. PRODUCER = 'producer',
  17. CONSUMER = 'consumer',
  18. }