treewide: change metric calls from make_derive to make_counter

make_derive was recently deprecated in favor of make_counter, so
make the change throughput the codebase.

Closes #10564
This commit is contained in:
Avi Kivity
2022-05-12 22:13:31 +03:00
committed by Piotr Sarna
parent 768b5f3f29
commit 528ab5a502
20 changed files with 203 additions and 203 deletions

View File

@@ -1342,11 +1342,11 @@ void view_builder::setup_metrics() {
sm::description("Number of tasks waiting to perform bookkeeping operations"),
[this] { return _sem.waiters(); }),
sm::make_derive("steps_performed",
sm::make_counter("steps_performed",
sm::description("Number of performed build steps."),
_stats.steps_performed),
sm::make_derive("steps_failed",
sm::make_counter("steps_failed",
sm::description("Number of failed build steps."),
_stats.steps_failed),