sqlite_commit_phase_duration_seconds{phase,path}: Engine-side histogram for commit request phases.pathisfastorslow.phaseisdecode_request,meta_read,ltx_encode,pidx_read,udb_write, orresponse_build.sqlite_commit_stage_phase_duration_seconds{phase}: Engine-side histogram for staged commit uploads.phaseisdecode,stage_encode, orudb_write.sqlite_commit_finalize_phase_duration_seconds{phase}: Engine-side histogram for staged commit finalize work.phaseisstage_promote,pidx_write, ormeta_write.sqlite_commit_dirty_page_count{path}: Histogram of dirty page counts per commit path.sqlite_commit_dirty_bytes{path}: Histogram of raw dirty-page bytes per commit path.sqlite_udb_ops_per_commit{path}: Histogram of UniversalDB operations per commit path.envoy_sqlite_commit_dispatch_duration_seconds: Pegboard-envoy histogram for websocket frame arrival todepotdispatch.envoy_sqlite_commit_response_duration_seconds: Pegboard-envoy histogram fordepotreturn to websocket response send.sqlite_commit_phases: Actor inspector labeled timing metric exposed from/inspector/metrics. Values arerequest_build,serialize,transport, andstate_update.
- Engine and pegboard-envoy Prometheus metrics come from the shared
/metricsendpoint on port6430. - Actor-local commit timings come from
GET /inspector/metricson the actor gateway route.
- Set
RUST_LOG=depot=debug,pegboard_envoy=debug,sqlite_v2_vfs=debugto emit per-commit phase spans and VFS phase logs. depotcommit handlers use debug spans for the high-level request and sub-phase work.- The VFS logs request-build, serialize, transport, and state-update timings after each successful commit.
- High
decode_requestorenvoy_sqlite_commit_dispatch_duration_secondsusually means envoy-side validation or actor lookup is slow before storage work starts. - High
meta_readorpidx_readpoints at UniversalDB read pressure or cache misses. - High
ltx_encodemeans commit encoding and compression are doing real work. Check dirty page counts and raw dirty bytes together. - High
udb_write,meta_write, orenvoy_sqlite_commit_response_duration_secondspoints at write-path latency after encode. - A healthy actor should show non-zero
sqlite_commit_phasestotals after commits in/inspector/metrics. If SQL runs but those timings stay zero, the native VFS metrics path is broken.