data.tsx 419 B

123456789101112131415161718192021
  1. export const FIELDS = [
  2. 'project',
  3. 'transaction.id',
  4. 'id',
  5. 'timestamp',
  6. 'sdk.name',
  7. 'span.op',
  8. 'span.description',
  9. 'span.duration',
  10. 'span.status',
  11. 'span.self_time',
  12. 'precise.start_ts',
  13. 'precise.finish_ts',
  14. 'is_transaction',
  15. ] as const;
  16. export type Field = (typeof FIELDS)[number];
  17. export type Sort = Field | `-${Field}`;
  18. export const SORTS: Sort[] = ['-is_transaction', '-span.self_time'];