settings.ts 739 B

1234567891011121314151617181920212223
  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. export const DEFAULT_QUERY_FILTER = 'span.op:[queue.process,queue.publish]';
  12. export const CONSUMER_QUERY_FILTER = 'span.op:queue.process';
  13. export const PRODUCER_QUERY_FILTER = 'span.op:queue.publish';
  14. export enum MessageActorType {
  15. PRODUCER = 'producer',
  16. CONSUMER = 'consumer',
  17. }