mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
chore: add tx metrics and logs for serialization errors (#15215)
Before db_metrics were all or nothing. Now `InTx` metrics are always recorded, and query metrics are opt in. Adds instrumentation & logging around serialization failures in the database.
This commit is contained in:
2
docs/reference/cli/server.md
generated
2
docs/reference/cli/server.md
generated
@ -321,7 +321,7 @@ When collecting agent stats, aggregate metrics by a given set of comma-separated
|
||||
| YAML | <code>introspection.prometheus.collect_db_metrics</code> |
|
||||
| Default | <code>false</code> |
|
||||
|
||||
Collect database metrics (may increase charges for metrics storage).
|
||||
Collect database query metrics (may increase charges for metrics storage). If set to false, a reduced set of database metrics are still collected.
|
||||
|
||||
### --pprof-enable
|
||||
|
||||
|
Reference in New Issue
Block a user