diff --git a/scripts/dashboards_render_atlas.py b/scripts/dashboards_render_atlas.py index 588dd12..26f849a 100644 --- a/scripts/dashboards_render_atlas.py +++ b/scripts/dashboards_render_atlas.py @@ -528,12 +528,15 @@ def table_panel( instant=False, options=None, filterable=True, + footer=None, ): """Return a Grafana table panel definition.""" # Optional PromQL subquery helpers in expr: share(), etc. panel_options = {"showHeader": True, "columnFilters": False} if options: panel_options.update(options) + if footer is not None: + panel_options["footer"] = footer field_defaults = {"unit": unit, "custom": {"filterable": filterable}} panel = { "id": panel_id, @@ -1198,7 +1201,7 @@ def build_pods_dashboard(): panels.append( table_panel( 10, - "Namespace Plurality by Node v20", + "Namespace Plurality by Node v21", ( f"{share_expr} * on(namespace,node) group_left() " f"({mask_expr}) * on(namespace,node) group_left() ({nonzero_expr})" @@ -1213,6 +1216,7 @@ def build_pods_dashboard(): instant=True, options={"showColumnFilters": False}, filterable=False, + footer={"show": False, "fields": "", "calcs": []}, ) ) diff --git a/services/monitoring/dashboards/atlas-pods.json b/services/monitoring/dashboards/atlas-pods.json index d9d9b61..7e4f596 100644 --- a/services/monitoring/dashboards/atlas-pods.json +++ b/services/monitoring/dashboards/atlas-pods.json @@ -507,7 +507,7 @@ { "id": 10, "type": "table", - "title": "Namespace Plurality by Node v20", + "title": "Namespace Plurality by Node v21", "datasource": { "type": "prometheus", "uid": "atlas-vm" @@ -537,7 +537,12 @@ "options": { "showHeader": true, "columnFilters": false, - "showColumnFilters": false + "showColumnFilters": false, + "footer": { + "show": false, + "fields": "", + "calcs": [] + } }, "transformations": [ { diff --git a/services/monitoring/grafana-dashboard-pods.yaml b/services/monitoring/grafana-dashboard-pods.yaml index 90c2442..f9678fb 100644 --- a/services/monitoring/grafana-dashboard-pods.yaml +++ b/services/monitoring/grafana-dashboard-pods.yaml @@ -516,7 +516,7 @@ data: { "id": 10, "type": "table", - "title": "Namespace Plurality by Node v20", + "title": "Namespace Plurality by Node v21", "datasource": { "type": "prometheus", "uid": "atlas-vm" @@ -546,7 +546,12 @@ data: "options": { "showHeader": true, "columnFilters": false, - "showColumnFilters": false + "showColumnFilters": false, + "footer": { + "show": false, + "fields": "", + "calcs": [] + } }, "transformations": [ {