Skip to content
quarry Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 980d99febf6af3b3d8c3fd0c6f1dd341201dc819f12e96a54bb6c459bbec5095
Ticket: 6811218f58fbca05b6394a20971ba869f5375683
ops: SQL is not its own timing category — 'ops 138ms' cannot say index or store
User & Date: dmestas on 2026-08-25 21:29:30
Changes

  1. comment changed to:
    The breakdown covers zit and ops. Ops time CONTAINS index queries, OLTP reads and store calls, so a slow page can be attributed to 'ops' and no further. The obs.Render struct already carries the fields; nothing populates SQL.
    
    Why it is not trivial: index and oltp both open through ncruces/go-sqlite3's driver.Open, so timing every query means a driver wrapper rather than touching call sites. internal/arch pins the dependency set and would need to allow it.
    
    Value: until this lands, the remainder between Elapsed and Ops is template execution plus server overhead plus SQL, all mixed. Splitting SQL out is what makes the remainder mean something.
    
  2. priority changed to: "Medium"
  3. status changed to: "Open"
  4. subsystem changed to: "observability"
  5. title changed to:
    ops: SQL is not its own timing category — 'ops 138ms' cannot say index or store
    
  6. type changed to: "Feature"