From a0f0006708d80336e32741c975ceaa4284211e69 Mon Sep 17 00:00:00 2001 From: Younes Makhchan <74161217+younes-makhchan@users.noreply.github.com> Date: Mon, 23 Sep 2024 17:20:48 +0100 Subject: [PATCH] Remove conditional cluster name "onm3h-demo" Removed the conditional check for the cluster name "onm3h-demo" from the widget Node Memory Usage configuration. This condition caused the widget to be empty when the cluster name did not match "onm3h-demo". Each cluster has its own unique name, so this hard-coded condition was unnecessary and led to incorrect widget behavior. --- .../modules/dashboards/dashboards_json/service-type-lb.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/modules/dashboards/dashboards_json/service-type-lb.json b/terraform/modules/dashboards/dashboards_json/service-type-lb.json index a6227f3c..00909fb3 100644 --- a/terraform/modules/dashboards/dashboards_json/service-type-lb.json +++ b/terraform/modules/dashboards/dashboards_json/service-type-lb.json @@ -1077,7 +1077,7 @@ "compartmentId": "$(params.compartmentId)", "endTime": "$(params.time.end)", "maxDataPoints": "useIntervalExact", - "mql": "nodeMemoryUsage[1m]{clusterName = \"onm3h-demo\"}.mean()", + "mql": "nodeMemoryUsage[1m].mean()", "namespace": "mgmtagent_kubernetes_metrics", "regionName": "$(params.regionName)", "startTime": "$(params.time.start)" @@ -3079,4 +3079,4 @@ "updatedBy": "ocid1.saml2idp.oc1..aaaaaaaa7ehdi53lr546fhugwewrbeltbgqvkocc27qslgbahsw5v55bvh4a/KUMAR.VARUN@ORACLE.COM" } ] - } \ No newline at end of file + }