mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-03-27 00:57:47 -04:00
Add missing Prometheus metrics registration (vmpooler_performance, vmpooler_dlq, vmpooler_errors)
This commit is contained in:
parent
c9b0d7f258
commit
7449f23547
1 changed files with 18 additions and 0 deletions
|
|
@ -371,6 +371,24 @@ module Vmpooler
|
||||||
torun: %i[manager],
|
torun: %i[manager],
|
||||||
docstring: 'Adaptive timeout statistics',
|
docstring: 'Adaptive timeout statistics',
|
||||||
param_labels: %i[metric_path]
|
param_labels: %i[metric_path]
|
||||||
|
},
|
||||||
|
vmpooler_performance: {
|
||||||
|
mtype: M_GAUGE,
|
||||||
|
torun: %i[manager],
|
||||||
|
docstring: 'vmpooler performance metrics for pool operations',
|
||||||
|
param_labels: %i[metric_path]
|
||||||
|
},
|
||||||
|
vmpooler_dlq: {
|
||||||
|
mtype: M_COUNTER,
|
||||||
|
torun: %i[manager],
|
||||||
|
docstring: 'vmpooler dead letter queue metrics',
|
||||||
|
param_labels: %i[metric_path]
|
||||||
|
},
|
||||||
|
vmpooler_errors: {
|
||||||
|
mtype: M_COUNTER,
|
||||||
|
torun: %i[manager],
|
||||||
|
docstring: 'vmpooler error counters including permanent failures',
|
||||||
|
param_labels: %i[metric_path]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue