diff --git a/internal/bench/report.go b/internal/bench/report.go index 0086399..f7f464d 100644 --- a/internal/bench/report.go +++ b/internal/bench/report.go @@ -199,7 +199,7 @@ func Markdown(r Report) string { for _, warning := range r.Summary.Warnings { fmt.Fprintf(&b, "- %s\n", warning) } - fmt.Fprintf(&b, "\n## Reproduce\n\n```sh\n%s\n```\n\nRaw evidence: `report.json` (authoritative structured report) and `samples.jsonl` (time-series resource samples, including cumulative `ingest_rows_total` by signal (`spans`, `logs`, `metrics`), `rollup_seconds`, `write_gate_hold_seconds`, `write_gate_wait_seconds`, `compaction_seconds_total`, `compactions_total`, `publish_wait_seconds_total`, `ingest_backpressure_seconds_total`, `ingest_throttled_total`, `ingest_admission_rows_per_second`, `compaction_retired_batches_total`, and `compaction_pass_seconds_total`, plus the current `compaction_backlog_batches` and `read_cache_pending_batches` gauges and cumulative `rollup_rows` by rollup when available).\n", r.ReproductionCommand) + fmt.Fprintf(&b, "\n## Reproduce\n\n```sh\n%s\n```\n\nRaw evidence: `report.json` (authoritative structured report) and `samples.jsonl` (time-series resource samples, including cumulative `ingest_rows_total` by signal (`spans`, `logs`, `metrics`), `rollup_seconds`, `write_gate_hold_seconds`, `write_gate_wait_seconds`, `compaction_seconds_total`, `compactions_total`, `publish_wait_seconds_total`, `ingest_backpressure_seconds_total`, `ingest_throttled_total`, `ingest_admission_rows_per_second`, `compaction_retired_batches_total`, and `compaction_pass_seconds_total`, plus the current `compaction_backlog_batches`, `read_cache_pending_batches` and `read_cache_pending_spans` gauges and cumulative `rollup_rows` by rollup when available).\n", r.ReproductionCommand) return b.String() } diff --git a/internal/bench/runner.go b/internal/bench/runner.go index 5ad6692..e4d72b3 100644 --- a/internal/bench/runner.go +++ b/internal/bench/runner.go @@ -474,6 +474,7 @@ func resourceSample(s *snapshot, at float64) ResourceSample { CompactionPassSecondsTotal: s.total("pitot_compaction_pass_seconds_sum", nil), CompactionBacklogBatches: s.total("pitot_compaction_backlog_batches", nil), ReadCachePendingBatches: s.total("pitot_read_cache_pending_batches", nil), + ReadCachePendingSpans: s.total("pitot_read_cache_pending_spans", nil), RollupRows: sampleTotalsByLabel(s, "pitot_rollup_component_rows_total", "rollup"), } } diff --git a/internal/bench/types.go b/internal/bench/types.go index ba2370d..603ed58 100644 --- a/internal/bench/types.go +++ b/internal/bench/types.go @@ -170,6 +170,7 @@ type ResourceSample struct { CompactionPassSecondsTotal float64 `json:"compaction_pass_seconds_total,omitempty"` CompactionBacklogBatches float64 `json:"compaction_backlog_batches,omitempty"` ReadCachePendingBatches float64 `json:"read_cache_pending_batches,omitempty"` + ReadCachePendingSpans float64 `json:"read_cache_pending_spans,omitempty"` RollupRows map[string]float64 `json:"rollup_rows,omitempty"` }