Skip to content

Commit

Permalink
Fixed Versions with TcpServer
Browse files Browse the repository at this point in the history
  • Loading branch information
amigin committed Jan 9, 2024
1 parent 7ea186a commit acc96a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit acc96a5

Please sign in to comment.