summaryrefslogtreecommitdiff
path: root/src/metrics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/metrics.c')
-rw-r--r--src/metrics.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/metrics.c b/src/metrics.c
index cb5fe1c..de39cdb 100644
--- a/src/metrics.c
+++ b/src/metrics.c
@@ -14,7 +14,6 @@ prom_counter_t *hash_expired = NULL;
prom_counter_t *queries = NULL;
prom_counter_t *requests = NULL;
prom_histogram_t *offered = NULL;
-prom_gauge_t *activeNodes = NULL;
prom_gauge_t *requestsInFlight = NULL;
prom_counter_t *retries = NULL;
prom_counter_t *keepalive_count = NULL;
@@ -187,15 +186,6 @@ void metric_init() {
)
);
- activeNodes = prom_collector_registry_must_register_metric(
- prom_gauge_new(
- "dht_active_nodes",
- "Nodes active in the routing table",
- 0,
- NULL
- )
- );
-
keepalive_count = prom_collector_registry_must_register_metric(
prom_counter_new(
"dht_keepalive_count",