You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Infrastructure Grafana dashboards missing in default variant monitoring #2349
PR #2197 scoped infrastructure dashboards to tenant-root namespace only, but the "default" variant deploys monitoring to the cozy-monitoring namespace. As a result, infrastructure dashboards (VictoriaMetrics, Flux, Hubble, LINSTOR, control-plane, etc.) are no longer rendered in the default variant.
Root cause
In packages/system/monitoring/templates/dashboards.yaml, the infra dashboards are conditionally rendered only when Release.Namespace == "tenant-root":
{{- if eq .Release.Namespace "tenant-root" }}{{- range (split "\n" (.Files.Get "dashboards-infra.list")) }}...{{- end }}{{- end }}
However, the default variant installs monitoring in the cozy-monitoring namespace (defined in packages/core/platform/sources/monitoring.yaml):
Since cozy-monitoring != tenant-root, the condition is false and all infra dashboards from dashboards-infra.list are skipped.
Expected behavior
Infrastructure dashboards should be available in the platform-level monitoring deployment regardless of variant. The condition should account for both tenant-root and cozy-monitoring namespaces (or more generally, distinguish platform-level monitoring from per-tenant monitoring).
Affected dashboards (dashboards-infra.list)
VictoriaMetrics, Flux, Hubble, LINSTOR, control-plane, main dashboard, and other infrastructure-level dashboards.
Affected files
packages/system/monitoring/templates/dashboards.yaml — namespace condition too restrictive
packages/system/monitoring/dashboards-infra.list — infra dashboard list
packages/core/platform/sources/monitoring.yaml — defines cozy-monitoring namespace for default variant
This is indeed a bug introduced by #2197. The infra dashboards condition only checks for tenant-root, but the default variant deploys the monitoring chart to the cozy-monitoring namespace (as defined in packages/core/platform/sources/monitoring.yaml).
Fix PR: #2365 — adds cozy-monitoring to the namespace condition, consistent with the existing pattern in vmagent.yaml.
Activity
[monitoring] Fix infra dashboards missing in default variant
mattia-eleuteri commentedon Apr 9, 2026
This is indeed a bug introduced by #2197. The infra dashboards condition only checks for
tenant-root, but the default variant deploys the monitoring chart to thecozy-monitoringnamespace (as defined inpackages/core/platform/sources/monitoring.yaml).Fix PR: #2365 — adds
cozy-monitoringto the namespace condition, consistent with the existing pattern invmagent.yaml.[monitoring] Fix infra dashboards missing in default variant (#2365)
[monitoring] Fix infra dashboards missing in default variant