moduleTitles.tsx 1.5 KB

1234567891011121314151617181920212223242526
  1. import {MODULE_TITLE as RESOURCES_MODULE_TITLE} from 'sentry/views/insights/browser/resources/settings';
  2. import {MODULE_TITLE as VITALS_MODULE_TITLE} from 'sentry/views/insights/browser/webVitals/settings';
  3. import {MODULE_TITLE as CACHE_MODULE_TITLE} from 'sentry/views/insights/cache/settings';
  4. import {MODULE_TITLE as DB_MODULE_TITLE} from 'sentry/views/insights/database/settings';
  5. import {MODULE_TITLE as HTTP_MODULE_TITLE} from 'sentry/views/insights/http/settings';
  6. import {MODULE_TITLE as AI_MODULE_TITLE} from 'sentry/views/insights/llmMonitoring/settings';
  7. import {MODULE_TITLE as APP_STARTS_MODULE_TITLE} from 'sentry/views/insights/mobile/appStarts/settings';
  8. import {MODULE_TITLE as SCREEN_LOADS_MODULE_TITLE} from 'sentry/views/insights/mobile/screenload/settings';
  9. import {MODULE_TITLE as MOBILE_UI_MODULE_TITLE} from 'sentry/views/insights/mobile/ui/settings';
  10. import {MODULE_TITLE as QUEUE_MODULE_TITLE} from 'sentry/views/insights/queues/settings';
  11. import {ModuleName} from 'sentry/views/insights/types';
  12. export const MODULE_TITLES: Record<ModuleName, string> = {
  13. [ModuleName.DB]: DB_MODULE_TITLE,
  14. [ModuleName.HTTP]: HTTP_MODULE_TITLE,
  15. [ModuleName.CACHE]: CACHE_MODULE_TITLE,
  16. [ModuleName.QUEUE]: QUEUE_MODULE_TITLE,
  17. [ModuleName.SCREEN_LOAD]: SCREEN_LOADS_MODULE_TITLE,
  18. [ModuleName.APP_START]: APP_STARTS_MODULE_TITLE,
  19. [ModuleName.VITAL]: VITALS_MODULE_TITLE,
  20. [ModuleName.RESOURCE]: RESOURCES_MODULE_TITLE,
  21. [ModuleName.AI]: AI_MODULE_TITLE,
  22. [ModuleName.MOBILE_UI]: MOBILE_UI_MODULE_TITLE,
  23. [ModuleName.OTHER]: '',
  24. [ModuleName.ALL]: '',
  25. };