Commit d41e9ea
Create a Perfetto Sink (#2169)
Summary:
Create a TraceDispatcherSink that writes perfetto traces in their native protobuf format directly to local files
The advantages include:
- No row limits (vs 400k for a scuba query)
- Zero ingestion latency (Traces are available immediately)
- No json -> protobuf conversion needed and very compact
- Compatibility with distributed file systems like OILFS
- Faster execution of expanse: No more querying scuba and conversion of scuba -> perfetto protobuf
Reviewed By: moonli
Differential Revision: D894033291 parent 95e137f commit d41e9ea
File tree
4 files changed
+678
-0
lines changed- hyperactor_telemetry
- src
- sinks
4 files changed
+678
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
707 | 728 | | |
708 | 729 | | |
709 | 730 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
0 commit comments