Repository: envoyproxy/gateway
Pull request #4355 (2024-09-28 03:37:23)

chore: add envoy gateway logo into readme
**What type of PR is this?**
<!--
Your PR title should be descriptive, and generally start with type that contains a subsystem name with `()` if necessary 
and summary followed by a colon. format `chore/docs/api/feat/fix/refactor/style/test: summary`.
Examples:
* "docs: fix grammar error"
* "feat(translator): add new feature"
* "fix: fix xx bug"
* "chore: change ci & build tools etc"
* "api: add xxx fields in ClientTrafficPolicy"
-->

<!--
NOTE: If your PR contains any API changes (changes under `/api`), we recommend you to separate these API changes into
a new PR, and we will review the API part first. It will save you lots of implementation time if the API get accepted.
-->

**What this PR does / why we need it**:

Preview:
<img width="1037" alt="image" src="https://github.com/user-attachments/assets/a3cdcc28-edc8-4074-ac3c-2a116101f8c5">


**Which issue(s) this PR fixes**:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
ref #2147



Patch:
diff --git a/README.md b/README.md
index 25fa9af8d..2260a1fa7 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,8 @@
 [![OSV-Scanner](https://github.com/envoyproxy/gateway/actions/workflows/osv-scanner.yml/badge.svg)](https://github.com/envoyproxy/gateway/actions/workflows/osv-scanner.yml)
 [![Trivy](https://github.com/envoyproxy/gateway/actions/workflows/trivy.yml/badge.svg)](https://github.com/envoyproxy/gateway/actions/workflows/trivy.yml)
 
+![Envoy Gateway Logo](https://github.com/cncf/artwork/blob/main/projects/envoy/envoy-gateway/horizontal/color/envoy-gateway-horizontal-color.svg)
+
 Envoy Gateway is an open source project for managing Envoy Proxy as a standalone or
 Kubernetes-based application gateway.
 [Gateway API](https://gateway-api.sigs.k8s.io) resources are used to dynamically provision and configure the managed Envoy Proxies.
diff --git a/charts/gateway-addons-helm/dashboards/global-ratelimit.json b/charts/gateway-addons-helm/dashboards/global-ratelimit.json
new file mode 100644
index 000000000..3242aa62b
--- /dev/null
+++ b/charts/gateway-addons-helm/dashboards/global-ratelimit.json
@@ -0,0 +1,633 @@
+{
+    "annotations": {
+        "list": [
+            {
+                "builtIn": 1,
+                "datasource": {
+                    "type": "grafana",
+                    "uid": "-- Grafana --"
+                },
+                "enable": true,
+                "hide": true,
+                "iconColor": "rgba(0, 211, 255, 1)",
+                "name": "Annotations & Alerts",
+                "type": "dashboard"
+            }
+        ]
+    },
+    "description": "Envoy Gateway monitoring Dashboard with exported metrics.",
+    "editable": true,
+    "fiscalYearStartMonth": 0,
+    "graphTooltip": 0,
+    "id": 6,
+    "links": [],
+    "panels": [
+        {
+            "collapsed": false,
+            "gridPos": {
+                "h": 1,
+                "w": 24,
+                "x": 0,
+                "y": 0
+            },
+            "id": 273,
+            "panels": [],
+            "title": "Global Ratelimit",
+            "type": "row"
+        },
+        {
+            "datasource": {
+                "type": "prometheus",
+                "uid": "PBFA97CFB590B2093"
+            },
+            "description": "The fraction of this program's available CPU time used by the GC since the program started.",
+            "fieldConfig": {
+                "defaults": {
+                    "color": {
+                        "mode": "palette-classic"
+                    },
+                    "custom": {
+                        "axisBorderShow": false,
+                        "axisCenteredZero": false,
+                        "axisColorMode": "series",
+                        "axisGridShow": false,
+                        "axisLabel": "",
+                        "axisPlacement": "auto",
+                        "barAlignment": 0,
+                        "drawStyle": "line",
+                        "fillOpacity": 25,
+                        "gradientMode": "none",
+                        "hideFrom": {
+                            "legend": false,
+                            "tooltip": false,
+                            "viz": false
+                        },
+                        "insertNulls": false,
+                        "lineInterpolation": "linear",
+                        "lineWidth": 1,
+                        "pointSize": 5,
+                        "scaleDistribution": {
+                            "type": "linear"
+                        },
+                        "showPoints": "auto",
+                        "spanNulls": false,
+                        "stacking": {
+                            "group": "A",
+                            "mode": "none"
+                        },
+                        "thresholdsStyle": {
+                            "mode": "off"
+                        }
+                    },
+                    "mappings": [],
+                    "thresholds": {
+                        "mode": "absolute",
+                        "steps": [
+                            {
+                                "color": "green",
+                                "value": null
+                            },
+                            {
+                                "color": "red",
+                                "value": 80
+                            }
+                        ]
+                    },
+                    "unit": "miu"
+                },
+                "overrides": []
+            },
+            "gridPos": {
+                "h": 7,
+                "w": 8,
+                "x": 0,
+                "y": 1
+            },
+            "id": 274,
+            "options": {
+                "legend": {
+                    "calcs": [],
+                    "displayMode": "hidden",
+                    "placement": "right",
+                    "showLegend": false
+                },
+                "tooltip": {
+                    "maxHeight": 600,
+                    "mode": "single",
+                    "sort": "none"
+                }
+            },
+            "pluginVersion": "11.0.0",
+            "targets": [
+                {
+                    "datasource": {
+                        "type": "prometheus",
+                        "uid": "PBFA97CFB590B2093"
+                    },
+                    "disableTextWrap": false,
+                    "editorMode": "code",
+                    "exemplar": false,
+                    "expr": "(go_memstats_gc_cpu_fraction)*1000000",
+                    "format": "time_series",
+                    "fullMetaSearch": false,
+                    "includeNullMetadata": true,
+                    "instant": false,
+                    "legendFormat": "__auto",
+                    "range": true,
+                    "refId": "A",
+                    "useBackend": false
+                }
+            ],
+            "title": "CPU Fraction",
+            "transparent": true,
+            "type": "timeseries"
+        },
+        {
+            "datasource": {
+                "type": "prometheus",
+                "uid": "PBFA97CFB590B2093"
+            },
+            "description": "Resident memory size",
+            "fieldConfig": {
+                "defaults": {
+                    "color": {
+                        "mode": "thresholds"
+                    },
+                    "mappings": [],
+                    "thresholds": {
+                        "mode": "absolute",
+                        "steps": [
+                            {
+                                "color": "green",
+                                "value": null
+                            }
+                        ]
+                    },
+                    "unit": "decmbytes"
+                },
+                "overrides": []
+            },
+            "gridPos": {
+                "h": 7,
+                "w": 7,
+                "x": 9,
+                "y": 1
+            },
+            "id": 291,
+            "options": {
+                "minVizHeight": 75,
+                "minVizWidth": 75,
+                "orientation": "auto",
+                "reduceOptions": {
+                    "calcs": [
+                        "lastNotNull"
+                    ],
+                    "fields": "",
+                    "values": false
+                },
+                "showThresholdLabels": false,
+                "showThresholdMarkers": false,
+                "sizing": "auto"
+            },
+            "pluginVersion": "11.0.0",
+            "targets": [
+                {
+                    "datasource": {
+                        "type": "prometheus",
+                        "uid": "PBFA97CFB590B2093"
+                    },
+                    "disableTextWrap": false,
+                    "editorMode": "code",
+                    "exemplar": false,
+                    "expr": "(process_resident_memory_bytes{app_kubernetes_io_component=\"ratelimit\"})/1000000",
+                    "fullMetaSearch": false,
+                    "includeNullMetadata": true,
+                    "instant": false,
+                    "legendFormat": "__auto",
+                    "range": true,
+                    "refId": "A",
+                    "useBackend": false
+                }
+            ],
+            "title": "Resident Memory",
+            "transparent": true,
+            "type": "gauge"
+        },
+        {
+            "datasource": {
+                "type": "prometheus",
+                "uid": "PBFA97CFB590B2093"
+            },
+            "description": "Virtual memory size",
+            "fieldConfig": {
+                "defaults": {
+                    "color": {
+                        "mode": "thresholds"
+                    },
+                    "mappings": [],
+                    "min": 0,
+                    "thresholds": {
+                        "mode": "percentage",
+                        "steps": [
+                            {
+                                "color": "green",
+                                "value": null
+                            }
+                        ]
+                    },
+                    "unit": "decmbytes"
+                },
+                "overrides": []
+            },
+            "gridPos": {
+                "h": 7,
+                "w": 7,
+                "x": 16,
+                "y": 1
+            },
+            "id": 325,
+            "options": {
+                "minVizHeight": 75,
+                "minVizWidth": 75,
+                "orientation": "auto",
+                "reduceOptions": {
+                    "calcs": [
+                        "lastNotNull"
+                    ],
+                    "fields": "",
+                    "values": false
+                },
+                "showThresholdLabels": false,
+                "showThresholdMarkers": false,
+                "sizing": "auto"
+            },
+            "pluginVersion": "11.0.0",
+            "targets": [
+                {
+                    "datasource": {
+                        "type": "prometheus",
+                        "uid": "PBFA97CFB590B2093"
+                    },
+                    "disableTextWrap": false,
+                    "editorMode": "code",
+                    "exemplar": false,
+                    "expr": "(process_virtual_memory_bytes{app_kubernetes_io_component=\"ratelimit\"})/1000000",
+                    "fullMetaSearch": false,
+                    "includeNullMetadata": true,
+                    "instant": false,
+                    "legendFormat": "__auto",
+                    "range": true,
+                    "refId": "A",
+                    "useBackend": false
+                }
+            ],
+            "title": "Virtual Memory",
+            "transparent": true,
+            "type": "gauge"
+        },
+        {
+            "datasource": {
+                "type": "prometheus",
+                "uid": "PBFA97CFB590B2093"
+            },
+            "description": "Number of ratelimit rule hits in total",
+            "fieldConfig": {
+                "defaults": {
+                    "color": {
+                        "fixedColor": "light-blue",
+                        "mode": "shades"
+                    },
+                    "fieldMinMax": false,
+                    "mappings": [],
+                    "noValue": "0",
+                    "thresholds": {
+                        "mode": "absolute",
+                        "steps": [
+                            {
+                                "color": "green",
+                                "value": null
+                            }
+                        ]
+                    },
+                    "unit": "none"
+                },
+                "overrides": []
+            },
+            "gridPos": {
+                "h": 7,
+                "w": 6,
+                "x": 0,
+                "y": 8
+            },
+            "id": 308,
+            "options": {
+                "colorMode": "value",
+                "graphMode": "none",
+                "justifyMode": "center",
+                "orientation": "auto",
+                "reduceOptions": {
+                    "calcs": [
+                        "lastNotNull"
+                    ],
+                    "fields": "",
+                    "values": false
+                },
+                "showPercentChange": false,
+                "textMode": "value",
+                "wideLayout": false
+            },
+            "pluginVersion": "11.0.0",
+            "targets": [
+                {
+                    "datasource": {
+                        "type": "prometheus",
+                        "uid": "PBFA97CFB590B2093"
+                    },
+                    "disableTextWrap": false,
+                    "editorMode": "builder",
+                    "exemplar": false,
+                    "expr": "ratelimit_service_rate_limit_total_hits{domain=\"$DefaultDomain\", key1=\"httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example_httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example\", key2=\"rule-0-match-0_rule-0-match-0\"}",
+                    "fullMetaSearch": false,
+                    "includeNullMetadata": true,
+                    "instant": false,
+                    "interval": "",
+                    "legendFormat": "__auto",
+                    "range": true,
+                    "refId": "A",
+                    "useBackend": false
+                }
+            ],
+            "title": "Total Hits",
+            "type": "stat"
+        },
+        {
+            "datasource": {
+                "type": "prometheus",
+                "uid": "PBFA97CFB590B2093"
+            },
+            "description": "Number of rule hits over the NearLimit ratio threshold (currently 80%) but under the threshold rate.",
+            "fieldConfig": {
+                "defaults": {
+                    "color": {
+                        "fixedColor": "light-blue",
+                        "mode": "shades"
+                    },
+                    "fieldMinMax": false,
+                    "mappings": [],
+                    "noValue": "0",
+                    "thresholds": {
+                        "mode": "absolute",
+                        "steps": [
+                            {
+                                "color": "green",
+                                "value": null
+                            }
+                        ]
+                    },
+                    "unit": "none"
+                },
+                "overrides": []
+            },
+            "gridPos": {
+                "h": 7,
+                "w": 6,
+                "x": 6,
+                "y": 8
+            },
+            "id": 326,
+            "options": {
+                "colorMode": "value",
+                "graphMode": "none",
+                "justifyMode": "center",
+                "orientation": "auto",
+                "reduceOptions": {
+                    "calcs": [
+                        "lastNotNull"
+                    ],
+                    "fields": "",
+                    "values": false
+                },
+                "showPercentChange": false,
+                "textMode": "value",
+                "wideLayout": false
+            },
+            "pluginVersion": "11.0.0",
+            "targets": [
+                {
+                    "datasource": {
+                        "type": "prometheus",
+                        "uid": "PBFA97CFB590B2093"
+                    },
+                    "disableTextWrap": false,
+                    "editorMode": "builder",
+                    "exemplar": false,
+                    "expr": "ratelimit_service_rate_limit_near_limit{domain=\"$DefaultDomain\", key1=\"httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example_httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example\", key2=\"rule-0-match-0_rule-0-match-0\"}",
+                    "fullMetaSearch": false,
+                    "includeNullMetadata": true,
+                    "instant": false,
+                    "interval": "",
+                    "legendFormat": "__auto",
+                    "range": true,
+                    "refId": "A",
+                    "useBackend": false
+                }
+            ],
+            "title": "Near Limit",
+            "type": "stat"
+        },
+        {
+            "datasource": {
+                "type": "prometheus",
+                "uid": "PBFA97CFB590B2093"
+            },
+            "description": "Number of rule hits exceeding the threshold rate",
+            "fieldConfig": {
+                "defaults": {
+                    "color": {
+                        "fixedColor": "light-blue",
+                        "mode": "shades"
+                    },
+                    "fieldMinMax": false,
+                    "mappings": [],
+                    "noValue": "0",
+                    "thresholds": {
+                        "mode": "absolute",
+                        "steps": [
+                            {
+                                "color": "green",
+                                "value": null
+                            }
+                        ]
+                    },
+                    "unit": "none"
+                },
+                "overrides": []
+            },
+            "gridPos": {
+                "h": 7,
+                "w": 6,
+                "x": 12,
+                "y": 8
+            },
+            "id": 327,
+            "options": {
+                "colorMode": "value",
+                "graphMode": "none",
+                "justifyMode": "center",
+                "orientation": "auto",
+                "reduceOptions": {
+                    "calcs": [
+                        "lastNotNull"
+                    ],
+                    "fields": "",
+                    "values": false
+                },
+                "showPercentChange": false,
+                "textMode": "value",
+                "wideLayout": false
+            },
+            "pluginVersion": "11.0.0",
+            "targets": [
+                {
+                    "datasource": {
+                        "type": "prometheus",
+                        "uid": "PBFA97CFB590B2093"
+                    },
+                    "disableTextWrap": false,
+                    "editorMode": "builder",
+                    "exemplar": false,
+                    "expr": "ratelimit_service_rate_limit_over_limit{domain=\"$DefaultDomain\", key1=\"httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example_httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example\", key2=\"rule-0-match-0_rule-0-match-0\"}",
+                    "fullMetaSearch": false,
+                    "includeNullMetadata": true,
+                    "instant": false,
+                    "interval": "",
+                    "legendFormat": "__auto",
+                    "range": true,
+                    "refId": "A",
+                    "useBackend": false
+                }
+            ],
+            "title": "Over Limit",
+            "type": "stat"
+        }
+    ],
+    "refresh": "",
+    "schemaVersion": 39,
+    "tags": [
+        "Control Plane"
+    ],
+    "templating": {
+        "list": [
+            {
+                "current": {
+                    "selected": false,
+                    "text": "Prometheus",
+                    "value": "PBFA97CFB590B2093"
+                },
+                "hide": 0,
+                "includeAll": false,
+                "multi": false,
+                "name": "datasource",
+                "options": [],
+                "query": "prometheus",
+                "refresh": 1,
+                "regex": "",
+                "skipUrlSync": false,
+                "type": "datasource"
+            },
+            {
+                "allValue": ".*",
+                "current": {
+                    "selected": false,
+                    "text": "envoy-gateway-system",
+                    "value": "envoy-gateway-system"
+                },
+                "datasource": {
+                    "type": "prometheus",
+                    "uid": "$datasource"
+                },
+                "definition": "label_values(watchable_depth,namespace)",
+                "hide": 0,
+                "includeAll": false,
+                "multi": false,
+                "name": "Namespace",
+                "options": [],
+                "query": {
+                    "qryType": 1,
+                    "query": "label_values(watchable_depth,namespace)",
+                    "refId": "PrometheusVariableQueryEditor-VariableQuery"
+                },
+                "refresh": 1,
+                "regex": "",
+                "skipUrlSync": false,
+                "sort": 0,
+                "type": "query"
+            },
+            {
+                "allValue": ".*",
+                "current": {
+                    "selected": true,
+                    "text": [
+                        "All"
+                    ],
+                    "value": [
+                        "$__all"
+                    ]
+                },
+                "datasource": {
+                    "type": "prometheus",
+                    "uid": "$datasource"
+                },
+                "definition": "label_values(watchable_depth,runner)",
+                "hide": 0,
+                "includeAll": true,
+                "multi": true,
+                "name": "Runner",
+                "options": [],
+                "query": {
+                    "qryType": 1,
+                    "query": "label_values(watchable_depth,runner)",
+                    "refId": "PrometheusVariableQueryEditor-VariableQuery"
+                },
+                "refresh": 2,
+                "regex": "",
+                "skipUrlSync": false,
+                "sort": 0,
+                "type": "query"
+            },
+            {
+                "current": {
+                    "selected": false,
+                    "text": "default/eg/http",
+                    "value": "default/eg/http"
+                },
+                "description": "DefaultDomain is set to default/eg/http",
+                "hide": 0,
+                "includeAll": false,
+                "multi": false,
+                "name": "DefaultDomain",
+                "options": [
+                    {
+                        "selected": true,
+                        "text": "default/eg/http",
+                        "value": "default/eg/http"
+                    }
+                ],
+                "query": "default/eg/http",
+                "skipUrlSync": false,
+                "type": "custom"
+            }
+        ]
+    },
+    "time": {
+        "from": "now-6h",
+        "to": "now"
+    },
+    "timeRangeUpdatedDuringEditOrView": false,
+    "timepicker": {},
+    "timezone": "browser",
+    "title": "Global Ratelimit",
+    "uid": "R2xvYmFsIFJhdGVsaW1pdAo",
+    "version": 4,
+    "weekStart": ""
+}
\ No newline at end of file
diff --git a/internal/gatewayapi/contexts.go b/internal/gatewayapi/contexts.go
index 7d6aee73d..fbd4c588f 100644
--- a/internal/gatewayapi/contexts.go
+++ b/internal/gatewayapi/contexts.go
@@ -76,7 +76,8 @@ type ListenerContext struct {
 }
 
 func (l *ListenerContext) SetSupportedKinds(kinds ...gwapiv1.RouteGroupKind) {
-	l.gateway.Status.Listeners[l.listenerStatusIdx].SupportedKinds = kinds
+	l.gateway.Status.Listeners[l.listenerStatusIdx].SupportedKinds = make([]gwapiv1.RouteGroupKind, 0, len(kinds))
+	l.gateway.Status.Listeners[l.listenerStatusIdx].SupportedKinds = append(l.gateway.Status.Listeners[l.listenerStatusIdx].SupportedKinds, kinds...)
 }
 
 func (l *ListenerContext) IncrementAttachedRoutes() {
diff --git a/internal/gatewayapi/listener.go b/internal/gatewayapi/listener.go
index 724e835eb..0c69d7b30 100644
--- a/internal/gatewayapi/listener.go
+++ b/internal/gatewayapi/listener.go
@@ -74,7 +74,7 @@ func (t *Translator) ProcessListeners(gateways []*GatewayContext, xdsIR resource
 			case gwapiv1.UDPProtocolType:
 				t.validateAllowedRoutes(listener, resource.KindUDPRoute)
 			default:
-				listener.SetSupportedKinds(gwapiv1.RouteGroupKind{Kind: "InvalidKind"})
+				listener.SetSupportedKinds()
 				status.SetGatewayListenerStatusCondition(listener.gateway.Gateway,
 					listener.listenerStatusIdx,
 					gwapiv1.ListenerConditionAccepted,


Test patch:
diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-unsupported-protocol.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-unsupported-protocol.out.yaml
index 373c2f894..0875ec245 100644
--- a/internal/gatewayapi/testdata/gateway-with-listener-with-unsupported-protocol.out.yaml
+++ b/internal/gatewayapi/testdata/gateway-with-listener-with-unsupported-protocol.out.yaml
@@ -34,8 +34,7 @@ gateways:
         status: "True"
         type: ResolvedRefs
       name: unsupported
-      supportedKinds:
-      - kind: InvalidKind
+      supportedKinds: []
 httpRoutes:
 - apiVersion: gateway.networking.k8s.io/v1
   kind: HTTPRoute
diff --git a/test/helm/gateway-addons-helm/default.out.yaml b/test/helm/gateway-addons-helm/default.out.yaml
index 060791f94..d349b1df8 100644
--- a/test/helm/gateway-addons-helm/default.out.yaml
+++ b/test/helm/gateway-addons-helm/default.out.yaml
@@ -8378,6 +8378,640 @@ data:
         "version": 1,
         "weekStart": ""
       }
+  global-ratelimit.json: |-
+      {
+          "annotations": {
+              "list": [
+                  {
+                      "builtIn": 1,
+                      "datasource": {
+                          "type": "grafana",
+                          "uid": "-- Grafana --"
+                      },
+                      "enable": true,
+                      "hide": true,
+                      "iconColor": "rgba(0, 211, 255, 1)",
+                      "name": "Annotations & Alerts",
+                      "type": "dashboard"
+                  }
+              ]
+          },
+          "description": "Envoy Gateway monitoring Dashboard with exported metrics.",
+          "editable": true,
+          "fiscalYearStartMonth": 0,
+          "graphTooltip": 0,
+          "id": 6,
+          "links": [],
+          "panels": [
+              {
+                  "collapsed": false,
+                  "gridPos": {
+                      "h": 1,
+                      "w": 24,
+                      "x": 0,
+                      "y": 0
+                  },
+                  "id": 273,
+                  "panels": [],
+                  "title": "Global Ratelimit",
+                  "type": "row"
+              },
+              {
+                  "datasource": {
+                      "type": "prometheus",
+                      "uid": "PBFA97CFB590B2093"
+                  },
+                  "description": "The fraction of this program's available CPU time used by the GC since the program started.",
+                  "fieldConfig": {
+                      "defaults": {
+                          "color": {
+                              "mode": "palette-classic"
+                          },
+                          "custom": {
+                              "axisBorderShow": false,
+                              "axisCenteredZero": false,
+                              "axisColorMode": "series",
+                              "axisGridShow": false,
+                              "axisLabel": "",
+                              "axisPlacement": "auto",
+                              "barAlignment": 0,
+                              "drawStyle": "line",
+                              "fillOpacity": 25,
+                              "gradientMode": "none",
+                              "hideFrom": {
+                                  "legend": false,
+                                  "tooltip": false,
+                                  "viz": false
+                              },
+                              "insertNulls": false,
+                              "lineInterpolation": "linear",
+                              "lineWidth": 1,
+                              "pointSize": 5,
+                              "scaleDistribution": {
+                                  "type": "linear"
+                              },
+                              "showPoints": "auto",
+                              "spanNulls": false,
+                              "stacking": {
+                                  "group": "A",
+                                  "mode": "none"
+                              },
+                              "thresholdsStyle": {
+                                  "mode": "off"
+                              }
+                          },
+                          "mappings": [],
+                          "thresholds": {
+                              "mode": "absolute",
+                              "steps": [
+                                  {
+                                      "color": "green",
+                                      "value": null
+                                  },
+                                  {
+                                      "color": "red",
+                                      "value": 80
+                                  }
+                              ]
+                          },
+                          "unit": "miu"
+                      },
+                      "overrides": []
+                  },
+                  "gridPos": {
+                      "h": 7,
+                      "w": 8,
+                      "x": 0,
+                      "y": 1
+                  },
+                  "id": 274,
+                  "options": {
+                      "legend": {
+                          "calcs": [],
+                          "displayMode": "hidden",
+                          "placement": "right",
+                          "showLegend": false
+                      },
+                      "tooltip": {
+                          "maxHeight": 600,
+                          "mode": "single",
+                          "sort": "none"
+                      }
+                  },
+                  "pluginVersion": "11.0.0",
+                  "targets": [
+                      {
+                          "datasource": {
+                              "type": "prometheus",
+                              "uid": "PBFA97CFB590B2093"
+                          },
+                          "disableTextWrap": false,
+                          "editorMode": "code",
+                          "exemplar": false,
+                          "expr": "(go_memstats_gc_cpu_fraction)*1000000",
+                          "format": "time_series",
+                          "fullMetaSearch": false,
+                          "includeNullMetadata": true,
+                          "instant": false,
+                          "legendFormat": "__auto",
+                          "range": true,
+                          "refId": "A",
+                          "useBackend": false
+                      }
+                  ],
+                  "title": "CPU Fraction",
+                  "transparent": true,
+                  "type": "timeseries"
+              },
+              {
+                  "datasource": {
+                      "type": "prometheus",
+                      "uid": "PBFA97CFB590B2093"
+                  },
+                  "description": "Resident memory size",
+                  "fieldConfig": {
+                      "defaults": {
+                          "color": {
+                              "mode": "thresholds"
+                          },
+                          "mappings": [],
+                          "thresholds": {
+                              "mode": "absolute",
+                              "steps": [
+                                  {
+                                      "color": "green",
+                                      "value": null
+                                  }
+                              ]
+                          },
+                          "unit": "decmbytes"
+                      },
+                      "overrides": []
+                  },
+                  "gridPos": {
+                      "h": 7,
+                      "w": 7,
+                      "x": 9,
+                      "y": 1
+                  },
+                  "id": 291,
+                  "options": {
+                      "minVizHeight": 75,
+                      "minVizWidth": 75,
+                      "orientation": "auto",
+                      "reduceOptions": {
+                          "calcs": [
+                              "lastNotNull"
+                          ],
+                          "fields": "",
+                          "values": false
+                      },
+                      "showThresholdLabels": false,
+                      "showThresholdMarkers": false,
+                      "sizing": "auto"
+                  },
+                  "pluginVersion": "11.0.0",
+                  "targets": [
+                      {
+                          "datasource": {
+                              "type": "prometheus",
+                              "uid": "PBFA97CFB590B2093"
+                          },
+                          "disableTextWrap": false,
+                          "editorMode": "code",
+                          "exemplar": false,
+                          "expr": "(process_resident_memory_bytes{app_kubernetes_io_component=\"ratelimit\"})/1000000",
+                          "fullMetaSearch": false,
+                          "includeNullMetadata": true,
+                          "instant": false,
+                          "legendFormat": "__auto",
+                          "range": true,
+                          "refId": "A",
+                          "useBackend": false
+                      }
+                  ],
+                  "title": "Resident Memory",
+                  "transparent": true,
+                  "type": "gauge"
+              },
+              {
+                  "datasource": {
+                      "type": "prometheus",
+                      "uid": "PBFA97CFB590B2093"
+                  },
+                  "description": "Virtual memory size",
+                  "fieldConfig": {
+                      "defaults": {
+                          "color": {
+                              "mode": "thresholds"
+                          },
+                          "mappings": [],
+                          "min": 0,
+                          "thresholds": {
+                              "mode": "percentage",
+                              "steps": [
+                                  {
+                                      "color": "green",
+                                      "value": null
+                                  }
+                              ]
+                          },
+                          "unit": "decmbytes"
+                      },
+                      "overrides": []
+                  },
+                  "gridPos": {
+                      "h": 7,
+                      "w": 7,
+                      "x": 16,
+                      "y": 1
+                  },
+                  "id": 325,
+                  "options": {
+                      "minVizHeight": 75,
+                      "minVizWidth": 75,
+                      "orientation": "auto",
+                      "reduceOptions": {
+                          "calcs": [
+                              "lastNotNull"
+                          ],
+                          "fields": "",
+                          "values": false
+                      },
+                      "showThresholdLabels": false,
+                      "showThresholdMarkers": false,
+                      "sizing": "auto"
+                  },
+                  "pluginVersion": "11.0.0",
+                  "targets": [
+                      {
+                          "datasource": {
+                              "type": "prometheus",
+                              "uid": "PBFA97CFB590B2093"
+                          },
+                          "disableTextWrap": false,
+                          "editorMode": "code",
+                          "exemplar": false,
+                          "expr": "(process_virtual_memory_bytes{app_kubernetes_io_component=\"ratelimit\"})/1000000",
+                          "fullMetaSearch": false,
+                          "includeNullMetadata": true,
+                          "instant": false,
+                          "legendFormat": "__auto",
+                          "range": true,
+                          "refId": "A",
+                          "useBackend": false
+                      }
+                  ],
+                  "title": "Virtual Memory",
+                  "transparent": true,
+                  "type": "gauge"
+              },
+              {
+                  "datasource": {
+                      "type": "prometheus",
+                      "uid": "PBFA97CFB590B2093"
+                  },
+                  "description": "Number of ratelimit rule hits in total",
+                  "fieldConfig": {
+                      "defaults": {
+                          "color": {
+                              "fixedColor": "light-blue",
+                              "mode": "shades"
+                          },
+                          "fieldMinMax": false,
+                          "mappings": [],
+                          "noValue": "0",
+                          "thresholds": {
+                              "mode": "absolute",
+                              "steps": [
+                                  {
+                                      "color": "green",
+                                      "value": null
+                                  }
+                              ]
+                          },
+                          "unit": "none"
+                      },
+                      "overrides": []
+                  },
+                  "gridPos": {
+                      "h": 7,
+                      "w": 6,
+                      "x": 0,
+                      "y": 8
+                  },
+                  "id": 308,
+                  "options": {
+                      "colorMode": "value",
+                      "graphMode": "none",
+                      "justifyMode": "center",
+                      "orientation": "auto",
+                      "reduceOptions": {
+                          "calcs": [
+                              "lastNotNull"
+                          ],
+                          "fields": "",
+                          "values": false
+                      },
+                      "showPercentChange": false,
+                      "textMode": "value",
+                      "wideLayout": false
+                  },
+                  "pluginVersion": "11.0.0",
+                  "targets": [
+                      {
+                          "datasource": {
+                              "type": "prometheus",
+                              "uid": "PBFA97CFB590B2093"
+                          },
+                          "disableTextWrap": false,
+                          "editorMode": "builder",
+                          "exemplar": false,
+                          "expr": "ratelimit_service_rate_limit_total_hits{domain=\"$DefaultDomain\", key1=\"httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example_httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example\", key2=\"rule-0-match-0_rule-0-match-0\"}",
+                          "fullMetaSearch": false,
+                          "includeNullMetadata": true,
+                          "instant": false,
+                          "interval": "",
+                          "legendFormat": "__auto",
+                          "range": true,
+                          "refId": "A",
+                          "useBackend": false
+                      }
+                  ],
+                  "title": "Total Hits",
+                  "type": "stat"
+              },
+              {
+                  "datasource": {
+                      "type": "prometheus",
+                      "uid": "PBFA97CFB590B2093"
+                  },
+                  "description": "Number of rule hits over the NearLimit ratio threshold (currently 80%) but under the threshold rate.",
+                  "fieldConfig": {
+                      "defaults": {
+                          "color": {
+                              "fixedColor": "light-blue",
+                              "mode": "shades"
+                          },
+                          "fieldMinMax": false,
+                          "mappings": [],
+                          "noValue": "0",
+                          "thresholds": {
+                              "mode": "absolute",
+                              "steps": [
+                                  {
+                                      "color": "green",
+                                      "value": null
+                                  }
+                              ]
+                          },
+                          "unit": "none"
+                      },
+                      "overrides": []
+                  },
+                  "gridPos": {
+                      "h": 7,
+                      "w": 6,
+                      "x": 6,
+                      "y": 8
+                  },
+                  "id": 326,
+                  "options": {
+                      "colorMode": "value",
+                      "graphMode": "none",
+                      "justifyMode": "center",
+                      "orientation": "auto",
+                      "reduceOptions": {
+                          "calcs": [
+                              "lastNotNull"
+                          ],
+                          "fields": "",
+                          "values": false
+                      },
+                      "showPercentChange": false,
+                      "textMode": "value",
+                      "wideLayout": false
+                  },
+                  "pluginVersion": "11.0.0",
+                  "targets": [
+                      {
+                          "datasource": {
+                              "type": "prometheus",
+                              "uid": "PBFA97CFB590B2093"
+                          },
+                          "disableTextWrap": false,
+                          "editorMode": "builder",
+                          "exemplar": false,
+                          "expr": "ratelimit_service_rate_limit_near_limit{domain=\"$DefaultDomain\", key1=\"httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example_httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example\", key2=\"rule-0-match-0_rule-0-match-0\"}",
+                          "fullMetaSearch": false,
+                          "includeNullMetadata": true,
+                          "instant": false,
+                          "interval": "",
+                          "legendFormat": "__auto",
+                          "range": true,
+                          "refId": "A",
+                          "useBackend": false
+                      }
+                  ],
+                  "title": "Near Limit",
+                  "type": "stat"
+              },
+              {
+                  "datasource": {
+                      "type": "prometheus",
+                      "uid": "PBFA97CFB590B2093"
+                  },
+                  "description": "Number of rule hits exceeding the threshold rate",
+                  "fieldConfig": {
+                      "defaults": {
+                          "color": {
+                              "fixedColor": "light-blue",
+                              "mode": "shades"
+                          },
+                          "fieldMinMax": false,
+                          "mappings": [],
+                          "noValue": "0",
+                          "thresholds": {
+                              "mode": "absolute",
+                              "steps": [
+                                  {
+                                      "color": "green",
+                                      "value": null
+                                  }
+                              ]
+                          },
+                          "unit": "none"
+                      },
+                      "overrides": []
+                  },
+                  "gridPos": {
+                      "h": 7,
+                      "w": 6,
+                      "x": 12,
+                      "y": 8
+                  },
+                  "id": 327,
+                  "options": {
+                      "colorMode": "value",
+                      "graphMode": "none",
+                      "justifyMode": "center",
+                      "orientation": "auto",
+                      "reduceOptions": {
+                          "calcs": [
+                              "lastNotNull"
+                          ],
+                          "fields": "",
+                          "values": false
+                      },
+                      "showPercentChange": false,
+                      "textMode": "value",
+                      "wideLayout": false
+                  },
+                  "pluginVersion": "11.0.0",
+                  "targets": [
+                      {
+                          "datasource": {
+                              "type": "prometheus",
+                              "uid": "PBFA97CFB590B2093"
+                          },
+                          "disableTextWrap": false,
+                          "editorMode": "builder",
+                          "exemplar": false,
+                          "expr": "ratelimit_service_rate_limit_over_limit{domain=\"$DefaultDomain\", key1=\"httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example_httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example\", key2=\"rule-0-match-0_rule-0-match-0\"}",
+                          "fullMetaSearch": false,
+                          "includeNullMetadata": true,
+                          "instant": false,
+                          "interval": "",
+                          "legendFormat": "__auto",
+                          "range": true,
+                          "refId": "A",
+                          "useBackend": false
+                      }
+                  ],
+                  "title": "Over Limit",
+                  "type": "stat"
+              }
+          ],
+          "refresh": "",
+          "schemaVersion": 39,
+          "tags": [
+              "Control Plane"
+          ],
+          "templating": {
+              "list": [
+                  {
+                      "current": {
+                          "selected": false,
+                          "text": "Prometheus",
+                          "value": "PBFA97CFB590B2093"
+                      },
+                      "hide": 0,
+                      "includeAll": false,
+                      "multi": false,
+                      "name": "datasource",
+                      "options": [],
+                      "query": "prometheus",
+                      "refresh": 1,
+                      "regex": "",
+                      "skipUrlSync": false,
+                      "type": "datasource"
+                  },
+                  {
+                      "allValue": ".*",
+                      "current": {
+                          "selected": false,
+                          "text": "envoy-gateway-system",
+                          "value": "envoy-gateway-system"
+                      },
+                      "datasource": {
+                          "type": "prometheus",
+                          "uid": "$datasource"
+                      },
+                      "definition": "label_values(watchable_depth,namespace)",
+                      "hide": 0,
+                      "includeAll": false,
+                      "multi": false,
+                      "name": "Namespace",
+                      "options": [],
+                      "query": {
+                          "qryType": 1,
+                          "query": "label_values(watchable_depth,namespace)",
+                          "refId": "PrometheusVariableQueryEditor-VariableQuery"
+                      },
+                      "refresh": 1,
+                      "regex": "",
+                      "skipUrlSync": false,
+                      "sort": 0,
+                      "type": "query"
+                  },
+                  {
+                      "allValue": ".*",
+                      "current": {
+                          "selected": true,
+                          "text": [
+                              "All"
+                          ],
+                          "value": [
+                              "$__all"
+                          ]
+                      },
+                      "datasource": {
+                          "type": "prometheus",
+                          "uid": "$datasource"
+                      },
+                      "definition": "label_values(watchable_depth,runner)",
+                      "hide": 0,
+                      "includeAll": true,
+                      "multi": true,
+                      "name": "Runner",
+                      "options": [],
+                      "query": {
+                          "qryType": 1,
+                          "query": "label_values(watchable_depth,runner)",
+                          "refId": "PrometheusVariableQueryEditor-VariableQuery"
+                      },
+                      "refresh": 2,
+                      "regex": "",
+                      "skipUrlSync": false,
+                      "sort": 0,
+                      "type": "query"
+                  },
+                  {
+                      "current": {
+                          "selected": false,
+                          "text": "default/eg/http",
+                          "value": "default/eg/http"
+                      },
+                      "description": "DefaultDomain is set to default/eg/http",
+                      "hide": 0,
+                      "includeAll": false,
+                      "multi": false,
+                      "name": "DefaultDomain",
+                      "options": [
+                          {
+                              "selected": true,
+                              "text": "default/eg/http",
+                              "value": "default/eg/http"
+                          }
+                      ],
+                      "query": "default/eg/http",
+                      "skipUrlSync": false,
+                      "type": "custom"
+                  }
+              ]
+          },
+          "time": {
+              "from": "now-6h",
+              "to": "now"
+          },
+          "timeRangeUpdatedDuringEditOrView": false,
+          "timepicker": {},
+          "timezone": "browser",
+          "title": "Global Ratelimit",
+          "uid": "R2xvYmFsIFJhdGVsaW1pdAo",
+          "version": 4,
+          "weekStart": ""
+      }
   resources-monitor.gen.json: |-
       {
          "description": "Memory and CPU Usage Monitor for Envoy Gateway and Envoy Proxy.\n",
diff --git a/test/helm/gateway-addons-helm/e2e.out.yaml b/test/helm/gateway-addons-helm/e2e.out.yaml
index df3d02ade..52ed8fcb9 100644
--- a/test/helm/gateway-addons-helm/e2e.out.yaml
+++ b/test/helm/gateway-addons-helm/e2e.out.yaml
@@ -8410,6 +8410,640 @@ data:
         "version": 1,
         "weekStart": ""
       }
+  global-ratelimit.json: |-
+      {
+          "annotations": {
+              "list": [
+                  {
+                      "builtIn": 1,
+                      "datasource": {
+                          "type": "grafana",
+                          "uid": "-- Grafana --"
+                      },
+                      "enable": true,
+                      "hide": true,
+                      "iconColor": "rgba(0, 211, 255, 1)",
+                      "name": "Annotations & Alerts",
+                      "type": "dashboard"
+                  }
+              ]
+          },
+          "description": "Envoy Gateway monitoring Dashboard with exported metrics.",
+          "editable": true,
+          "fiscalYearStartMonth": 0,
+          "graphTooltip": 0,
+          "id": 6,
+          "links": [],
+          "panels": [
+              {
+                  "collapsed": false,
+                  "gridPos": {
+                      "h": 1,
+                      "w": 24,
+                      "x": 0,
+                      "y": 0
+                  },
+                  "id": 273,
+                  "panels": [],
+                  "title": "Global Ratelimit",
+                  "type": "row"
+              },
+              {
+                  "datasource": {
+                      "type": "prometheus",
+                      "uid": "PBFA97CFB590B2093"
+                  },
+                  "description": "The fraction of this program's available CPU time used by the GC since the program started.",
+                  "fieldConfig": {
+                      "defaults": {
+                          "color": {
+                              "mode": "palette-classic"
+                          },
+                          "custom": {
+                              "axisBorderShow": false,
+                              "axisCenteredZero": false,
+                              "axisColorMode": "series",
+                              "axisGridShow": false,
+                              "axisLabel": "",
+                              "axisPlacement": "auto",
+                              "barAlignment": 0,
+                              "drawStyle": "line",
+                              "fillOpacity": 25,
+                              "gradientMode": "none",
+                              "hideFrom": {
+                                  "legend": false,
+                                  "tooltip": false,
+                                  "viz": false
+                              },
+                              "insertNulls": false,
+                              "lineInterpolation": "linear",
+                              "lineWidth": 1,
+                              "pointSize": 5,
+                              "scaleDistribution": {
+                                  "type": "linear"
+                              },
+                              "showPoints": "auto",
+                              "spanNulls": false,
+                              "stacking": {
+                                  "group": "A",
+                                  "mode": "none"
+                              },
+                              "thresholdsStyle": {
+                                  "mode": "off"
+                              }
+                          },
+                          "mappings": [],
+                          "thresholds": {
+                              "mode": "absolute",
+                              "steps": [
+                                  {
+                                      "color": "green",
+                                      "value": null
+                                  },
+                                  {
+                                      "color": "red",
+                                      "value": 80
+                                  }
+                              ]
+                          },
+                          "unit": "miu"
+                      },
+                      "overrides": []
+                  },
+                  "gridPos": {
+                      "h": 7,
+                      "w": 8,
+                      "x": 0,
+                      "y": 1
+                  },
+                  "id": 274,
+                  "options": {
+                      "legend": {
+                          "calcs": [],
+                          "displayMode": "hidden",
+                          "placement": "right",
+                          "showLegend": false
+                      },
+                      "tooltip": {
+                          "maxHeight": 600,
+                          "mode": "single",
+                          "sort": "none"
+                      }
+                  },
+                  "pluginVersion": "11.0.0",
+                  "targets": [
+                      {
+                          "datasource": {
+                              "type": "prometheus",
+                              "uid": "PBFA97CFB590B2093"
+                          },
+                          "disableTextWrap": false,
+                          "editorMode": "code",
+                          "exemplar": false,
+                          "expr": "(go_memstats_gc_cpu_fraction)*1000000",
+                          "format": "time_series",
+                          "fullMetaSearch": false,
+                          "includeNullMetadata": true,
+                          "instant": false,
+                          "legendFormat": "__auto",
+                          "range": true,
+                          "refId": "A",
+                          "useBackend": false
+                      }
+                  ],
+                  "title": "CPU Fraction",
+                  "transparent": true,
+                  "type": "timeseries"
+              },
+              {
+                  "datasource": {
+                      "type": "prometheus",
+                      "uid": "PBFA97CFB590B2093"
+                  },
+                  "description": "Resident memory size",
+                  "fieldConfig": {
+                      "defaults": {
+                          "color": {
+                              "mode": "thresholds"
+                          },
+                          "mappings": [],
+                          "thresholds": {
+                              "mode": "absolute",
+                              "steps": [
+                                  {
+                                      "color": "green",
+                                      "value": null
+                                  }
+                              ]
+                          },
+                          "unit": "decmbytes"
+                      },
+                      "overrides": []
+                  },
+                  "gridPos": {
+                      "h": 7,
+                      "w": 7,
+                      "x": 9,
+                      "y": 1
+                  },
+                  "id": 291,
+                  "options": {
+                      "minVizHeight": 75,
+                      "minVizWidth": 75,
+                      "orientation": "auto",
+                      "reduceOptions": {
+                          "calcs": [
+                              "lastNotNull"
+                          ],
+                          "fields": "",
+                          "values": false
+                      },
+                      "showThresholdLabels": false,
+                      "showThresholdMarkers": false,
+                      "sizing": "auto"
+                  },
+                  "pluginVersion": "11.0.0",
+                  "targets": [
+                      {
+                          "datasource": {
+                              "type": "prometheus",
+                              "uid": "PBFA97CFB590B2093"
+                          },
+                          "disableTextWrap": false,
+                          "editorMode": "code",
+                          "exemplar": false,
+                          "expr": "(process_resident_memory_bytes{app_kubernetes_io_component=\"ratelimit\"})/1000000",
+                          "fullMetaSearch": false,
+                          "includeNullMetadata": true,
+                          "instant": false,
+                          "legendFormat": "__auto",
+                          "range": true,
+                          "refId": "A",
+                          "useBackend": false
+                      }
+                  ],
+                  "title": "Resident Memory",
+                  "transparent": true,
+                  "type": "gauge"
+              },
+              {
+                  "datasource": {
+                      "type": "prometheus",
+                      "uid": "PBFA97CFB590B2093"
+                  },
+                  "description": "Virtual memory size",
+                  "fieldConfig": {
+                      "defaults": {
+                          "color": {
+                              "mode": "thresholds"
+                          },
+                          "mappings": [],
+                          "min": 0,
+                          "thresholds": {
+                              "mode": "percentage",
+                              "steps": [
+                                  {
+                                      "color": "green",
+                                      "value": null
+                                  }
+                              ]
+                          },
+                          "unit": "decmbytes"
+                      },
+                      "overrides": []
+                  },
+                  "gridPos": {
+                      "h": 7,
+                      "w": 7,
+                      "x": 16,
+                      "y": 1
+                  },
+                  "id": 325,
+                  "options": {
+                      "minVizHeight": 75,
+                      "minVizWidth": 75,
+                      "orientation": "auto",
+                      "reduceOptions": {
+                          "calcs": [
+                              "lastNotNull"
+                          ],
+                          "fields": "",
+                          "values": false
+                      },
+                      "showThresholdLabels": false,
+                      "showThresholdMarkers": false,
+                      "sizing": "auto"
+                  },
+                  "pluginVersion": "11.0.0",
+                  "targets": [
+                      {
+                          "datasource": {
+                              "type": "prometheus",
+                              "uid": "PBFA97CFB590B2093"
+                          },
+                          "disableTextWrap": false,
+                          "editorMode": "code",
+                          "exemplar": false,
+                          "expr": "(process_virtual_memory_bytes{app_kubernetes_io_component=\"ratelimit\"})/1000000",
+                          "fullMetaSearch": false,
+                          "includeNullMetadata": true,
+                          "instant": false,
+                          "legendFormat": "__auto",
+                          "range": true,
+                          "refId": "A",
+                          "useBackend": false
+                      }
+                  ],
+                  "title": "Virtual Memory",
+                  "transparent": true,
+                  "type": "gauge"
+              },
+              {
+                  "datasource": {
+                      "type": "prometheus",
+                      "uid": "PBFA97CFB590B2093"
+                  },
+                  "description": "Number of ratelimit rule hits in total",
+                  "fieldConfig": {
+                      "defaults": {
+                          "color": {
+                              "fixedColor": "light-blue",
+                              "mode": "shades"
+                          },
+                          "fieldMinMax": false,
+                          "mappings": [],
+                          "noValue": "0",
+                          "thresholds": {
+                              "mode": "absolute",
+                              "steps": [
+                                  {
+                                      "color": "green",
+                                      "value": null
+                                  }
+                              ]
+                          },
+                          "unit": "none"
+                      },
+                      "overrides": []
+                  },
+                  "gridPos": {
+                      "h": 7,
+                      "w": 6,
+                      "x": 0,
+                      "y": 8
+                  },
+                  "id": 308,
+                  "options": {
+                      "colorMode": "value",
+                      "graphMode": "none",
+                      "justifyMode": "center",
+                      "orientation": "auto",
+                      "reduceOptions": {
+                          "calcs": [
+                              "lastNotNull"
+                          ],
+                          "fields": "",
+                          "values": false
+                      },
+                      "showPercentChange": false,
+                      "textMode": "value",
+                      "wideLayout": false
+                  },
+                  "pluginVersion": "11.0.0",
+                  "targets": [
+                      {
+                          "datasource": {
+                              "type": "prometheus",
+                              "uid": "PBFA97CFB590B2093"
+                          },
+                          "disableTextWrap": false,
+                          "editorMode": "builder",
+                          "exemplar": false,
+                          "expr": "ratelimit_service_rate_limit_total_hits{domain=\"$DefaultDomain\", key1=\"httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example_httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example\", key2=\"rule-0-match-0_rule-0-match-0\"}",
+                          "fullMetaSearch": false,
+                          "includeNullMetadata": true,
+                          "instant": false,
+                          "interval": "",
+                          "legendFormat": "__auto",
+                          "range": true,
+                          "refId": "A",
+                          "useBackend": false
+                      }
+                  ],
+                  "title": "Total Hits",
+                  "type": "stat"
+              },
+              {
+                  "datasource": {
+                      "type": "prometheus",
+                      "uid": "PBFA97CFB590B2093"
+                  },
+                  "description": "Number of rule hits over the NearLimit ratio threshold (currently 80%) but under the threshold rate.",
+                  "fieldConfig": {
+                      "defaults": {
+                          "color": {
+                              "fixedColor": "light-blue",
+                              "mode": "shades"
+                          },
+                          "fieldMinMax": false,
+                          "mappings": [],
+                          "noValue": "0",
+                          "thresholds": {
+                              "mode": "absolute",
+                              "steps": [
+                                  {
+                                      "color": "green",
+                                      "value": null
+                                  }
+                              ]
+                          },
+                          "unit": "none"
+                      },
+                      "overrides": []
+                  },
+                  "gridPos": {
+                      "h": 7,
+                      "w": 6,
+                      "x": 6,
+                      "y": 8
+                  },
+                  "id": 326,
+                  "options": {
+                      "colorMode": "value",
+                      "graphMode": "none",
+                      "justifyMode": "center",
+                      "orientation": "auto",
+                      "reduceOptions": {
+                          "calcs": [
+                              "lastNotNull"
+                          ],
+                          "fields": "",
+                          "values": false
+                      },
+                      "showPercentChange": false,
+                      "textMode": "value",
+                      "wideLayout": false
+                  },
+                  "pluginVersion": "11.0.0",
+                  "targets": [
+                      {
+                          "datasource": {
+                              "type": "prometheus",
+                              "uid": "PBFA97CFB590B2093"
+                          },
+                          "disableTextWrap": false,
+                          "editorMode": "builder",
+                          "exemplar": false,
+                          "expr": "ratelimit_service_rate_limit_near_limit{domain=\"$DefaultDomain\", key1=\"httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example_httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example\", key2=\"rule-0-match-0_rule-0-match-0\"}",
+                          "fullMetaSearch": false,
+                          "includeNullMetadata": true,
+                          "instant": false,
+                          "interval": "",
+                          "legendFormat": "__auto",
+                          "range": true,
+                          "refId": "A",
+                          "useBackend": false
+                      }
+                  ],
+                  "title": "Near Limit",
+                  "type": "stat"
+              },
+              {
+                  "datasource": {
+                      "type": "prometheus",
+                      "uid": "PBFA97CFB590B2093"
+                  },
+                  "description": "Number of rule hits exceeding the threshold rate",
+                  "fieldConfig": {
+                      "defaults": {
+                          "color": {
+                              "fixedColor": "light-blue",
+                              "mode": "shades"
+                          },
+                          "fieldMinMax": false,
+                          "mappings": [],
+                          "noValue": "0",
+                          "thresholds": {
+                              "mode": "absolute",
+                              "steps": [
+                                  {
+                                      "color": "green",
+                                      "value": null
+                                  }
+                              ]
+                          },
+                          "unit": "none"
+                      },
+                      "overrides": []
+                  },
+                  "gridPos": {
+                      "h": 7,
+                      "w": 6,
+                      "x": 12,
+                      "y": 8
+                  },
+                  "id": 327,
+                  "options": {
+                      "colorMode": "value",
+                      "graphMode": "none",
+                      "justifyMode": "center",
+                      "orientation": "auto",
+                      "reduceOptions": {
+                          "calcs": [
+                              "lastNotNull"
+                          ],
+                          "fields": "",
+                          "values": false
+                      },
+                      "showPercentChange": false,
+                      "textMode": "value",
+                      "wideLayout": false
+                  },
+                  "pluginVersion": "11.0.0",
+                  "targets": [
+                      {
+                          "datasource": {
+                              "type": "prometheus",
+                              "uid": "PBFA97CFB590B2093"
+                          },
+                          "disableTextWrap": false,
+                          "editorMode": "builder",
+                          "exemplar": false,
+                          "expr": "ratelimit_service_rate_limit_over_limit{domain=\"$DefaultDomain\", key1=\"httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example_httproute/default/http-ratelimit/rule/0/match/0/ratelimit_example\", key2=\"rule-0-match-0_rule-0-match-0\"}",
+                          "fullMetaSearch": false,
+                          "includeNullMetadata": true,
+                          "instant": false,
+                          "interval": "",
+                          "legendFormat": "__auto",
+                          "range": true,
+                          "refId": "A",
+                          "useBackend": false
+                      }
+                  ],
+                  "title": "Over Limit",
+                  "type": "stat"
+              }
+          ],
+          "refresh": "",
+          "schemaVersion": 39,
+          "tags": [
+              "Control Plane"
+          ],
+          "templating": {
+              "list": [
+                  {
+                      "current": {
+                          "selected": false,
+                          "text": "Prometheus",
+                          "value": "PBFA97CFB590B2093"
+                      },
+                      "hide": 0,
+                      "includeAll": false,
+                      "multi": false,
+                      "name": "datasource",
+                      "options": [],
+                      "query": "prometheus",
+                      "refresh": 1,
+                      "regex": "",
+                      "skipUrlSync": false,
+                      "type": "datasource"
+                  },
+                  {
+                      "allValue": ".*",
+                      "current": {
+                          "selected": false,
+                          "text": "envoy-gateway-system",
+                          "value": "envoy-gateway-system"
+                      },
+                      "datasource": {
+                          "type": "prometheus",
+                          "uid": "$datasource"
+                      },
+                      "definition": "label_values(watchable_depth,namespace)",
+                      "hide": 0,
+                      "includeAll": false,
+                      "multi": false,
+                      "name": "Namespace",
+                      "options": [],
+                      "query": {
+                          "qryType": 1,
+                          "query": "label_values(watchable_depth,namespace)",
+                          "refId": "PrometheusVariableQueryEditor-VariableQuery"
+                      },
+                      "refresh": 1,
+                      "regex": "",
+                      "skipUrlSync": false,
+                      "sort": 0,
+                      "type": "query"
+                  },
+                  {
+                      "allValue": ".*",
+                      "current": {
+                          "selected": true,
+                          "text": [
+                              "All"
+                          ],
+                          "value": [
+                              "$__all"
+                          ]
+                      },
+                      "datasource": {
+                          "type": "prometheus",
+                          "uid": "$datasource"
+                      },
+                      "definition": "label_values(watchable_depth,runner)",
+                      "hide": 0,
+                      "includeAll": true,
+                      "multi": true,
+                      "name": "Runner",
+                      "options": [],
+                      "query": {
+                          "qryType": 1,
+                          "query": "label_values(watchable_depth,runner)",
+                          "refId": "PrometheusVariableQueryEditor-VariableQuery"
+                      },
+                      "refresh": 2,
+                      "regex": "",
+                      "skipUrlSync": false,
+                      "sort": 0,
+                      "type": "query"
+                  },
+                  {
+                      "current": {
+                          "selected": false,
+                          "text": "default/eg/http",
+                          "value": "default/eg/http"
+                      },
+                      "description": "DefaultDomain is set to default/eg/http",
+                      "hide": 0,
+                      "includeAll": false,
+                      "multi": false,
+                      "name": "DefaultDomain",
+                      "options": [
+                          {
+                              "selected": true,
+                              "text": "default/eg/http",
+                              "value": "default/eg/http"
+                          }
+                      ],
+                      "query": "default/eg/http",
+                      "skipUrlSync": false,
+                      "type": "custom"
+                  }
+              ]
+          },
+          "time": {
+              "from": "now-6h",
+              "to": "now"
+          },
+          "timeRangeUpdatedDuringEditOrView": false,
+          "timepicker": {},
+          "timezone": "browser",
+          "title": "Global Ratelimit",
+          "uid": "R2xvYmFsIFJhdGVsaW1pdAo",
+          "version": 4,
+          "weekStart": ""
+      }
   resources-monitor.gen.json: |-
       {
          "description": "Memory and CPU Usage Monitor for Envoy Gateway and Envoy Proxy.\n",