span.ts 395 B

1234567891011121314
  1. import type {RawSpanType} from 'sentry/components/events/interfaces/spans/types';
  2. export function SpanFixture(params = {}): RawSpanType {
  3. return {
  4. timestamp: 1657201239.51,
  5. start_timestamp: 1657201239.503,
  6. op: 'ui.load',
  7. span_id: 'a385d9fd52e0c4bc',
  8. parent_span_id: 'bdf1a9fae2062311',
  9. trace_id: '4d5c2e2102234a7d94102b4f1e41c2bb',
  10. data: {},
  11. ...params,
  12. };
  13. }