diff --git a/libsonnet/grafana/templates.libsonnet b/libsonnet/grafana/templates.libsonnet
index 7a3c09e09a5b4c5ec9a5730076384f110cb70b14..3814a09c3982ed8172664e5026a6a396858c8ac5 100644
--- a/libsonnet/grafana/templates.libsonnet
+++ b/libsonnet/grafana/templates.libsonnet
@@ -22,7 +22,7 @@ local template = grafana.template;
     template.new(
       'namespace',
       '$PROMETHEUS_DS',
-      'label_values(registry_build_info{stage="$stage"}, namespace)',
+      'label_values(kube_pod_container_info{environment="$environment"}, namespace)',
       current='gitlab',
       refresh='load',
       sort=1,