DB Latency
2025-01-23 18:47:21.790 [info] coderd: disconnected possibly outdated agent workspace_id=xxxx agent_id=xxxx request_id=xxxx ...
error= fetch object:
github.com/coder/coder/v2/coderd/database/dbauthz.(*querier).GetWorkspaceByID.fetch[...].func1
/home/runner/work/coder/coder/coderd/database/dbauthz/dbauthz.go:522
- context canceledI have a couple of questions here:
1. How do you usually measure DB workload? With Prometheus I can see active connections and max transaction duration, but they don't seem that high.
2. Is this issue somehow related to this behavior? https://github.com/coder/coder/issues/15082 @Danielle
