Skip to content

Commit

Permalink
emit remaining db size as gauge (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
eaypek-tfh authored Jan 28, 2025
1 parent 5725a20 commit 304fcec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iris-mpc-gpu/src/server/actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1072,6 +1072,7 @@ impl ServerActor {
);

metrics::gauge!("db_size").set(new_db_size as f64);
metrics::gauge!("remaining_db_size").set((self.max_db_size - new_db_size) as f64);
metrics::gauge!("batch_size").set(batch_size as f64);
metrics::gauge!("max_batch_size").set(self.max_batch_size as f64);

Expand Down

0 comments on commit 304fcec

Please sign in to comment.