Skip to content

Commit

Permalink
pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
camshaft committed Nov 4, 2024
1 parent 7a3dfc0 commit d8286bd
Show file tree
Hide file tree
Showing 9 changed files with 462 additions and 419 deletions.
12 changes: 6 additions & 6 deletions dc/s2n-quic-dc/events/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
#[event("application:write")]
pub struct ApplicationWrite {
/// The number of bytes that the application tried to write
#[measure("bytes.provided", "b")]
#[measure("provided", "b")]
total_len: usize,

/// The amount that was written
#[measure("bytes", "b")]
#[counter("bytes.total", "b")]
#[measure("committed", "b")]
#[counter("committed.total", "b")]
write_len: usize,
}

#[event("application:read")]
pub struct ApplicationRead {
/// The number of bytes that the application tried to read
#[measure("bytes.capacity", "b")]
#[measure("capacity", "b")]
capacity: usize,

/// The amount that was read
#[measure("bytes", "b")]
#[counter("bytes.total", "b")]
#[measure("committed", "b")]
#[counter("committed.total", "b")]
read_len: usize,
}
Loading

0 comments on commit d8286bd

Please sign in to comment.