Remove unused metrics

pull/3405/head
Manuel Montenegro 2023-11-13 14:21:59 +01:00 committed by KPrasch
parent 9512d7b286
commit 253a2067e3
3 changed files with 1 additions and 8 deletions

View File

@ -0,0 +1 @@
Add metrics for root and child networks.

View File

@ -80,11 +80,6 @@ class UrsulaInfoMetricsCollector(BaseMetricsCollector):
"Number of currently known nodes",
registry=registry,
),
"reencryption_requests_gauge": Gauge(
"reencryption_requests",
"Number of accepted work orders",
registry=registry,
),
}
def _collect_internal(self) -> None:

View File

@ -80,9 +80,6 @@ def test_ursula_info_metrics_collector(ursulas):
known_nodes = collector_registry.get_sample_value("known_nodes")
assert known_nodes == len(ursula.known_nodes)
reencryption_requests = collector_registry.get_sample_value("reencryption_requests")
assert reencryption_requests == 0
def test_blockchain_metrics_collector(testerchain):
collector = BlockchainMetricsCollector(