Unverified Commit e53f42e6 authored by Max Inden's avatar Max Inden Committed by GitHub
Browse files

client/authority-discovery: Instrument code with Prometheus (#5195)



* client/authority-discovery: Instrument code with Prometheus

Introduce Prometheus metrics into the authority discovery module
enabling one to observe:

- authority_discovery_times_published_total

- authority_discovery_amount_external_addresses_last_published

- authority_discovery_times_requested_total

- authority_discovery_dht_event_received

* client/authority-discovery/src/lib.rs: Reword metric help texts

Co-Authored-By: default avatarAshley <[email protected]>

* client/authority-discovery/src/lib.rs: Reword metric help text

Co-Authored-By: default avatarAshley <[email protected]>

* client/authority-discovery/tests: Fix struct instantiation + basic test

Co-authored-by: default avatarAshley <[email protected]>
parent 9b7c6c72
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment