Commit 3313534
The xorq snapshot cache did its I/O with no operator-visible signal. The
firstpull.summary_stats span (#943) carried only cache_status/hits/misses/
secs, and _log_cache_stats emitted the write side (snapshots/bytes/
write_errors) at log.info to a server log file no deployment reads — so a
cache that stopped writing, or a run with write_errors > 0 (#910), was
invisible without counting .parquet files by hand.
- xorq_buckaroo: add cache_snapshots/cache_bytes/cache_write_errors to the
firstpull.summary_stats span attrs (already available from
cache_run_stats()), so a write_errors > 0 run reaches a telemetry consumer.
- xorq_stat_pipeline: attach the per-run cache outcome to the stat.xorq.total
telemetry span so every process_table run — not just the firstpull — routes
its cache outcome through a bound sink, independent of log level. The
log.info summary line stays for local perf/debug sessions.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 1cbf982 commit 3313534
4 files changed
Lines changed: 64 additions & 11 deletions
File tree
- buckaroo
- pluggable_analysis_framework
- tests/unit
- server
Lines changed: 20 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
229 | | - | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
230 | 239 | | |
231 | 240 | | |
232 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
233 | 249 | | |
234 | 250 | | |
235 | 251 | | |
| |||
318 | 334 | | |
319 | 335 | | |
320 | 336 | | |
321 | | - | |
| 337 | + | |
322 | 338 | | |
323 | 339 | | |
324 | 340 | | |
325 | 341 | | |
326 | | - | |
| 342 | + | |
327 | 343 | | |
328 | 344 | | |
329 | 345 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
182 | 186 | | |
183 | 187 | | |
184 | 188 | | |
185 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
186 | 192 | | |
187 | 193 | | |
188 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
448 | 454 | | |
449 | 455 | | |
450 | 456 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
831 | 831 | | |
832 | 832 | | |
833 | 833 | | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
834 | 859 | | |
835 | 860 | | |
836 | 861 | | |
| |||
0 commit comments