mirror of
https://github.com/Noratrieb/pretense.git
synced 2026-01-14 16:15:02 +01:00
rename count
This commit is contained in:
parent
5336e513ba
commit
270b01fc11
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ async fn listen_port(port: u16) -> Result<()> {
|
||||||
.wrap_err("listening on port")?;
|
.wrap_err("listening on port")?;
|
||||||
|
|
||||||
let labels = [("port", port.to_string())];
|
let labels = [("port", port.to_string())];
|
||||||
let counter = metrics::counter!("pretense_connection", &labels);
|
let counter = metrics::counter!("pretense_connection_count", &labels);
|
||||||
|
|
||||||
tracing::info!(addr=?local_addr, "Listening on port");
|
tracing::info!(addr=?local_addr, "Listening on port");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue