data.tsx 388 B

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