improvement: add prometheus metrics, renaming others

This commit is contained in:
Greg Heartsfield
2023-01-30 18:02:28 -06:00
parent c1152ce430
commit b6798f96b6
3 changed files with 87 additions and 42 deletions
-1
View File
@@ -420,7 +420,6 @@ impl NostrRepo for SqliteRepo {
// TODO: we could use try_send, but we'd have to juggle
// getting the query result back as part of the error
// result.
metrics.sent_events.inc();
query_tx
.blocking_send(QueryResult {
sub_id: sub.get_id(),