nixos/services/ai/hindsight
nixos/services/ai/hindsight/backup.nix
Options: rokokol.hindsight.backup.dumpDir, rokokol.hindsight.backup.mountPoint, rokokol.hindsight.backup.subvolumes
More: rokokol.hindsight options
Units: postgresqlBackup-hindsight, restic-backups-station
nixos/services/ai/hindsight/default.nix
nixos/services/ai/hindsight/monitor.nix
Hindsight used to run every model on a key of its own, and that key's counter is what the provider billed — so the dashboard reads the spend instead of inferring it from tokens, which Hindsight records for neither an embedding nor a rerank (DEVIATIONS.md, "Hindsight spends an OpenRouter key of its own"). The memory LLM has since moved to the Go subscription, whose cost appears as a share of the plan's windows and not on this key, so the counter below now covers embeddings and the reranker alone. The same unit counts observed model calls from the trace table, including errors, because the call counter omits the rerank scope (PITFALLS.md, "Hindsight's call counter records chat alone"). Both reach Grafana through the textfile directory that the station's node_exporter serves. It is not part of the Hermes monitor: Hindsight spends whether or not the agent runs
Units: hindsight-monitor
nixos/services/ai/hindsight/service.nix
Options: rokokol.hindsight.bank, rokokol.hindsight.client.enable, rokokol.hindsight.dataDir, rokokol.hindsight.enable, rokokol.hindsight.poolMax, rokokol.hindsight.poolMin, rokokol.hindsight.port, rokokol.hindsight.publicPort
More: rokokol.hindsight options
Units: hindsight, hindsight-bank-template, hindsight-database, hindsight-storage, postgresql