diff --git a/docs/developing-prometheus-rules-and-grafana-dashboards.md b/docs/developing-prometheus-rules-and-grafana-dashboards.md
index 56e7c297eb7bc9aaaff3c15fcc32ce50fee314f1..6aa853cd69398992f9c91b9a67e6f7c1dd3aa152 100644
--- a/docs/developing-prometheus-rules-and-grafana-dashboards.md
+++ b/docs/developing-prometheus-rules-and-grafana-dashboards.md
@@ -228,7 +228,7 @@ Here the alert `KubeStatefulSetReplicasMismatch` is being filtered out of the gr
 ```jsonnet
 local filter = {
   kubernetesControlPlane+: {
-    prometheusRule+:: {
+    prometheusRule+: {
       spec+: {
         groups: std.map(
           function(group)
@@ -255,7 +255,7 @@ Here the expression for another alert in the same component is updated from its
 ```jsonnet
 local update = {
   kubernetesControlPlane+: {
-    prometheusRule+:: {
+    prometheusRule+: {
       spec+: {
         groups: std.map(
           function(group)