Grafana dashboard: Cluster Overview Dashboard
Description: Cluster Overview by groundcover


{
  "__inputs": [],
  "__elements": [],
  "__requires": [
    {
      "type": "panel",
      "id": "bargauge",
      "name": "Bar gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.3.6"
    },
    {
      "type": "panel",
      "id": "piechart",
      "name": "Pie chart",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      },
      {
        "datasource": "${ds_prom}",
        "enable": true,
        "expr": "changes(groundcover_deployment_event_total_counter{namespace=\"$namespace\"} > 0)",
        "iconColor": "semi-dark-green",
        "name": "Deployments",
        "rawQuery": "SELECT\n  extract(epoch from time_column) AS time,\n  text_column as text,\n  tags_column as tags\nFROM\n  metric_table\nWHERE\n  $__timeFilter(time_column)\n",
        "step": "10s",
        "tagKeys": "namespace,deployment_name,deployment_event_type"
      },
      {
        "datasource": "${ds_prom}",
        "enable": true,
        "expr": "changes(groundcover_container_state_error_counter{namespace=\"$namespace\"})",
        "iconColor": "red",
        "name": "Container Errors",
        "rawQuery": "SELECT\n  extract(epoch from time_column) AS time,\n  text_column as text,\n  tags_column as tags\nFROM\n  metric_table\nWHERE\n  $__timeFilter(time_column)\n",
        "step": "10s",
        "tagKeys": "namespace,container_name,state,state_reason"
      }
    ]
  },
  "description": "Cluster Overview by groundcover",
  "editable": true,
  "fiscalYearStartMonth": 0,
  "gnetId": 15823,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1645993931470,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "datasource": "${ds_prom}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 14,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "reqps"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "HTTP"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "DNS"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "super-light-orange",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 75,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "datasource": "${ds_prom}",
          "exemplar": true,
          "expr": "alias(sum(rate(groundcover_http_error_counter{namespace='$namespace'}[$__rate_interval])), 'HTTP')",
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        },
        {
          "datasource": "${ds_prom}",
          "exemplar": true,
          "expr": "alias(sum(rate(groundcover_dns_error_counter{namespace='$namespace'}[$__rate_interval])), 'DNS')",
          "hide": false,
          "interval": "",
          "legendFormat": "",
          "refId": "B"
        },
        {
          "datasource": "${ds_prom}",
          "exemplar": true,
          "expr": "alias(sum(rate(groundcover_sql_error_counter{namespace='$namespace'}[$__rate_interval])), 'SQL')",
          "hide": false,
          "interval": "",
          "legendFormat": "",
          "refId": "C"
        }
      ],
      "title": "Issue Velocity",
      "type": "timeseries"
    },
    {
      "datasource": "${ds_prom}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "semi-dark-red",
            "mode": "continuous-BlPu"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 4,
        "x": 0,
        "y": 8
      },
      "id": 81,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.3.6",
      "targets": [
        {
          "exemplar": true,
          "expr": "count(count(groundcover_container_info_total_counter{namespace='$namespace'}) by (node_name))",
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "title": "Number of Nodes",
      "type": "stat"
    },
    {
      "datasource": "${ds_prom}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "semi-dark-red",
            "mode": "continuous-BlPu"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 4,
        "x": 4,
        "y": 8
      },
      "id": 79,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.3.6",
      "targets": [
        {
          "exemplar": true,
          "expr": "count(count(groundcover_container_info_total_counter{namespace='$namespace'}) by (workload_name))",
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "title": "Number of Workloads",
      "type": "stat"
    },
    {
      "datasource": "${ds_prom}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "semi-dark-red",
            "mode": "continuous-BlPu"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 4,
        "x": 8,
        "y": 8
      },
      "id": 80,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.3.6",
      "targets": [
        {
          "exemplar": true,
          "expr": "count(count(groundcover_container_info_total_counter{namespace='$namespace'}) by (pod_name))",
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "title": "Number of Pods",
      "type": "stat"
    },
    {
      "datasource": "${ds_prom}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "semi-dark-red",
            "mode": "continuous-BlPu"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "mCPU"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 6,
        "x": 12,
        "y": 8
      },
      "id": 82,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.3.6",
      "targets": [
        {
          "exemplar": true,
          "expr": "sum(groundcover_container_info_cpu_usage_m_cpu{namespace='$namespace'})",
          "instant": false,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "title": "Total CPU",
      "type": "stat"
    },
    {
      "datasource": "${ds_prom}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "semi-dark-red",
            "mode": "continuous-BlPu"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "decbytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 6,
        "x": 18,
        "y": 8
      },
      "id": 83,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.3.6",
      "targets": [
        {
          "exemplar": true,
          "expr": "sum(groundcover_container_info_resident_set_size_bytes{namespace='$namespace'})",
          "instant": false,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "title": "Total Memory",
      "type": "stat"
    },
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 13
      },
      "id": 47,
      "panels": [
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "continuous-BlPu"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 11,
                "gradientMode": "hue",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "smooth",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "links": [
                {
                  "targetBlank": true,
                  "title": "go to workload",
                  "url": "d/lTP9tuo7Z/workload-overview-dashboard?var-namespace=${namespace}&var-workload=${__field.labels.workload_name}&var-ds_prom=${ds_prom}&var-ds_sql=${ds_sql}&var-ds_logs=${ds_logs}"
                }
              ],
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "mCPU"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byFrameRefID",
                  "options": "B"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "decbytes"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 10,
            "w": 19,
            "x": 0,
            "y": 14
          },
          "id": 43,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "right"
            },
            "tooltip": {
              "mode": "single"
            }
          },
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": true,
              "expr": "topk(50, avg by (workload_name) (groundcover_container_info_cpu_usage_m_cpu{namespace='$namespace'}))",
              "interval": "",
              "legendFormat": "{{workload_name}}",
              "refId": "A"
            }
          ],
          "title": "CPU Utilisation by Workload",
          "transformations": [],
          "type": "timeseries"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "fixedColor": "dark-blue",
                "mode": "continuous-BlPu"
              },
              "links": [
                {
                  "targetBlank": true,
                  "title": "go to workload",
                  "url": "d/lTP9tuo7Z/workload-overview-dashboard?var-namespace=${namespace}&var-workload=${__field.labels.workload_name}&var-ds_prom=${ds_prom}&var-ds_sql=${ds_sql}&var-ds_logs=${ds_logs}"
                }
              ],
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "mCPU"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 10,
            "w": 5,
            "x": 19,
            "y": 14
          },
          "id": 49,
          "options": {
            "displayMode": "gradient",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "showUnfilled": false,
            "text": {}
          },
          "pluginVersion": "8.3.6",
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": false,
              "expr": "topk(10, (avg (groundcover_container_info_cpu_usage_m_cpu{namespace='$namespace'}) by (workload_name)))",
              "instant": true,
              "interval": "",
              "legendFormat": "{{workload_name}}",
              "refId": "A"
            }
          ],
          "title": "Most CPU Intensive Workloads",
          "transformations": [],
          "type": "bargauge"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "continuous-GrYlRd"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 11,
                "gradientMode": "hue",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "smooth",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "links": [
                {
                  "targetBlank": true,
                  "title": "go to workload",
                  "url": "d/lTP9tuo7Z/workload-overview-dashboard?var-namespace=${namespace}&var-workload=${__field.labels.workload_name}&var-ds_prom=${ds_prom}&var-ds_sql=${ds_sql}&var-ds_logs=${ds_logs}"
                }
              ],
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "decbytes"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byFrameRefID",
                  "options": "B"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "decbytes"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 10,
            "w": 19,
            "x": 0,
            "y": 24
          },
          "id": 48,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "right"
            },
            "tooltip": {
              "mode": "single"
            }
          },
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": true,
              "expr": "topk(50, avg by (workload_name) (groundcover_container_info_resident_set_size_bytes{namespace='$namespace'}))",
              "interval": "",
              "legendFormat": "{{workload_name}}",
              "refId": "A"
            }
          ],
          "title": "Memory Utilisation by Workload",
          "transformations": [],
          "type": "timeseries"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "fixedColor": "dark-blue",
                "mode": "continuous-YlRd"
              },
              "links": [
                {
                  "targetBlank": true,
                  "title": "go to workload",
                  "url": "d/lTP9tuo7Z/workload-overview-dashboard?var-namespace=${namespace}&var-workload=${__field.labels.workload_name}&var-ds_prom=${ds_prom}&var-ds_sql=${ds_sql}&var-ds_logs=${ds_logs}"
                }
              ],
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "decbytes"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 10,
            "w": 5,
            "x": 19,
            "y": 24
          },
          "id": 50,
          "options": {
            "displayMode": "gradient",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "showUnfilled": false,
            "text": {}
          },
          "pluginVersion": "8.3.6",
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": false,
              "expr": "topk(10, (sum (groundcover_container_info_resident_set_size_bytes{namespace='$namespace'}) by (workload_name)))",
              "instant": true,
              "interval": "",
              "legendFormat": "{{workload_name}}",
              "refId": "A"
            }
          ],
          "title": "Most Memory Intensive Workloads",
          "transformations": [],
          "type": "bargauge"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "continuous-GrYlRd"
              },
              "links": [
                {
                  "targetBlank": true,
                  "title": "go to workload",
                  "url": "d/lTP9tuo7Z/workload-overview-dashboard?var-namespace=${namespace}&var-workload=${__field.labels.workload_name}&var-ds_prom=${ds_prom}&var-ds_sql=${ds_sql}&var-ds_logs=${ds_logs}"
                }
              ],
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "percentunit"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 10,
            "w": 19,
            "x": 0,
            "y": 34
          },
          "id": 67,
          "options": {
            "colorMode": "none",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "8.3.6",
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": true,
              "expr": "topk(7, clamp_max(avg by (workload_name) (groundcover_container_info_memory_utilization{namespace='$namespace'}), 1))",
              "interval": "",
              "legendFormat": "{{workload_name}}",
              "refId": "A"
            }
          ],
          "title": "Memory Out of Limit by Workload",
          "transformations": [],
          "type": "stat"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "continuous-BlPu"
              },
              "links": [
                {
                  "targetBlank": true,
                  "title": "go to workload",
                  "url": "d/lTP9tuo7Z/workload-overview-dashboard?var-namespace=${namespace}&var-workload=${__field.labels.workload_name}&var-ds_prom=${ds_prom}&var-ds_sql=${ds_sql}&var-ds_logs=${ds_logs}"
                }
              ],
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 10,
            "w": 5,
            "x": 19,
            "y": 34
          },
          "id": 68,
          "options": {
            "displayMode": "basic",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "showUnfilled": true,
            "text": {}
          },
          "pluginVersion": "8.3.6",
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": false,
              "expr": "topk(10, sum (delta(groundcover_container_state_error_counter{namespace='$namespace', state_reason=\"OOMKilled\"}[$__range])) by (workload_name))",
              "instant": true,
              "interval": "",
              "legendFormat": "{{workload_name}}",
              "refId": "A"
            }
          ],
          "title": "Most OOM Frequent Workloads",
          "transformations": [],
          "type": "bargauge"
        }
      ],
      "title": "Infrastructure",
      "type": "row"
    },
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 14
      },
      "id": 2,
      "panels": [
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "left",
                "barAlignment": 0,
                "drawStyle": "bars",
                "fillOpacity": 37,
                "gradientMode": "hue",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "smooth",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "reqps"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "OK"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "green",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "custom.drawStyle",
                    "value": "line"
                  },
                  {
                    "id": "custom.fillOpacity",
                    "value": 8
                  },
                  {
                    "id": "custom.axisLabel",
                    "value": "OK"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Error"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "custom.axisPlacement",
                    "value": "right"
                  },
                  {
                    "id": "custom.axisLabel",
                    "value": "Error"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 9,
            "w": 19,
            "x": 0,
            "y": 15
          },
          "id": 4,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom"
            },
            "tooltip": {
              "mode": "single"
            }
          },
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": true,
              "expr": "alias(sum(rate (groundcover_http_total_counter{namespace='$namespace'}[$__rate_interval])), 'OK')",
              "hide": false,
              "interval": "",
              "legendFormat": "",
              "refId": "B"
            },
            {
              "datasource": "${ds_prom}",
              "exemplar": true,
              "expr": "alias(sum(rate (groundcover_http_error_counter{namespace='$namespace'}[$__rate_interval])), 'Error')",
              "hide": false,
              "instant": false,
              "interval": "",
              "legendFormat": "",
              "refId": "A"
            }
          ],
          "title": "Total Requests & Error Rate",
          "type": "timeseries"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "continuous-BlPu"
              },
              "links": [
                {
                  "targetBlank": true,
                  "title": "go to workload",
                  "url": "d/lTP9tuo7Z/workload-overview-dashboard?var-namespace=${namespace}&var-workload=${__field.labels.workload_name}&var-ds_prom=${ds_prom}&var-ds_sql=${ds_sql}&var-ds_logs=${ds_logs}"
                }
              ],
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  }
                ]
              },
              "unit": "reqps"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 9,
            "w": 5,
            "x": 19,
            "y": 15
          },
          "id": 70,
          "options": {
            "displayMode": "gradient",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "showUnfilled": true,
            "text": {}
          },
          "pluginVersion": "8.3.6",
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": false,
              "expr": "topk(10, sum(rate (groundcover_http_error_counter{namespace='$namespace'}[$__rate_interval])) by (workload_name))",
              "instant": true,
              "interval": "",
              "legendFormat": "{{workload_name}}",
              "refId": "A"
            }
          ],
          "title": "Top Error Rate by Workload",
          "transformations": [],
          "type": "bargauge"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 13,
                "gradientMode": "opacity",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "smooth",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "links": [
                {
                  "targetBlank": true,
                  "title": "go to workload",
                  "url": "d/lTP9tuo7Z/workload-overview-dashboard?var-namespace=${namespace}&var-workload=${__field.labels.workload_name}&var-ds_prom=${ds_prom}&var-ds_sql=${ds_sql}&var-ds_logs=${ds_logs}"
                }
              ],
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "s"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 10,
            "w": 19,
            "x": 0,
            "y": 24
          },
          "id": 8,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "right"
            },
            "tooltip": {
              "mode": "single"
            }
          },
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": true,
              "expr": "topk(50, avg by (workload_name) (groundcover_http_latency_seconds{namespace='$namespace', role=\"server\", quantile=\"0.50\"}))",
              "instant": false,
              "interval": "",
              "legendFormat": "{{workload_name}}",
              "refId": "A"
            }
          ],
          "title": "Workload Latency",
          "transformations": [],
          "type": "timeseries"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "links": [
                {
                  "targetBlank": true,
                  "title": "go to workload",
                  "url": "d/lTP9tuo7Z/workload-overview-dashboard?var-namespace=${namespace}&var-workload=${__field.labels.workload_name}&var-ds_prom=${ds_prom}&var-ds_sql=${ds_sql}&var-ds_logs=${ds_logs}"
                }
              ],
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 250
                  }
                ]
              },
              "unit": "s"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 10,
            "w": 5,
            "x": 19,
            "y": 24
          },
          "id": 10,
          "options": {
            "displayMode": "gradient",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "showUnfilled": true,
            "text": {}
          },
          "pluginVersion": "8.3.6",
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": false,
              "expr": "topk(10, (avg by (workload_name) (groundcover_http_latency_seconds{namespace='$namespace', role=\"server\", quantile=\"0.50\"})))",
              "instant": true,
              "interval": "",
              "legendFormat": "{{workload_name}}",
              "refId": "A"
            }
          ],
          "title": "Slowest Workloads",
          "transformations": [],
          "type": "bargauge"
        }
      ],
      "title": "HTTP",
      "type": "row"
    },
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 15
      },
      "id": 16,
      "panels": [
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "left",
                "barAlignment": 0,
                "drawStyle": "bars",
                "fillOpacity": 37,
                "gradientMode": "hue",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "smooth",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "reqps"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "OK"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "green",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "custom.drawStyle",
                    "value": "line"
                  },
                  {
                    "id": "custom.fillOpacity",
                    "value": 8
                  },
                  {
                    "id": "custom.axisLabel",
                    "value": "OK"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Error"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "custom.axisPlacement",
                    "value": "right"
                  },
                  {
                    "id": "custom.axisLabel",
                    "value": "Error"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 9,
            "w": 19,
            "x": 0,
            "y": 16
          },
          "id": 87,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom"
            },
            "tooltip": {
              "mode": "single"
            }
          },
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": true,
              "expr": "alias(sum(rate (groundcover_sql_total_counter{namespace='$namespace'}[$__rate_interval])), 'OK')",
              "hide": false,
              "interval": "",
              "legendFormat": "",
              "refId": "B"
            },
            {
              "datasource": "${ds_prom}",
              "exemplar": true,
              "expr": "alias(sum(rate (groundcover_sql_error_counter{namespace='$namespace'}[$__rate_interval])), 'Error')",
              "hide": false,
              "instant": false,
              "interval": "",
              "legendFormat": "",
              "refId": "A"
            }
          ],
          "title": "Total Requests & Error Rate",
          "type": "timeseries"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "continuous-BlPu"
              },
              "links": [
                {
                  "targetBlank": true,
                  "title": "go to workload",
                  "url": "d/lTP9tuo7Z/workload-overview-dashboard?var-namespace=${namespace}&var-workload=${__field.labels.workload_name}&var-ds_prom=${ds_prom}&var-ds_sql=${ds_sql}&var-ds_logs=${ds_logs}"
                }
              ],
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  }
                ]
              },
              "unit": "reqps"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 9,
            "w": 5,
            "x": 19,
            "y": 16
          },
          "id": 86,
          "options": {
            "displayMode": "gradient",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "showUnfilled": true,
            "text": {}
          },
          "pluginVersion": "8.3.6",
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": false,
              "expr": "topk(10, sum(rate (groundcover_sql_error_counter{namespace='$namespace'}[$__rate_interval])) by (workload_name))",
              "instant": true,
              "interval": "",
              "legendFormat": "{{workload_name}}",
              "refId": "A"
            }
          ],
          "title": "Top Error Rate by Workload",
          "transformations": [],
          "type": "bargauge"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 33,
                "gradientMode": "hue",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "smooth",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "s"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 9,
            "w": 19,
            "x": 0,
            "y": 25
          },
          "id": 18,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom"
            },
            "tooltip": {
              "mode": "single"
            }
          },
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": true,
              "expr": "topk(20, avg(groundcover_sql_latency_seconds{namespace='$namespace', role=\"client\", quantile=\"0.50\"}) by (remote_service_name))",
              "interval": "",
              "legendFormat": "{{remote_service_name}}",
              "refId": "A"
            }
          ],
          "title": "Latency by SQL Server",
          "transformations": [],
          "type": "timeseries"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "continuous-BlPu"
              },
              "links": [
                {
                  "targetBlank": true,
                  "title": "go to workload",
                  "url": "d/lTP9tuo7Z/workload-overview-dashboard?var-namespace=${namespace}&var-workload=${__field.labels.workload_name}&var-ds_prom=${ds_prom}&var-ds_sql=${ds_sql}&var-ds_logs=${ds_logs}"
                }
              ],
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  }
                ]
              },
              "unit": "reqps"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 9,
            "w": 5,
            "x": 19,
            "y": 25
          },
          "id": 71,
          "options": {
            "displayMode": "gradient",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "showUnfilled": true,
            "text": {}
          },
          "pluginVersion": "8.3.6",
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": false,
              "expr": "topk(20, sum(rate(groundcover_sql_total_counter{namespace='$namespace', role=\"client\"}[$__rate_interval])) by (workload_name))",
              "instant": true,
              "interval": "",
              "legendFormat": "{{workload_name}}",
              "refId": "A"
            }
          ],
          "title": "Top Query Rate by Workload",
          "transformations": [],
          "type": "bargauge"
        }
      ],
      "title": "SQL",
      "type": "row"
    },
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 16
      },
      "id": 54,
      "panels": [
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "left",
                "barAlignment": 0,
                "drawStyle": "bars",
                "fillOpacity": 37,
                "gradientMode": "hue",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "smooth",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "reqps"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "OK"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "green",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "custom.drawStyle",
                    "value": "line"
                  },
                  {
                    "id": "custom.fillOpacity",
                    "value": 8
                  },
                  {
                    "id": "custom.axisLabel",
                    "value": "OK"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Error"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "custom.axisPlacement",
                    "value": "right"
                  },
                  {
                    "id": "custom.axisLabel",
                    "value": "Error"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 9,
            "w": 19,
            "x": 0,
            "y": 17
          },
          "id": 88,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom"
            },
            "tooltip": {
              "mode": "single"
            }
          },
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": true,
              "expr": "alias(sum(rate (groundcover_dns_total_counter{namespace='$namespace'}[$__rate_interval])), 'OK')",
              "hide": false,
              "interval": "",
              "legendFormat": "",
              "refId": "B"
            },
            {
              "datasource": "${ds_prom}",
              "exemplar": true,
              "expr": "alias(sum(rate (groundcover_dns_error_counter{namespace='$namespace'}[$__rate_interval])), 'Error')",
              "hide": false,
              "instant": false,
              "interval": "",
              "legendFormat": "",
              "refId": "A"
            }
          ],
          "title": "Total Requests & Error Rate",
          "type": "timeseries"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "continuous-BlPu"
              },
              "links": [
                {
                  "targetBlank": true,
                  "title": "go to workload",
                  "url": "d/lTP9tuo7Z/workload-overview-dashboard?var-namespace=${namespace}&var-workload=${__field.labels.workload_name}&var-ds_prom=${ds_prom}&var-ds_sql=${ds_sql}&var-ds_logs=${ds_logs}"
                }
              ],
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  }
                ]
              },
              "unit": "reqps"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 9,
            "w": 5,
            "x": 19,
            "y": 17
          },
          "id": 89,
          "options": {
            "displayMode": "gradient",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "showUnfilled": true,
            "text": {}
          },
          "pluginVersion": "8.3.6",
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": false,
              "expr": "topk(10, sum(rate (groundcover_dns_error_counter{namespace='$namespace'}[$__rate_interval])) by (workload_name))",
              "instant": true,
              "interval": "",
              "legendFormat": "{{workload_name}}",
              "refId": "A"
            }
          ],
          "title": "Top Error Rate by Workload",
          "transformations": [],
          "type": "bargauge"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "continuous-BlPu"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 14,
                "gradientMode": "opacity",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "smooth",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false,
                "stacking": {
                  "group": "A",
                  "mode": "normal"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "reqps"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 9,
            "w": 19,
            "x": 0,
            "y": 26
          },
          "id": 59,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "right"
            },
            "tooltip": {
              "mode": "single"
            }
          },
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": true,
              "expr": "topk(20, avg by (remote_addr) (groundcover_dns_latency_seconds{namespace='$namespace', role=\"client\", quantile=\"0.50\"}))",
              "instant": false,
              "interval": "",
              "legendFormat": "{{remote_addr}}",
              "refId": "A"
            }
          ],
          "title": "Latency by DNS Server",
          "transformations": [],
          "type": "timeseries"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "fixedColor": "super-light-purple",
                "mode": "fixed"
              },
              "custom": {
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                }
              },
              "mappings": [
                {
                  "options": {
                    "NoError": {
                      "index": 0,
                      "text": "OK"
                    }
                  },
                  "type": "value"
                }
              ]
            },
            "overrides": []
          },
          "gridPos": {
            "h": 9,
            "w": 5,
            "x": 19,
            "y": 26
          },
          "id": 63,
          "options": {
            "displayLabels": [
              "percent",
              "name"
            ],
            "legend": {
              "displayMode": "hidden",
              "placement": "right",
              "values": []
            },
            "pieType": "pie",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "tooltip": {
              "mode": "single"
            }
          },
          "pluginVersion": "8.3.4",
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": false,
              "expr": "sum by (response_return_code) (groundcover_dns_total_counter{namespace='$namespace', role=\"client\"})",
              "instant": true,
              "interval": "",
              "legendFormat": "",
              "refId": "A"
            }
          ],
          "title": "Return Codes",
          "transformations": [
            {
              "id": "labelsToFields",
              "options": {
                "valueLabel": "response_return_code"
              }
            },
            {
              "id": "merge",
              "options": {}
            }
          ],
          "type": "piechart"
        }
      ],
      "title": "DNS",
      "type": "row"
    },
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 17
      },
      "id": 91,
      "panels": [
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "left",
                "barAlignment": 0,
                "drawStyle": "bars",
                "fillOpacity": 37,
                "gradientMode": "hue",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "smooth",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "reqps"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "OK"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "green",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "custom.drawStyle",
                    "value": "line"
                  },
                  {
                    "id": "custom.fillOpacity",
                    "value": 8
                  },
                  {
                    "id": "custom.axisLabel",
                    "value": "OK"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Error"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "custom.axisPlacement",
                    "value": "right"
                  },
                  {
                    "id": "custom.axisLabel",
                    "value": "Error"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 9,
            "w": 19,
            "x": 0,
            "y": 18
          },
          "id": 92,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom"
            },
            "tooltip": {
              "mode": "single"
            }
          },
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": true,
              "expr": "alias(sum(rate (groundcover_kafka_total_counter{namespace='$namespace'}[$__rate_interval])), 'OK')",
              "hide": false,
              "interval": "",
              "legendFormat": "",
              "refId": "B"
            },
            {
              "datasource": "${ds_prom}",
              "exemplar": true,
              "expr": "alias(sum(rate (groundcover_kafka_error_counter{namespace='$namespace'}[$__rate_interval])), 'Error')",
              "hide": false,
              "instant": false,
              "interval": "",
              "legendFormat": "",
              "refId": "A"
            }
          ],
          "title": "Total Requests & Error Rate",
          "type": "timeseries"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "continuous-BlPu"
              },
              "links": [
                {
                  "targetBlank": true,
                  "title": "go to workload",
                  "url": "d/lTP9tuo7Z/workload-overview-dashboard?var-namespace=${namespace}&var-workload=${__field.labels.workload_name}&var-ds_prom=${ds_prom}&var-ds_sql=${ds_sql}&var-ds_logs=${ds_logs}"
                }
              ],
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  }
                ]
              },
              "unit": "reqps"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 9,
            "w": 5,
            "x": 19,
            "y": 18
          },
          "id": 93,
          "options": {
            "displayMode": "gradient",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "showUnfilled": true,
            "text": {}
          },
          "pluginVersion": "8.3.6",
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": false,
              "expr": "topk(10, sum(rate (groundcover_kafka_error_counter{namespace='$namespace'}[$__rate_interval])) by (workload_name))",
              "instant": true,
              "interval": "",
              "legendFormat": "{{workload_name}}",
              "refId": "A"
            }
          ],
          "title": "Top Error Rate by Workload",
          "transformations": [],
          "type": "bargauge"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "continuous-BlPu"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 14,
                "gradientMode": "opacity",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "smooth",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "msgs"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 8,
            "w": 15,
            "x": 0,
            "y": 27
          },
          "id": 94,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "right"
            },
            "tooltip": {
              "mode": "single"
            }
          },
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": true,
              "expr": "topk(20, max(groundcover_kafka_calc_lagged_messages{namespace='$namespace', client_type=\"Fetcher\"}) by (topic))",
              "instant": false,
              "interval": "",
              "legendFormat": "{{topic}}",
              "refId": "A"
            }
          ],
          "title": "Lag by Topic",
          "transformations": [],
          "type": "timeseries"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "continuous-BlPu"
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "msgs/s"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 8,
            "w": 9,
            "x": 15,
            "y": 27
          },
          "id": 36,
          "options": {
            "displayMode": "lcd",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "showUnfilled": true,
            "text": {}
          },
          "pluginVersion": "8.3.6",
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": false,
              "expr": "topk(10, sum(rate(groundcover_kafka_total_counter{namespace='$namespace', client_type=\"Fetcher\"}[$__rate_interval])) by (topic))",
              "instant": true,
              "interval": "",
              "legendFormat": "",
              "refId": "A"
            }
          ],
          "title": "Most Active Topics",
          "transformations": [
            {
              "id": "labelsToFields",
              "options": {
                "valueLabel": "topic"
              }
            },
            {
              "id": "merge",
              "options": {}
            }
          ],
          "type": "bargauge"
        },
        {
          "datasource": "${ds_prom}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "continuous-BlPu"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 14,
                "gradientMode": "opacity",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "smooth",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "links": [
                {
                  "targetBlank": true,
                  "title": "go to workload",
                  "url": "d/lTP9tuo7Z/workload-overview-dashboard?var-namespace=${namespace}&var-workload=${__field.labels.workload_name}&var-ds_prom=${ds_prom}&var-ds_sql=${ds_sql}&var-ds_logs=${ds_logs}"
                }
              ],
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "msgs"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 8,
            "w": 24,
            "x": 0,
            "y": 35
          },
          "id": 95,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "right"
            },
            "tooltip": {
              "mode": "single"
            }
          },
          "targets": [
            {
              "datasource": "${ds_prom}",
              "exemplar": true,
              "expr": "topk(20, max(groundcover_kafka_calc_lagged_messages{namespace='$namespace', client_type=\"Fetcher\"}) by (workload_name))",
              "instant": false,
              "interval": "",
              "legendFormat": "{{workload_name}}",
              "refId": "A"
            }
          ],
          "title": "Lag by Consumer Workload",
          "transformations": [],
          "type": "timeseries"
        }
      ],
      "title": "Kafka",
      "type": "row"
    }
  ],
  "refresh": "1m",
  "schemaVersion": 34,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {
          "selected": false,
          "text": "groundcover",
          "value": "groundcover"
        },
        "hide": 0,
        "includeAll": false,
        "label": "cluster",
        "multi": false,
        "name": "ds_prom",
        "options": [],
        "query": "prometheus",
        "queryValue": "",
        "refresh": 1,
        "regex": "(.*GC.*|.*gc.*|.*groundcover.*|.*Groundcover.*|.*GroundCover.*)",
        "skipUrlSync": false,
        "type": "datasource"
      },
      {
        "current": {},
        "datasource": "${ds_prom}",
        "definition": "label_values(groundcover_container_info_total_counter{}, namespace)",
        "hide": 0,
        "includeAll": false,
        "multi": false,
        "name": "namespace",
        "options": [],
        "query": {
          "query": "label_values(groundcover_container_info_total_counter{}, namespace)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "^(?!.*sage.*$|.*gc.*$|.*groundcover.*$).*",
        "skipUrlSync": false,
        "sort": 1,
        "type": "query"
      },
      {
        "current": {
          "selected": false,
          "text": "groundcover-timescaledb",
          "value": "groundcover-timescaledb"
        },
        "hide": 2,
        "includeAll": false,
        "label": "SQL Data Source",
        "multi": false,
        "name": "ds_sql",
        "options": [],
        "query": "postgres",
        "queryValue": "",
        "refresh": 1,
        "regex": ".*$ds_prom.*",
        "skipUrlSync": false,
        "type": "datasource"
      },
      {
        "current": {
          "selected": false,
          "text": "groundcover-loki",
          "value": "groundcover-loki"
        },
        "hide": 2,
        "includeAll": false,
        "label": "Logs Data Source",
        "multi": false,
        "name": "ds_logs",
        "options": [],
        "query": "loki",
        "queryValue": "",
        "refresh": 1,
        "regex": ".*$ds_prom.*",
        "skipUrlSync": false,
        "type": "datasource"
      }
    ]
  },
  "time": {
    "from": "now-30m",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "Cluster Overview Dashboard",
  "uid": "lTP9tuo66",
  "version": 1,
  "weekStart": ""
}