mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-22 07:58:02 +00:00
store: Prometheus metrics of orders, badges, providers, chain and names (#8143)
* store: Prometheus metrics of name orders and registrar funds * store: keep the service running when the metrics port fails * store: describe held balances and the funds read time exactly * store: export badge, payment provider and chain node metrics * store: rename a test binding that shadowed hspec's before * store: count the names on chain in the metrics * store: check the scraped samples one by one * store: answer 0 for metrics labels with no rows --------- Co-authored-by: sh-agents <350651734+sh-agents@users.noreply.github.com>
This commit is contained in:
1 parent
2a87d8dc2e
commit
caf0caa54d
27 files changed
+1070
-43
No files matched your search
@@ -15,6 +15,9 @@ badges_export_dir = /srv/badges-export
|
||||
; the names site (simplex.domains), with [names] only: the folder it is exported to, which compose
|
||||
; bind-mounts to ./names for Caddy
|
||||
;names_export_dir = /srv/names-export
|
||||
; Prometheus metrics of the store, on 127.0.0.1 whatever host is; Caddy proxies them on the host's
|
||||
; monitoring site
|
||||
;metrics_port = 9300
|
||||
; on because Caddy proxies /api and /webhooks to this service; without it the rate limiter keys on
|
||||
; Caddy's address and shares one bucket across all callers
|
||||
trust_forwarded_for = on
|
||||
|
||||
Reference in new issue
Block a user