settings.ts 952 B

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