DBModule.tsx 985 B

1234567891011121314151617181920212223242526272829303132
  1. import * as Layout from 'sentry/components/layouts/thirds';
  2. import PageFiltersContainer from 'sentry/components/organizations/pageFilters/container';
  3. import {t} from 'sentry/locale';
  4. import {
  5. PageErrorAlert,
  6. PageErrorProvider,
  7. } from 'sentry/utils/performance/contexts/pageError';
  8. import {ModuleName} from 'sentry/views/starfish/types';
  9. import SpansView from 'sentry/views/starfish/views/spans/spansView';
  10. export default function DBModule() {
  11. return (
  12. <Layout.Page>
  13. <PageErrorProvider>
  14. <Layout.Header>
  15. <Layout.HeaderContent>
  16. <Layout.Title>{t('DB')}</Layout.Title>
  17. </Layout.HeaderContent>
  18. </Layout.Header>
  19. <Layout.Body>
  20. <Layout.Main fullWidth>
  21. <PageErrorAlert />
  22. <PageFiltersContainer>
  23. <SpansView moduleName={ModuleName.DB} />
  24. </PageFiltersContainer>
  25. </Layout.Main>
  26. </Layout.Body>
  27. </PageErrorProvider>
  28. </Layout.Page>
  29. );
  30. }