From 0e82e753f14ca246fc25ce5e54a9519543118ba6 Mon Sep 17 00:00:00 2001 From: v-zhuravlev Date: Thu, 12 Dec 2024 02:32:26 +0800 Subject: [PATCH] lint: Fix openstack schema issues (#1373) --- openstack-mixin/panels.libsonnet | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openstack-mixin/panels.libsonnet b/openstack-mixin/panels.libsonnet index 2615c6b1a..ffed17d0d 100644 --- a/openstack-mixin/panels.libsonnet +++ b/openstack-mixin/panels.libsonnet @@ -273,8 +273,8 @@ local utils = commonlib.utils; ) + gauge.queryOptions.withTargetsMixin(t.vCPUUsed) + gauge.standardOptions.withUnit('percent') - + gauge.standardOptions.withMin('0') - + gauge.standardOptions.withMax('150') + + gauge.standardOptions.withMin(0) + + gauge.standardOptions.withMax(150) + gauge.standardOptions.thresholds.withSteps([ gauge.standardOptions.threshold.step.withValue(0) + gauge.standardOptions.threshold.step.withColor('green'), @@ -288,8 +288,8 @@ local utils = commonlib.utils; ) + gauge.queryOptions.withTargetsMixin(t.RAMUsed) + gauge.standardOptions.withUnit('percent') - + gauge.standardOptions.withMin('0') - + gauge.standardOptions.withMax('150') + + gauge.standardOptions.withMin(0) + + gauge.standardOptions.withMax(150) + gauge.standardOptions.thresholds.withSteps([ gauge.standardOptions.threshold.step.withValue(0) + gauge.standardOptions.threshold.step.withColor('green'),