Updated grafana dashboard with dynamic rate_interval

- added in one place the rate_interval variable instead of static "[1m]".

Change-Id: If4e5bdd8f0fa99578f8cbc9eb0d6d59b733daf4b
Related-Bug: PROD-30424
diff --git a/jenkins/files/grafana_dashboards/jenkins_prometheus.json b/jenkins/files/grafana_dashboards/jenkins_prometheus.json
index 61c489b..253c8b2 100644
--- a/jenkins/files/grafana_dashboards/jenkins_prometheus.json
+++ b/jenkins/files/grafana_dashboards/jenkins_prometheus.json
@@ -987,7 +987,7 @@
       "tableColumn": "",
       "targets": [
         {
-          "expr": "rate(jenkins_job_building_duration_count{host=~\"$host\"}[1m])",
+          "expr": "rate(jenkins_job_building_duration_count{host=~\"$host\"}[$rate_interval])",
           "format": "time_series",
           "intervalFactor": 1,
           "refId": "A",
@@ -1070,7 +1070,7 @@
       "tableColumn": "",
       "targets": [
         {
-          "expr": "rate(jenkins_job_queuing_duration_count{host=~\"$host\"}[1m])",
+          "expr": "rate(jenkins_job_queuing_duration_count{host=~\"$host\"}[$rate_interval])",
           "format": "time_series",
           "intervalFactor": 1,
           "refId": "A",
@@ -1311,6 +1311,54 @@
         "tagsQuery": "",
         "type": "query",
         "useTags": false
+      },
+      {
+        "auto": false,
+        "auto_count": 30,
+        "auto_min": "10s",
+        "current": {
+          "selected": true,
+          "text": "3m",
+          "value": "3m"
+        },
+        "hide": 0,
+        "label": null,
+        "name": "rate_interval",
+        "options": [
+          {
+            "selected": false,
+            "text": "1m",
+            "value": "1m"
+          },
+          {
+            "selected": false,
+            "text": "2m",
+            "value": "2m"
+          },
+          {
+            "selected": true,
+            "text": "3m",
+            "value": "3m"
+          },
+          {
+            "selected": false,
+            "text": "5m",
+            "value": "5m"
+          },
+          {
+            "selected": false,
+            "text": "10m",
+            "value": "10m"
+          },
+          {
+            "selected": false,
+            "text": "15m",
+            "value": "15m"
+          }
+        ],
+        "query": "1m,2m,3m,5m,10m,15m",
+        "refresh": 2,
+        "type": "interval"
       }
     ]
   },