apiVersion: v1
kind: ConfigMap
metadata:
  name: court-probation-prod-pods-dashboard
  namespace: court-probation-prod
  labels:
    grafana_dashboard: "court-probation-pods"
data:
  court-probation-prod.json: |
    {
      "annotations": {
        "list": [
          {
            "builtIn": 1,
            "datasource": "-- Grafana --",
            "enable": true,
            "hide": true,
            "iconColor": "rgba(0, 211, 255, 1)",
            "limit": 100,
            "name": "Annotations & Alerts",
            "showIn": 0,
            "type": "dashboard"
          }
        ]
      },
      "editable": true,
      "gnetId": null,
      "graphTooltip": 1,
      "id": 50,
      "iteration": 1608818435519,
      "links": [],
      "panels": [
        {
          "datasource": null,
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 0
          },
          "id": 14,
          "title": "Row title",
          "type": "row"
        },
        {
          "content": "# Probation in Court - Pods",
          "datasource": null,
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "gridPos": {
            "h": 3,
            "w": 12,
            "x": 0,
            "y": 1
          },
          "id": 8,
          "mode": "markdown",
          "title": "",
          "type": "text"
        },
        {
          "collapsed": false,
          "datasource": null,
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 4
          },
          "id": 12,
          "panels": [],
          "repeat": "service",
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"prepare-a-case\"",
              "value": "\"prepare-a-case\""
            }
          },
          "title": "$service",
          "type": "row"
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 5,
            "w": 16,
            "x": 0,
            "y": 5
          },
          "hiddenSeries": false,
          "id": 2,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"prepare-a-case\"",
              "value": "\"prepare-a-case\""
            }
          },
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "expr": "sum by (deployment) (kube_deployment_spec_replicas{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service}) ",
              "interval": "1",
              "legendFormat": "Expected",
              "refId": "A"
            },
            {
              "expr": "sum by (deployment) (kube_deployment_status_replicas_available{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service})",
              "interval": "1",
              "legendFormat": "Available",
              "refId": "B"
            },
            {
              "expr": "sum by (deployment) (kube_deployment_status_replicas_unavailable{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service})",
              "interval": "1",
              "legendFormat": "Unavailable",
              "refId": "C"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "$service",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "red",
                    "value": null
                  },
                  {
                    "color": "green",
                    "value": 1
                  }
                ]
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 5,
            "w": 2,
            "x": 16,
            "y": 5
          },
          "id": 17,
          "interval": "",
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "values": false
            }
          },
          "pluginVersion": "7.0.2",
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"prepare-a-case\"",
              "value": "\"prepare-a-case\""
            }
          },
          "targets": [
            {
              "expr": "sum by (deployment) (kube_deployment_spec_replicas{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service}) ",
              "instant": true,
              "interval": "1",
              "legendFormat": "Expected",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Expected",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "red",
                    "value": null
                  },
                  {
                    "color": "green",
                    "value": 1
                  }
                ]
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 5,
            "w": 2,
            "x": 18,
            "y": 5
          },
          "id": 28,
          "interval": "",
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "values": false
            }
          },
          "pluginVersion": "7.0.2",
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"prepare-a-case\"",
              "value": "\"prepare-a-case\""
            }
          },
          "targets": [
            {
              "expr": "sum by (deployment) (kube_deployment_status_replicas_available{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service})",
              "instant": true,
              "interval": "1",
              "legendFormat": "Available",
              "refId": "B"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Available",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 1
                  }
                ]
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 5,
            "w": 2,
            "x": 20,
            "y": 5
          },
          "id": 27,
          "interval": "",
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "values": false
            }
          },
          "pluginVersion": "7.0.2",
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"prepare-a-case\"",
              "value": "\"prepare-a-case\""
            }
          },
          "targets": [
            {
              "expr": "sum by (deployment) (kube_deployment_status_replicas_unavailable{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service})",
              "instant": true,
              "interval": "1",
              "legendFormat": "Unavailable",
              "refId": "C"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Unavailable",
          "type": "stat"
        },
        {
          "collapsed": false,
          "datasource": null,
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 10
          },
          "id": 29,
          "panels": [],
          "repeat": null,
          "repeatIteration": 1608818435519,
          "repeatPanelId": 12,
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"court-case-service\"",
              "value": "\"court-case-service\""
            }
          },
          "title": "$service",
          "type": "row"
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 5,
            "w": 16,
            "x": 0,
            "y": 11
          },
          "hiddenSeries": false,
          "id": 30,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "repeatIteration": 1608818435519,
          "repeatPanelId": 2,
          "repeatedByRow": true,
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"court-case-service\"",
              "value": "\"court-case-service\""
            }
          },
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "expr": "sum by (deployment) (kube_deployment_spec_replicas{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service}) ",
              "interval": "1",
              "legendFormat": "Expected",
              "refId": "A"
            },
            {
              "expr": "sum by (deployment) (kube_deployment_status_replicas_available{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service})",
              "interval": "1",
              "legendFormat": "Available",
              "refId": "B"
            },
            {
              "expr": "sum by (deployment) (kube_deployment_status_replicas_unavailable{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service})",
              "interval": "1",
              "legendFormat": "Unavailable",
              "refId": "C"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "$service",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "red",
                    "value": null
                  },
                  {
                    "color": "green",
                    "value": 1
                  }
                ]
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 5,
            "w": 2,
            "x": 16,
            "y": 11
          },
          "id": 31,
          "interval": "",
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "values": false
            }
          },
          "pluginVersion": "7.0.2",
          "repeatIteration": 1608818435519,
          "repeatPanelId": 17,
          "repeatedByRow": true,
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"court-case-service\"",
              "value": "\"court-case-service\""
            }
          },
          "targets": [
            {
              "expr": "sum by (deployment) (kube_deployment_spec_replicas{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service}) ",
              "instant": true,
              "interval": "1",
              "legendFormat": "Expected",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Expected",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "red",
                    "value": null
                  },
                  {
                    "color": "green",
                    "value": 1
                  }
                ]
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 5,
            "w": 2,
            "x": 18,
            "y": 11
          },
          "id": 32,
          "interval": "",
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "values": false
            }
          },
          "pluginVersion": "7.0.2",
          "repeatIteration": 1608818435519,
          "repeatPanelId": 28,
          "repeatedByRow": true,
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"court-case-service\"",
              "value": "\"court-case-service\""
            }
          },
          "targets": [
            {
              "expr": "sum by (deployment) (kube_deployment_status_replicas_available{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service})",
              "instant": true,
              "interval": "1",
              "legendFormat": "Available",
              "refId": "B"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Available",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 1
                  }
                ]
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 5,
            "w": 2,
            "x": 20,
            "y": 11
          },
          "id": 33,
          "interval": "",
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "values": false
            }
          },
          "pluginVersion": "7.0.2",
          "repeatIteration": 1608818435519,
          "repeatPanelId": 27,
          "repeatedByRow": true,
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"court-case-service\"",
              "value": "\"court-case-service\""
            }
          },
          "targets": [
            {
              "expr": "sum by (deployment) (kube_deployment_status_replicas_unavailable{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service})",
              "instant": true,
              "interval": "1",
              "legendFormat": "Unavailable",
              "refId": "C"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Unavailable",
          "type": "stat"
        },
        {
          "collapsed": false,
          "datasource": null,
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 16
          },
          "id": 34,
          "panels": [],
          "repeat": null,
          "repeatIteration": 1608818435519,
          "repeatPanelId": 12,
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"crime-portal-gateway\"",
              "value": "\"crime-portal-gateway\""
            }
          },
          "title": "$service",
          "type": "row"
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 5,
            "w": 16,
            "x": 0,
            "y": 17
          },
          "hiddenSeries": false,
          "id": 35,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "repeatIteration": 1608818435519,
          "repeatPanelId": 2,
          "repeatedByRow": true,
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"crime-portal-gateway\"",
              "value": "\"crime-portal-gateway\""
            }
          },
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "expr": "sum by (deployment) (kube_deployment_spec_replicas{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service}) ",
              "interval": "1",
              "legendFormat": "Expected",
              "refId": "A"
            },
            {
              "expr": "sum by (deployment) (kube_deployment_status_replicas_available{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service})",
              "interval": "1",
              "legendFormat": "Available",
              "refId": "B"
            },
            {
              "expr": "sum by (deployment) (kube_deployment_status_replicas_unavailable{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service})",
              "interval": "1",
              "legendFormat": "Unavailable",
              "refId": "C"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "$service",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "red",
                    "value": null
                  },
                  {
                    "color": "green",
                    "value": 1
                  }
                ]
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 5,
            "w": 2,
            "x": 16,
            "y": 17
          },
          "id": 36,
          "interval": "",
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "values": false
            }
          },
          "pluginVersion": "7.0.2",
          "repeatIteration": 1608818435519,
          "repeatPanelId": 17,
          "repeatedByRow": true,
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"crime-portal-gateway\"",
              "value": "\"crime-portal-gateway\""
            }
          },
          "targets": [
            {
              "expr": "sum by (deployment) (kube_deployment_spec_replicas{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service}) ",
              "instant": true,
              "interval": "1",
              "legendFormat": "Expected",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Expected",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "red",
                    "value": null
                  },
                  {
                    "color": "green",
                    "value": 1
                  }
                ]
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 5,
            "w": 2,
            "x": 18,
            "y": 17
          },
          "id": 37,
          "interval": "",
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "values": false
            }
          },
          "pluginVersion": "7.0.2",
          "repeatIteration": 1608818435519,
          "repeatPanelId": 28,
          "repeatedByRow": true,
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"crime-portal-gateway\"",
              "value": "\"crime-portal-gateway\""
            }
          },
          "targets": [
            {
              "expr": "sum by (deployment) (kube_deployment_status_replicas_available{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service})",
              "instant": true,
              "interval": "1",
              "legendFormat": "Available",
              "refId": "B"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Available",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 1
                  }
                ]
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 5,
            "w": 2,
            "x": 20,
            "y": 17
          },
          "id": 38,
          "interval": "",
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "values": false
            }
          },
          "pluginVersion": "7.0.2",
          "repeatIteration": 1608818435519,
          "repeatPanelId": 27,
          "repeatedByRow": true,
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"crime-portal-gateway\"",
              "value": "\"crime-portal-gateway\""
            }
          },
          "targets": [
            {
              "expr": "sum by (deployment) (kube_deployment_status_replicas_unavailable{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service})",
              "instant": true,
              "interval": "1",
              "legendFormat": "Unavailable",
              "refId": "C"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Unavailable",
          "type": "stat"
        },
        {
          "collapsed": false,
          "datasource": null,
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 22
          },
          "id": 39,
          "panels": [],
          "repeat": null,
          "repeatIteration": 1608818435519,
          "repeatPanelId": 12,
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"court-case-matcher\"",
              "value": "\"court-case-matcher\""
            }
          },
          "title": "$service",
          "type": "row"
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 5,
            "w": 16,
            "x": 0,
            "y": 23
          },
          "hiddenSeries": false,
          "id": 40,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "repeatIteration": 1608818435519,
          "repeatPanelId": 2,
          "repeatedByRow": true,
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"court-case-matcher\"",
              "value": "\"court-case-matcher\""
            }
          },
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "expr": "sum by (deployment) (kube_deployment_spec_replicas{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service}) ",
              "interval": "1",
              "legendFormat": "Expected",
              "refId": "A"
            },
            {
              "expr": "sum by (deployment) (kube_deployment_status_replicas_available{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service})",
              "interval": "1",
              "legendFormat": "Available",
              "refId": "B"
            },
            {
              "expr": "sum by (deployment) (kube_deployment_status_replicas_unavailable{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service})",
              "interval": "1",
              "legendFormat": "Unavailable",
              "refId": "C"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "$service",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "red",
                    "value": null
                  },
                  {
                    "color": "green",
                    "value": 1
                  }
                ]
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 5,
            "w": 2,
            "x": 16,
            "y": 23
          },
          "id": 41,
          "interval": "",
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "values": false
            }
          },
          "pluginVersion": "7.0.2",
          "repeatIteration": 1608818435519,
          "repeatPanelId": 17,
          "repeatedByRow": true,
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"court-case-matcher\"",
              "value": "\"court-case-matcher\""
            }
          },
          "targets": [
            {
              "expr": "sum by (deployment) (kube_deployment_spec_replicas{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service}) ",
              "instant": true,
              "interval": "1",
              "legendFormat": "Expected",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Expected",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "red",
                    "value": null
                  },
                  {
                    "color": "green",
                    "value": 1
                  }
                ]
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 5,
            "w": 2,
            "x": 18,
            "y": 23
          },
          "id": 42,
          "interval": "",
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "values": false
            }
          },
          "pluginVersion": "7.0.2",
          "repeatIteration": 1608818435519,
          "repeatPanelId": 28,
          "repeatedByRow": true,
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"court-case-matcher\"",
              "value": "\"court-case-matcher\""
            }
          },
          "targets": [
            {
              "expr": "sum by (deployment) (kube_deployment_status_replicas_available{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service})",
              "instant": true,
              "interval": "1",
              "legendFormat": "Available",
              "refId": "B"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Available",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 1
                  }
                ]
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 5,
            "w": 2,
            "x": 20,
            "y": 23
          },
          "id": 43,
          "interval": "",
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "values": false
            }
          },
          "pluginVersion": "7.0.2",
          "repeatIteration": 1608818435519,
          "repeatPanelId": 27,
          "repeatedByRow": true,
          "scopedVars": {
            "service": {
              "selected": false,
              "text": "\"court-case-matcher\"",
              "value": "\"court-case-matcher\""
            }
          },
          "targets": [
            {
              "expr": "sum by (deployment) (kube_deployment_status_replicas_unavailable{namespace=$namespace, job=\"kube-state-metrics\", deployment=$service})",
              "instant": true,
              "interval": "1",
              "legendFormat": "Unavailable",
              "refId": "C"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Unavailable",
          "type": "stat"
        }
      ],
      "refresh": "5s",
      "schemaVersion": 25,
      "style": "dark",
      "tags": [],
      "templating": {
        "list": [
          {
            "allValue": null,
            "current": {
              "selected": false,
              "text": "\"court-probation-prod\"",
              "value": "\"court-probation-prod\""
            },
            "hide": 0,
            "includeAll": false,
            "label": "Namespace",
            "multi": false,
            "name": "namespace",
            "options": [
              {
                "selected": true,
                "text": "\"court-probation-prod\"",
                "value": "\"court-probation-prod\""
              },
              {
                "selected": false,
                "text": "\"court-probation-preprod\"",
                "value": "\"court-probation-preprod\""
              },
              {
                "selected": false,
                "text": "\"court-probation-dev\"",
                "value": "\"court-probation-dev\""
              }
            ],
            "query": "\"court-probation-prod\",\"court-probation-preprod\",\"court-probation-dev\"",
            "queryValue": "",
            "skipUrlSync": false,
            "type": "custom"
          },
          {
            "allValue": "All",
            "current": {
              "selected": true,
              "text": "All",
              "value": "$__all"
            },
            "hide": 0,
            "includeAll": true,
            "label": "Service",
            "multi": false,
            "name": "service",
            "options": [
              {
                "selected": true,
                "text": "All",
                "value": "$__all"
              },
              {
                "selected": false,
                "text": "\"prepare-a-case\"",
                "value": "\"prepare-a-case\""
              },
              {
                "selected": false,
                "text": "\"court-case-service\"",
                "value": "\"court-case-service\""
              },
              {
                "selected": false,
                "text": "\"crime-portal-gateway\"",
                "value": "\"crime-portal-gateway\""
              },
              {
                "selected": false,
                "text": "\"court-case-matcher\"",
                "value": "\"court-case-matcher\""
              }
            ],
            "query": "\"prepare-a-case\",\"court-case-service\",\"crime-portal-gateway\",\"court-case-matcher\"",
            "queryValue": "",
            "skipUrlSync": false,
            "type": "custom"
          }
        ]
      },
      "time": {
        "from": "now-24h",
        "to": "now"
      },
      "timepicker": {
        "refresh_intervals": [
          "10s",
          "30s",
          "1m",
          "5m",
          "15m",
          "30m",
          "1h",
          "2h",
          "1d"
        ],
        "time_options": [
          "5m",
          "15m",
          "1h",
          "6h",
          "12h",
          "24h",
          "2d",
          "7d",
          "30d"
        ]
      },
      "timezone": "browser",
      "title": "Probation in Court - Pods",
      "uid": "rHgivuJGk",
      "version": 19
    }
