Refactor SignalLocalMetrics to be more resiliant to certain errors.

This commit is contained in:
Greyson Parrelli
2022-01-13 11:17:02 -05:00
committed by Cody Henthorne
parent cd4320c0ef
commit 01047e90ad
2 changed files with 59 additions and 57 deletions

View File

@@ -18,8 +18,8 @@ import java.util.concurrent.TimeUnit
*
* These metrics are only ever included in debug logs in an aggregate fashion (i.e. p50, p90, p99) and are never automatically uploaded anywhere.
*
* The performance of insertions is important, but given insertions frequency isn't crazy-high, we can also optimize for retrieval performance.
* SQLite isn't amazing at statistical analysis, so having indices that speeds those operations up is encouraged.
* The performance of insertions is important, but given insertion frequency isn't crazy-high, we can also optimize for retrieval performance.
* SQLite isn't amazing at statistical analysis, so having indices that speed up those operations is encouraged.
*
* This is it's own separate physical database, so it cannot do joins or queries with any other tables.
*/