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) {