From acc96a55b201d37ec20d48248d53c96df52ddbde Mon Sep 17 00:00:00 2001 From: amigin Date: Tue, 9 Jan 2024 11:52:25 +0200 Subject: [PATCH] Fixed Versions with TcpServer --- src/app/metrics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/metrics.rs b/src/app/metrics.rs index 0a1ee5b..d9b4922 100644 --- a/src/app/metrics.rs +++ b/src/app/metrics.rs @@ -162,7 +162,7 @@ impl PrometheusMetrics { self.tcp_connections .with_label_values(&["write_threads"]) - .set(threads_statistics.get_read_threads() as i64); + .set(threads_statistics.get_write_threads() as i64); } pub fn mark_new_tcp_disconnection(&self) {