litefs icon indicating copy to clipboard operation
litefs copied to clipboard

Use heartbeat to update latency metric

Open benbjohnson opened this issue 1 year ago • 0 comments

https://github.com/superfly/litefs/pull/340 added a heartbeat that we can track to ensure that the replica is continually connected. We should hook this into a metric that we can report on. There is currently a litefs_db_latency_seconds metric but that is per-database and the heartbeat is server-wide.

benbjohnson avatar Aug 09 '23 19:08 benbjohnson