Skip to content

Commit

Permalink
add debug info and update version
Browse files Browse the repository at this point in the history
  • Loading branch information
zarix908 committed Feb 28, 2024
1 parent ae8af73 commit 86c1980
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bioyino"
version = "0.8.1-testing"
version = "0.8.2-testing"
authors = ["Sergey Noskov aka Albibek <[email protected]>"]
description = "StatsD-compatible, high-performance, fault-tolerant metric aggregator"
edition = "2018"
Expand Down
1 change: 1 addition & 0 deletions src/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ impl OwnStats {

let mut calculator = AggregateCalculator::new(&mut metric, &aggs);
let v = calculator.nth(0).unwrap().unwrap().1;
info!(self.log, "===============================aggregated: {}", v);
let counter = metrics.counter(String::from_utf8(name.name.to_ascii_lowercase()).unwrap().as_str());
counter.write(v as isize, Labels::default());
}
Expand Down

0 comments on commit 86c1980

Please sign in to comment.