Skip to content
  • Max Inden's avatar
    client/authority-discovery: Instrument code with Prometheus (#5195) · e53f42e6
    Max Inden authored
    
    
    * 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]>
    e53f42e6