Ray's Knowledge Base
Unlock

Newer dftracer traces use number phases, and aggregated records (phase 3) have no dur

FactVerified 29 Sep 2026Holds project: dftracer-utils
Fact. A statement and the evidence for it.

Statement#

Raw traces from the newer dftracer writer use numeric ph values instead of letters: 1 is an event and 4 is a metadata record. Phase 3 records are aggregated and carry no dur. A reference check that sums dur must skip missing values the way sum does, and a time bucket that holds only phase 3 rows sums to null.

Evidence#

Stage 13g, 2026-09-29, on raw runs under genesis-wisdom-sample100: "This newer dftracer format uses number phases (1 = event, 4 = metadata)"; "Aggregated records (phase 3) have no dur. I make the reference skip missing values the way sum does"; a failing bucket check was the reference's fault: "a bucket of only aggregated rows sums to null". Compare which View reads return metadata records, written for letter phases (ph="M").

Also found by searching

  • trace record has "ph": 1 and "ph": 4 instead of "X" and "M", sum(dur) bucket returns null
  • new dftracer traces have numeric phase values and some records have no duration
  • what do the number phases 1, 3 and 4 mean in newer dftracer traces?
  • aggregated phase 3 records lack dur, reference check must skip missing values like sum
  • raw dftracer trace has ph 1 and 4 numbers instead of letters, sums of dur give null
  • time bucket sum of dur is null for new format traces, phase 3 no dur
  • what do numeric ph values mean in newer dftracer traces?
  • aggregated records without dur field, reference check sum must skip missing values