-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates the tcp traffic stats to use labels for direction. Renames the retransmit metric to simplify the metric name.
- Loading branch information
Showing
3 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
use metriken::*; | ||
|
||
#[metric( | ||
name = "tcp_transmit_retransmit", | ||
name = "tcp_retransmit", | ||
description = "The number of TCP packets that were re-transmitted", | ||
metadata = { unit = "packets" } | ||
)] | ||
pub static TCP_TX_RETRANSMIT: LazyCounter = LazyCounter::new(Counter::default); | ||
pub static TCP_RETRANSMIT: LazyCounter = LazyCounter::new(Counter::default); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters