Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/bench/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down
1 change: 1 addition & 0 deletions internal/bench/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
}
}
Expand Down
1 change: 1 addition & 0 deletions internal/bench/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

Expand Down
Loading