settings.ts 813 B

12345678910111213141516171819202122
  1. import {t} from 'sentry/locale';
  2. import {RateUnit} from 'sentry/utils/discover/fields';
  3. import {ResourceSpanOps} from 'sentry/views/insights/browser/resources/types';
  4. export const MODULE_TITLE = t('Assets');
  5. export const DATA_TYPE = t('Asset');
  6. export const DATA_TYPE_PLURAL = t('Assets');
  7. export const BASE_URL = 'browser/assets'; // Name of the data shown (singular)
  8. export const MODULE_DESCRIPTION = t(
  9. 'Find large and slow-to-load resources used by your application and understand their impact on page performance.'
  10. );
  11. export const RESOURCE_THROUGHPUT_UNIT = RateUnit.PER_MINUTE;
  12. export const DEFAULT_RESOURCE_TYPES = [
  13. ResourceSpanOps.SCRIPT,
  14. ResourceSpanOps.CSS,
  15. ResourceSpanOps.FONT,
  16. ResourceSpanOps.IMAGE,
  17. ];
  18. export const MODULE_DOC_LINK = 'https://docs.sentry.io/product/insights/assets/';