feat: define a default duration for metrics update
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
This commit is contained in:
parent
97f172eb51
commit
3e025dda2f
5 changed files with 57 additions and 8 deletions
|
|
@ -10,6 +10,10 @@ var (
|
|||
Subsystem: metricsPoolSubsystem,
|
||||
Name: "info",
|
||||
Help: "Info of the pool",
|
||||
// ConstLabels: prometheus.Labels{
|
||||
// "controller_id": metricControllerValue,
|
||||
// "hostname": metricHostnameValue,
|
||||
// },
|
||||
}, []string{"id", "image", "flavor", "prefix", "os_type", "os_arch", "tags", "provider", "pool_owner", "pool_type"})
|
||||
|
||||
PoolStatus = prometheus.NewGaugeVec(prometheus.GaugeOpts{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue