tracePerformanceIssue.ts 543 B

12345678910111213141516171819202122
  1. import {TracePerformanceIssue as PerformanceIssue} from 'sentry/utils/performance/quickTrace/types';
  2. export function TracePerformanceIssueFixture(
  3. params: Partial<PerformanceIssue> = {}
  4. ): PerformanceIssue {
  5. return {
  6. event_id: '09384ee83c9145e79b5f6fbed5c37a51',
  7. issue_id: 301,
  8. project_id: 8,
  9. project_slug: 'santry',
  10. title: 'Large HTTP payload',
  11. message: 'Large HTTP payload',
  12. level: 'info',
  13. type: 1015,
  14. culprit: '',
  15. start: 0,
  16. end: 0,
  17. span: [],
  18. suspect_spans: [],
  19. ...params,
  20. };
  21. }