HTTPModule.tsx 1016 B

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