tracePerformanceIssue.tsx 501 B

123456789101112131415161718192021
  1. import {TracePerformanceIssue as PerformanceIssue} from 'sentry/utils/performance/quickTrace/types';
  2. export function TracePerformanceIssue(
  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. level: 'info',
  12. type: 1015,
  13. culprit: '',
  14. start: 0,
  15. end: 0,
  16. span: [],
  17. suspect_spans: [],
  18. ...params,
  19. };
  20. }