Document the BBS database metrics
@@ -39,6 +39,12 @@ A list of component-level metrics emitted by Diego. Contributors interested in a
| `ConvergenceTasksPruned` | Cumulative number of times the BBS has deleted a malformed Task Definition during its Task convergence pass. Emitted periodically. | number | |
| `CrashedActualLRPs` | Total number of LRP instances that have crashed. Emitted periodically. | number | |
| `CrashingDesiredLRPs` | Total number of DesiredLRPs that have at least one crashed instance. Emitted periodically. | number | |
+| `DBOpenConnections` | Number of open connections to the SQL database. Emitted every 60 seconds. | number | |
+| `DBQueriesFailed` | Cumulative number of SQL queries that failed. Emitted every 60 seconds. | number | |
+| `DBQueriesInFlight` | Maximum number of concurrent in flight queries in the last 60 seconds. Emitted every 60 seconds. | number | |
+| `DBQueriesTotal` | Cumulative number of SQL queries executed, including `BEGIN`, `COMMIT`, and `ROLLBACK` statements. Emitted every 60 seconds. | number | |
+| `DBQueriesSucceeded` | Cumulative number of SQL queries that finished successfully. Emitted every 60 seconds. | number | |
+| `DBQueryDurationMax` | Maximum duration of all queries that have run in the last 60 seconds. Emitted every 60 seconds. | ns | |
| `Domain.` `<domain-name>` | Whether the `<domain-name>` domain is up-to-date, so that instances from that domain have been synchronized with DesiredLRPs for Diego to run. 1 means the domain is up-to-date, no data means it is not. Emitted periodically. | always 1 when present | |
| `EncryptionDuration` | Time the BBS took to ensure all BBS records are encrypted with the current active encryption key. Emitted each time a BBS becomes the active master. | ns | |
| `LRPsClaimed` | Total number of LRP instances that have been claimed by some cell. Emitted periodically. | number | |
@@ -72,11 +78,11 @@ A list of component-level metrics emitted by Diego. Contributors interested in a
| ---------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---- |
| `ActiveLocks` | Total number of active locks. Emitted periodically. | number |
| `ActivePresences` | Total number of active presences. Emitted periodically. | number |
-| `DBOpenConnections` | Number of open connections to the SQL database. | number |
-| `DBQueriesFailed` | Cumulative number of SQL queries that failed. | number |
+| `DBOpenConnections` | Number of open connections to the SQL database. Emitted every 60 seconds. | number |
+| `DBQueriesFailed` | Cumulative number of SQL queries that failed. Emitted every 60 seconds. | number |
| `DBQueriesInFlight` | Maximum number of concurrent in flight queries in the last 60 seconds. Emitted every 60 seconds. | number |
-| `DBQueriesTotal` | Cumulative number of SQL queries executed, including `BEGIN`, `COMMIT`, and `ROLLBACK` statements. | number |
-| `DBQueriesSucceeded` | Cumulative number of SQL queries that finished successfully. | number |
+| `DBQueriesTotal` | Cumulative number of SQL queries executed, including `BEGIN`, `COMMIT`, and `ROLLBACK` statements. Emitted every 60 seconds. | number |
+| `DBQueriesSucceeded` | Cumulative number of SQL queries that finished successfully. Emitted every 60 seconds. | number |
| `DBQueryDurationMax` | Maximum duration of all queries that have run in the last 60 seconds. Emitted every 60 seconds. | ns |
| `LocksExpired` | Cumulative number of locks that have expired. Emitted every 60 seconds. | number |
| `PresenceExpired` | Cumulative number of presences that have expired. Emitted every 60 seconds. | number |
