Skip to content

Commit

Permalink
Update metrics/examples/basic.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
tobz authored Oct 9, 2023
1 parent 054016f commit ec5b481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/examples/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ fn main() {

// All the supported permutations of `counter!` and its increment/absolute versions:
counter!("bytes_sent").increment(64);
counter!("bytes_sent", "listener" => "frontend").increment(64);
counter!("bytes_sent", "listener" => "frontend").increment(64);
counter!("bytes_sent", "listener" => "frontend", "server" => server_name.clone()).increment(64);
counter!("bytes_sent", common_labels).increment(64);

Expand Down

0 comments on commit ec5b481

Please sign in to comment.