Track the number of steps created

This commit is contained in:
Graham Christensen
2022-04-06 20:23:02 -04:00
parent 1c12c5882f
commit 59ac96a99c
3 changed files with 10 additions and 0 deletions

View File

@ -54,6 +54,13 @@ State::PromMetrics::PromMetrics()
.Register(*registry)
.Add({})
)
, queue_steps_created(
prometheus::BuildCounter()
.Name("hydraqueuerunner_queue_steps_created_total")
.Help("Number of steps created")
.Register(*registry)
.Add({})
)
, queue_checks_early_exits(
prometheus::BuildCounter()
.Name("hydraqueuerunner_queue_checks_early_exits_total")