settings.ts 826 B

12345678910111213141516171819202122
  1. import {t} from 'sentry/locale';
  2. import {ModuleName} from 'sentry/views/insights/types';
  3. export const MODULE_TITLE = t('Requests');
  4. export const DATA_TYPE = t('Request');
  5. export const DATA_TYPE_PLURAL = t('Requests');
  6. export const BASE_URL = 'http';
  7. export const NULL_DOMAIN_DESCRIPTION = t('Unknown Domain');
  8. export const CHART_HEIGHT = 160;
  9. export const SPAN_ID_DISPLAY_LENGTH = 16;
  10. export const BASE_FILTERS = {
  11. 'span.module': ModuleName.HTTP,
  12. 'span.op': 'http.client', // `span.module` alone isn't enough, since some SDKs create other `http.*` spans like `http.client.response_body`
  13. };
  14. export const MODULE_DESCRIPTION = t(
  15. 'Monitor outgoing HTTP requests and investigate errors and performance bottlenecks tied to domains.'
  16. );
  17. export const MODULE_DOC_LINK = 'https://docs.sentry.io/product/insights/requests/';