Idea detail
index_diagnostics_metrics
reqlan rq/extension/index-host/index-diagnostics.rq:17
block
done
Summary
For each sync / index run on a base, record:
- wall-clock **sum / total duration** of the pass
- **file count** ( visited ), skipped-by-mtime count, indexed ( parse / persist attempted ) count, error count
- **average path depth** of visited files ( segments under the base root )
- per-file **duration** and outcome ( `mtime_skip` | `mtime_refresh` | `hash_skip` | `persisted` | `error` )
Runs are attributable to a trigger ( `soft_sync` | `rebuild` | `enqueue` | `stale` ).
Instrumentation wraps workspace-index.ts soft sync and nonblocking_index single-file paths via index-diagnostics-store.ts.
Navigation
Attributes
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | index_diagnostics_store | reqlan rq/extension/index-host/index.rq | index_diagnostics_metrics |
| references | diagnostics_sqlite | reqlan rq/indexer/diagnostics-schema.rq | index_diagnostics_metrics |
| references | sync_runs_table | reqlan rq/indexer/diagnostics-schema.rq | index_diagnostics_metrics |
| references | index_diagnostics_timing | reqlan rq/indexer/indexer.rq | index_diagnostics_metrics |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…