settings.ts 1012 B

1234567891011121314151617181920212223242526
  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 FRONTEND_MODULE_TITLE = t('Network Requests');
  5. export const MODULE_SIDEBAR_TITLE = t('Requests');
  6. export const DATA_TYPE = t('Request');
  7. export const DATA_TYPE_PLURAL = t('Requests');
  8. export const BASE_URL = 'http';
  9. export const NULL_DOMAIN_DESCRIPTION = t('Unknown Domain');
  10. export const CHART_HEIGHT = 160;
  11. export const SPAN_ID_DISPLAY_LENGTH = 16;
  12. export const BASE_FILTERS = {
  13. 'span.module': ModuleName.HTTP,
  14. 'span.op': 'http.client', // `span.module` alone isn't enough, since some SDKs create other `http.*` spans like `http.client.response_body`
  15. };
  16. export const MODULE_DESCRIPTION = t(
  17. 'Monitor outgoing HTTP requests and investigate errors and performance bottlenecks tied to domains.'
  18. );
  19. export const MODULE_DOC_LINK = 'https://docs.sentry.io/product/insights/requests/';
  20. export const MODULE_FEATURES = ['insights-initial-modules'];