`
annan211
  • 浏览: 462508 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

grafana dashboard example for query variables

 
阅读更多
{
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "description": "Apcera Exporter dashboard",
  "editable": true,
  "gnetId": 7991,
  "graphTooltip": 1,
  "id": 16,
  "iteration": 1540197840895,
  "links": [
    {
      "icon": "external link",
      "tags": [
        "MyMySQL"
      ],
      "type": "dashboards"
    },
    {
      "icon": "external link",
      "includeVars": false,
      "tags": [],
      "targetBlank": true,
      "title": "Meo's Site",
      "type": "link",
      "url": "https://www.xenialab.it/meo/web/index5.htm#my"
    }
  ],
  "panels": [
    {
      "content": "",
      "gridPos": {
        "h": 2,
        "w": 21,
        "x": 0,
        "y": 0
      },
      "id": 32,
      "links": [],
      "mode": "html",
      "title": "Source Info",
      "transparent": true,
      "type": "text"
    },
    {
      "aliasColors": {
        "DELETE": "#bf1b00",
        "DELETE_MULTI": "#bf1b00",
        "INSERT": "#629e51",
        "INSERT_SELECT": "#3f6833",
        "SELECT": "#5195ce",
        "UPDATE": "#cca300",
        "UPDATE_MULTI": "#f2c96d"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "Apcera-Exporter",
      "fill": 0,
      "gridPos": {
        "h": 6,
        "w": 12,
        "x": 0,
        "y": 2
      },
      "id": 6,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null as zero",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "SELECT",
          "yaxis": 1
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "expr": "avg_over_time(apcera_cpu_nanoseconds{type=\"$sourceType\",target=\"$source\"}[5m])",
          "format": "time_series",
          "hide": false,
          "intervalFactor": 1,
          "legendFormat": "usage",
          "rawSql": "SELECT\n  UNIX_TIMESTAMP(timest) as time,\n  variable_value/600 as value,\n  substr(variable_name,5,length(variable_name)-6) as metric\nFROM my2.status\nWHERE $__timeFilter(timest)\n  and variable_name in ('COM_SELECT-d', 'COM_INSERT-d', 'COM_UPDATE-d', 'COM_DELETE-d')\n  and variable_value >=0\nORDER BY timest ASC,variable_name\n",
          "refId": "A"
        },
        {
          "expr": "avg_over_time(apcera_cpu_total_nanoseconds{type=\"$sourceType\",target=\"$source\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "reserved",
          "refId": "B"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "CPU",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": 3,
          "format": "ns",
          "label": "Usage CPU",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "s",
          "label": "Reserved  CPU",
          "logBase": 1,
          "max": "1",
          "min": "0",
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": 1
      }
    },
    {
      "aliasColors": {
        "DELETE": "#bf1b00",
        "DELETE_MULTI": "#bf1b00",
        "INSERT": "#629e51",
        "INSERT_SELECT": "#3f6833",
        "SELECT": "#5195ce",
        "UPDATE": "#cca300",
        "UPDATE_MULTI": "#f2c96d"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "Apcera-Exporter",
      "fill": 0,
      "gridPos": {
        "h": 6,
        "w": 12,
        "x": 12,
        "y": 2
      },
      "id": 47,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null as zero",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "SELECT",
          "yaxis": 1
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "expr": "sum(apcera_disk_used_bytes{type=\"$sourceType\",target=\"$source\"})",
          "format": "time_series",
          "hide": false,
          "intervalFactor": 1,
          "legendFormat": "usage",
          "rawSql": "SELECT\n  UNIX_TIMESTAMP(timest) as time,\n  variable_value/600 as value,\n  substr(variable_name,5,length(variable_name)-6) as metric\nFROM my2.status\nWHERE $__timeFilter(timest)\n  and variable_name in ('COM_SELECT-d', 'COM_INSERT-d', 'COM_UPDATE-d', 'COM_DELETE-d')\n  and variable_value >=0\nORDER BY timest ASC,variable_name\n",
          "refId": "A"
        },
        {
          "expr": "avg_over_time(apcera_disk_total_bytes{type=\"$sourceType\",target=\"$source\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "reserved",
          "refId": "B"
        }
      ],
      "thresholds": [],
      "timeFrom": "1h",
      "timeShift": null,
      "title": "Disk",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": 0,
          "format": "bytes",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "s",
          "label": "Reserved  CPU",
          "logBase": 1,
          "max": "1",
          "min": "0",
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": 1
      }
    },
    {
      "aliasColors": {
        "DELETE": "#bf1b00",
        "DELETE_MULTI": "#bf1b00",
        "INSERT": "#629e51",
        "INSERT_SELECT": "#3f6833",
        "SELECT": "#5195ce",
        "UPDATE": "#cca300",
        "UPDATE_MULTI": "#f2c96d"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "Apcera-Exporter",
      "fill": 0,
      "gridPos": {
        "h": 6,
        "w": 12,
        "x": 0,
        "y": 8
      },
      "id": 44,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null as zero",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "avg_over_time(apcera_mem_used_bytes{type=\"$sourceType\",target=\"$source\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "usage",
          "refId": "B"
        },
        {
          "alias": "",
          "expr": "avg_over_time(apcera_mem_total_bytes{type=\"$sourceType\",target=\"$source\"}[5m])",
          "format": "time_series",
          "hide": false,
          "intervalFactor": 1,
          "legendFormat": "reserved",
          "rawSql": "SELECT\n  UNIX_TIMESTAMP(timest) as time,\n  variable_value/600 as value,\n  substr(variable_name,5,length(variable_name)-6) as metric\nFROM my2.status\nWHERE $__timeFilter(timest)\n  and variable_name in ('COM_SELECT-d', 'COM_INSERT-d', 'COM_UPDATE-d', 'COM_DELETE-d')\n  and variable_value >=0\nORDER BY timest ASC,variable_name\n",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Memory",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": 3,
          "format": "bytes",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "decimals": 3,
          "format": "bytes",
          "label": "",
          "logBase": 1,
          "max": "1",
          "min": "0",
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": 1
      }
    },
    {
      "aliasColors": {
        "DELETE": "#bf1b00",
        "DELETE_MULTI": "#bf1b00",
        "INSERT": "#629e51",
        "INSERT_SELECT": "#3f6833",
        "SELECT": "#5195ce",
        "UPDATE": "#cca300",
        "UPDATE_MULTI": "#f2c96d"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "Apcera-Exporter",
      "fill": 0,
      "gridPos": {
        "h": 6,
        "w": 12,
        "x": 12,
        "y": 8
      },
      "id": 48,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null as zero",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "SELECT",
          "yaxis": 1
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "expr": "avg_over_time(apcera_bandwidth_used_bps{type=\"$sourceType\",target=\"$source\"}[5m])",
          "format": "time_series",
          "hide": false,
          "intervalFactor": 1,
          "legendFormat": "usage",
          "rawSql": "SELECT\n  UNIX_TIMESTAMP(timest) as time,\n  variable_value/600 as value,\n  substr(variable_name,5,length(variable_name)-6) as metric\nFROM my2.status\nWHERE $__timeFilter(timest)\n  and variable_name in ('COM_SELECT-d', 'COM_INSERT-d', 'COM_UPDATE-d', 'COM_DELETE-d')\n  and variable_value >=0\nORDER BY timest ASC,variable_name\n",
          "refId": "A"
        },
        {
          "expr": "avg_over_time(apcera_bandwidth_total_bps{type=\"$sourceType\",target=\"$source\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "reserved",
          "refId": "B"
        }
      ],
      "thresholds": [],
      "timeFrom": "1h",
      "timeShift": null,
      "title": "BandWidth",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": 2,
          "format": "bits",
          "label": "Usage CPU",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "s",
          "label": "Reserved  CPU",
          "logBase": 1,
          "max": "1",
          "min": "0",
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": 1
      }
    },
    {
      "aliasColors": {
        "DELETE": "#bf1b00",
        "DELETE_MULTI": "#bf1b00",
        "INSERT": "#629e51",
        "INSERT_SELECT": "#3f6833",
        "SELECT": "#5195ce",
        "UPDATE": "#cca300",
        "UPDATE_MULTI": "#f2c96d"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "Apcera-Exporter",
      "fill": 0,
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 14
      },
      "id": 49,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null as zero",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "SELECT",
          "yaxis": 1
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "expr": "avg_over_time(apcera_cpu_nanoseconds{type=\"$sourceType\",target=\"$source\"}[5m])/1000000",
          "format": "time_series",
          "hide": false,
          "instant": false,
          "intervalFactor": 1,
          "legendFormat": "CPU Usage  MS/S",
          "rawSql": "SELECT\n  UNIX_TIMESTAMP(timest) as time,\n  variable_value/600 as value,\n  substr(variable_name,5,length(variable_name)-6) as metric\nFROM my2.status\nWHERE $__timeFilter(timest)\n  and variable_name in ('COM_SELECT-d', 'COM_INSERT-d', 'COM_UPDATE-d', 'COM_DELETE-d')\n  and variable_value >=0\nORDER BY timest ASC,variable_name\n",
          "refId": "A"
        },
        {
          "expr": "avg_over_time(apcera_mem_used_bytes{type=\"$sourceType\",target=\"$source\"}[5m]) / 1000000",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Memory Usage  MB",
          "refId": "B"
        },
        {
          "expr": "sum(apcera_disk_used_bytes{type=\"$sourceType\",target=\"$source\"}) / 1000000",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Disk Usage  MB",
          "refId": "C"
        },
        {
          "expr": "avg_over_time(apcera_bandwidth_used_bps{type=\"$sourceType\",target=\"$source\"}[5m]) /1000",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "BandWidth Usage Kbps",
          "refId": "D"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Source Usage",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": 3,
          "format": "none",
          "label": "Source Usage",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "s",
          "label": "Reserved  CPU",
          "logBase": 1,
          "max": "1",
          "min": "0",
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": 1
      }
    }
  ],
  "refresh": false,
  "schemaVersion": 16,
  "style": "dark",
  "tags": [
    "Apcera Exporter"
  ],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {
          "selected": true,
          "tags": [],
          "text": "job",
          "value": "job"
        },
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "sourceType",
        "options": [
          {
            "selected": true,
            "text": "job",
            "value": "job"
          },
          {
            "selected": false,
            "text": "namespace",
            "value": "namespace"
          },
          {
            "selected": false,
            "text": "instance_manager",
            "value": "instance_manager"
          }
        ],
        "query": "job , namespace , instance_manager",
        "type": "custom"
      },
      {
        "allValue": null,
        "current": {
          "tags": [],
          "text": "job::/tds-pfm/tds::tds-async-task",
          "value": "job::/tds-pfm/tds::tds-async-task"
        },
        "datasource": "Apcera-Exporter",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "source",
        "options": [],
        "query": "apcera_cpu_nanoseconds",
        "refresh": 1,
        "regex": "/.*target=\"([^\"]*).*/",
        "sort": 2,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-30m",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "Apcera Exporter dashboard",
  "uid": "4Z1opp5mk",
  "version": 137
}





{
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "description": "Alerts from prometheus.",
  "editable": true,
  "gnetId": 5450,
  "graphTooltip": 0,
  "id": 25,
  "iteration": 1540546885497,
  "links": [],
  "panels": [
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 45,
      "panels": [
        {
          "content": "",
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 1
          },
          "id": 37,
          "links": [],
          "mode": "markdown",
          "title": "Alerts of Namespace  Overview",
          "transparent": true,
          "type": "text"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": true,
          "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
          ],
          "datasource": "Apcera-Exporter",
          "format": "short",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 3,
            "w": 4,
            "x": 0,
            "y": 2
          },
          "hideTimeOverride": false,
          "id": 23,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "annotations": false,
              "expr": "sum(ALERTS{alertstate=\"firing\",target=~\"job::$namespace::.*|job::$namespace/.*\",type=\"namespace\",alertname=~\"$alertname\"}) OR on() vector(0)",
              "format": "time_series",
              "instant": false,
              "intervalFactor": 2,
              "labelSelector": "*",
              "legendFormat": "",
              "refId": "A",
              "target": "Query",
              "type": "timeserie"
            }
          ],
          "thresholds": "1,10",
          "timeFrom": null,
          "timeShift": null,
          "title": "Alerts",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "current"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": true,
          "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
          ],
          "datasource": "Apcera-Exporter",
          "decimals": 0,
          "format": "short",
          "gauge": {
            "maxValue": 500,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 3,
            "w": 5,
            "x": 4,
            "y": 2
          },
          "height": "100",
          "id": 25,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "annotations": false,
              "expr": "sum(ALERTS{alertstate=\"firing\",severity=\"critical\",target=~\"job::$namespace::.*|job::$namespace/.*\",type=\"namespace\",alertname=~\"$alertname\"}) OR on() vector(0)",
              "format": "time_series",
              "instant": false,
              "intervalFactor": 2,
              "labelSelector": "*",
              "legendFormat": "",
              "refId": "A",
              "target": "Query",
              "type": "timeserie"
            }
          ],
          "thresholds": "10,17",
          "title": "Alerts Critical",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "0",
              "value": "null"
            }
          ],
          "valueName": "current"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": true,
          "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
          ],
          "datasource": "Apcera-Exporter",
          "format": "short",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 3,
            "w": 5,
            "x": 9,
            "y": 2
          },
          "id": 51,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "expr": "sum(ALERTS{alertstate=\"firing\",severity=\"high\",target=~\"job::$namespace::.*|job::$namespace/.*\",type=\"namespace\",alertname=~\"$alertname\"}) OR on() vector(0)",
              "format": "time_series",
              "instant": true,
              "intervalFactor": 2,
              "legendFormat": "",
              "refId": "A"
            }
          ],
          "thresholds": "1,10",
          "title": "Alerts High",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "0",
              "value": "null"
            }
          ],
          "valueName": "current"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": true,
          "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
          ],
          "datasource": "Apcera-Exporter",
          "format": "short",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 3,
            "w": 5,
            "x": 14,
            "y": 2
          },
          "id": 28,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "expr": " sum(ALERTS{alertstate=\"firing\",severity=\"warning\",target=~\"job::$namespace::.*|job::$namespace/.*\",type=\"namespace\",alertname=~\"$alertname\"}) OR on() vector(0)",
              "format": "time_series",
              "instant": true,
              "intervalFactor": 2,
              "legendFormat": "",
              "refId": "A"
            }
          ],
          "thresholds": "1,10",
          "title": "Alerts Warning",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "current"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": true,
          "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
          ],
          "datasource": "Apcera-Exporter",
          "format": "short",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 3,
            "w": 5,
            "x": 19,
            "y": 2
          },
          "id": 29,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "expr": "sum(ALERTS{alertstate=\"firing\",severity=\"info\",target=~\"job::$namespace::.*|job::$namespace/.*\",type=\"namespace\",alertname=~\"$alertname\"}) OR on() vector(0)",
              "format": "time_series",
              "instant": true,
              "intervalFactor": 2,
              "legendFormat": "",
              "refId": "A"
            }
          ],
          "thresholds": "1,10",
          "title": "Alerts Info",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "current"
        },
        {
          "content": "",
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 5
          },
          "id": 43,
          "links": [],
          "mode": "markdown",
          "title": "",
          "transparent": true,
          "type": "text"
        },
        {
          "columns": [],
          "datasource": "Apcera-Exporter",
          "description": "",
          "editable": true,
          "error": false,
          "fontSize": "100%",
          "gridPos": {
            "h": 11,
            "w": 11,
            "x": 0,
            "y": 6
          },
          "id": 21,
          "links": [],
          "pageSize": 10,
          "scroll": false,
          "showHeader": true,
          "sort": {
            "col": 2,
            "desc": false
          },
          "styles": [
            {
              "alias": "Alert Time",
              "colorMode": null,
              "colors": [
                "rgba(245, 54, 54, 0.9)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 2,
              "link": false,
              "mappingType": 1,
              "pattern": "Time",
              "thresholds": [],
              "type": "hidden",
              "unit": "short"
            },
            {
              "alias": "Namespace",
              "colorMode": null,
              "colors": [
                "rgba(245, 54, 54, 0.9)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 2,
              "link": false,
              "mappingType": 1,
              "pattern": "target",
              "preserveFormat": false,
              "sanitize": false,
              "thresholds": [],
              "type": "string",
              "unit": "short"
            },
            {
              "alias": "Alertname",
              "colorMode": null,
              "colors": [
                "rgba(245, 54, 54, 0.9)",
                "rgba(237, 129, 40, 0.89)",
                "#d683ce"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 2,
              "mappingType": 1,
              "pattern": "alertname",
              "preserveFormat": false,
              "sanitize": false,
              "thresholds": [
                ""
              ],
              "type": "string",
              "unit": "short"
            },
            {
              "alias": "Alert Counts",
              "colorMode": null,
              "colors": [
                "rgba(245, 54, 54, 0.9)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 2,
              "mappingType": 1,
              "pattern": "Value",
              "thresholds": [],
              "type": "hidden",
              "unit": "short"
            },
            {
              "alias": "Severity",
              "colorMode": null,
              "colors": [
                "rgba(245, 54, 54, 0.9)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 2,
              "mappingType": 1,
              "pattern": "severity",
              "thresholds": [],
              "type": "string",
              "unit": "short"
            }
          ],
          "targets": [
            {
              "annotations": false,
              "expr": "count(ALERTS{ severity=~\"$severity\" ,target=~\"job::$namespace::.*|job::$namespace/.*\",type=\"namespace\",alertname=~\"$alertname\"}) by (target,alertname,severity)",
              "format": "table",
              "instant": true,
              "interval": "",
              "intervalFactor": 2,
              "labelSelector": "*",
              "legendFormat": "",
              "refId": "A",
              "step": 4,
              "target": "Query",
              "type": "timeserie"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Current alerts of Namespace  [ $namespace ]",
          "transform": "table",
          "type": "table"
        },
        {
          "aliasColors": {},
          "bars": true,
          "dashLength": 10,
          "dashes": false,
          "datasource": "Apcera-Exporter",
          "decimals": null,
          "description": "Alert Begin and End  time",
          "editable": true,
          "error": false,
          "fill": 2,
          "grid": {},
          "gridPos": {
            "h": 11,
            "w": 13,
            "x": 11,
            "y": 6
          },
          "height": "400px",
          "id": 19,
          "legend": {
            "alignAsTable": true,
            "avg": false,
            "current": false,
            "hideEmpty": false,
            "hideZero": false,
            "max": false,
            "min": false,
            "rightSide": true,
            "show": true,
            "sort": "current",
            "sortDesc": true,
            "total": false,
            "values": false
          },
          "lines": false,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 1,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": true,
          "steppedLine": false,
          "targets": [
            {
              "annotations": false,
              "calculatedInterval": "10s",
              "datasourceErrors": {},
              "errors": {},
              "expr": "count(ALERTS{alertstate=\"firing\",severity=~\"$severity\",target=~\"job::$namespace::.*|job::$namespace/.*\",type=\"namespace\",alertname=~\"$alertname\"}) by (target)",
              "format": "time_series",
              "instant": false,
              "interval": "1m",
              "intervalFactor": 1,
              "labelSelector": "*",
              "legendFormat": "{{target}} ",
              "metric": "probe_http_status_code",
              "refId": "A",
              "step": 60,
              "target": "Query",
              "type": "timeserie"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Alerts Graph: Alert is distributed over time",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 2,
            "value_type": "individual"
          },
          "transparent": false,
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "decimals": 0,
              "format": "none",
              "label": "",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "none",
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": false
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "content": "",
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 17
          },
          "id": 42,
          "links": [],
          "mode": "markdown",
          "title": "",
          "transparent": true,
          "type": "text"
        }
      ],
      "title": "Alerts for Namespace",
      "type": "row"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 1
      },
      "id": 47,
      "panels": [],
      "title": "Alerts for Jobs",
      "type": "row"
    },
    {
      "content": "",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 2
      },
      "id": 50,
      "links": [],
      "mode": "markdown",
      "title": "Alerts of Jobs Overview",
      "transparent": true,
      "type": "text"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "#299c46",
        "rgba(237, 129, 40, 0.89)",
        "#d44a3a"
      ],
      "datasource": "Apcera-Exporter",
      "format": "short",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 3,
        "w": 4,
        "x": 0,
        "y": 3
      },
      "hideTimeOverride": false,
      "id": 48,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "annotations": false,
          "expr": "sum(ALERTS{alertstate=\"firing\",target=~\"job::$namespace::.*|job::$namespace/.*\",type=\"job\",alertname=~\"$alertname\"}) OR on() vector(0)",
          "format": "time_series",
          "instant": false,
          "intervalFactor": 2,
          "labelSelector": "*",
          "legendFormat": "",
          "refId": "A",
          "target": "Query",
          "type": "timeserie"
        }
      ],
      "thresholds": "1,10",
      "timeFrom": null,
      "timeShift": null,
      "title": "Alerts",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "#299c46",
        "rgba(237, 129, 40, 0.89)",
        "#d44a3a"
      ],
      "datasource": "Apcera-Exporter",
      "decimals": 0,
      "format": "short",
      "gauge": {
        "maxValue": 500,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 3,
        "w": 5,
        "x": 4,
        "y": 3
      },
      "height": "100",
      "id": 49,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "annotations": false,
          "expr": "sum(ALERTS{alertstate=\"firing\",severity=\"critical\",target=~\"job::$namespace::.*|job::$namespace/.*\",type=\"job\",alertname=~\"$alertname\"}) OR on() vector(0)",
          "format": "time_series",
          "instant": false,
          "intervalFactor": 2,
          "labelSelector": "*",
          "legendFormat": "",
          "refId": "A",
          "target": "Query",
          "type": "timeserie"
        }
      ],
      "thresholds": "10,17",
      "title": "Alerts Critical",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "0",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "#299c46",
        "rgba(237, 129, 40, 0.89)",
        "#d44a3a"
      ],
      "datasource": "Apcera-Exporter",
      "format": "short",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 3,
        "w": 5,
        "x": 9,
        "y": 3
      },
      "id": 24,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "expr": "sum(ALERTS{alertstate=\"firing\",severity=\"high\",target=~\"job::$namespace::.*|job::$namespace/.*\",type=\"namespace\",alertname=~\"$alertname\"}) OR on() vector(0)",
          "format": "time_series",
          "instant": true,
          "intervalFactor": 2,
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "thresholds": "1,10",
      "title": "Alerts High",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "0",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "#299c46",
        "rgba(237, 129, 40, 0.89)",
        "#d44a3a"
      ],
      "datasource": "Apcera-Exporter",
      "format": "short",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 3,
        "w": 5,
        "x": 14,
        "y": 3
      },
      "id": 52,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "expr": " sum(ALERTS{alertstate=\"firing\",severity=\"warning\",target=~\"job::$namespace::.*|job::$namespace/.*\",type=\"job\",alertname=~\"$alertname\"}) OR on() vector(0)",
          "format": "time_series",
          "instant": true,
          "intervalFactor": 2,
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "thresholds": "1,10",
      "title": "Alerts Warning",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "#299c46",
        "rgba(237, 129, 40, 0.89)",
        "#d44a3a"
      ],
      "datasource": "Apcera-Exporter",
      "format": "short",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 3,
        "w": 5,
        "x": 19,
        "y": 3
      },
      "id": 53,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "expr": "sum(ALERTS{alertstate=\"firing\",severity=\"info\",target=~\"job::$namespace::.*|job::$namespace/.*\",type=\"job\",alertname=~\"$alertname\"}) OR on() vector(0)",
          "format": "time_series",
          "instant": true,
          "intervalFactor": 2,
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "thresholds": "1,10",
      "title": "Alerts Info",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "columns": [],
      "datasource": "Apcera-Exporter",
      "description": "",
      "editable": true,
      "error": false,
      "fontSize": "100%",
      "gridPos": {
        "h": 11,
        "w": 11,
        "x": 0,
        "y": 6
      },
      "id": 54,
      "links": [],
      "pageSize": 10,
      "scroll": false,
      "showHeader": true,
      "sort": {
        "col": 2,
        "desc": false
      },
      "styles": [
        {
          "alias": "Alert Time",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "link": false,
          "linkTooltip": "",
          "mappingType": 1,
          "pattern": "Time",
          "thresholds": [],
          "type": "hidden",
          "unit": "short"
        },
        {
          "alias": "JobName",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "link": false,
          "mappingType": 1,
          "pattern": "target",
          "preserveFormat": false,
          "sanitize": false,
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "alias": "Alertname",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "#d683ce"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "alertname",
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "alias": "Alert Counts",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "Value",
          "thresholds": [],
          "type": "hidden",
          "unit": "short"
        },
        {
          "alias": "Severity",
          "colorMode": "value",
          "colors": [
            "rgb(58, 118, 38)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(245, 54, 54, 0.9)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "severity",
          "thresholds": [],
          "type": "number",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "annotations": false,
          "expr": "count(ALERTS{ severity=~\"$severity\" ,target=~\"job::$namespace::.*|job::$namespace/.*\",type=\"job\",alertname=~\"$alertname\"}) by (severity,alertname,target)",
          "format": "table",
          "instant": true,
          "interval": "",
          "intervalFactor": 2,
          "labelSelector": "*",
          "legendFormat": "",
          "refId": "A",
          "step": 4,
          "target": "Query",
          "type": "timeserie"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Job alerts of Namespace[ $namespace ]",
      "transform": "table",
      "type": "table"
    },
    {
      "aliasColors": {},
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "Apcera-Exporter",
      "decimals": null,
      "description": "Alert Begin and End  time",
      "editable": true,
      "error": false,
      "fill": 2,
      "grid": {},
      "gridPos": {
        "h": 11,
        "w": 13,
        "x": 11,
        "y": 6
      },
      "height": "400px",
      "id": 55,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "hideEmpty": false,
        "hideZero": false,
        "max": false,
        "min": false,
        "rightSide": true,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": false
      },
      "lines": false,
      "linewidth": 2,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 1,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": true,
      "steppedLine": false,
      "targets": [
        {
          "annotations": false,
          "calculatedInterval": "10s",
          "datasourceErrors": {},
          "errors": {},
          "expr": "count(ALERTS{alertstate=\"firing\",severity=~\"$severity\",target=~\"job::$namespace::.*|job::$namespace/.*\",type=\"job\",alertname=~\"$alertname\"}) by (target)",
          "format": "time_series",
          "instant": false,
          "interval": "1m",
          "intervalFactor": 1,
          "labelSelector": "*",
          "legendFormat": "{{target}} ",
          "metric": "probe_http_status_code",
          "refId": "A",
          "step": 60,
          "target": "Query",
          "type": "timeserie"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Alerts Graph: Alert is distributed over time",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "transparent": false,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": 0,
          "format": "none",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "none",
          "logBase": 1,
          "max": null,
          "min": 0,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": "10s",
  "schemaVersion": 16,
  "style": "dark",
  "tags": [
    "App",
    "Alerts"
  ],
  "templating": {
    "list": [
      {
        "allValue": ".*",
        "current": {
          "text": "/ci",
          "value": [
            "/ci"
          ]
        },
        "datasource": "Apcera-Exporter",
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "namespace",
        "options": [],
        "query": "ALERTS",
        "refresh": 2,
        "regex": "/.*target=\"job::([^\"]*).*,type=\"namespace\"/",
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": ".*",
        "current": {
          "tags": [],
          "text": "All",
          "value": [
            "$__all"
          ]
        },
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "severity",
        "options": [
          {
            "selected": true,
            "text": "All",
            "value": "$__all"
          },
          {
            "selected": false,
            "text": "critical",
            "value": "critical"
          },
          {
            "selected": false,
            "text": "high",
            "value": "high"
          },
          {
            "selected": false,
            "text": "warning",
            "value": "warning"
          },
          {
            "selected": false,
            "text": "info",
            "value": "info"
          }
        ],
        "query": "critical,high,warning,info",
        "type": "custom"
      },
      {
        "allValue": ".*",
        "current": {
          "tags": [],
          "text": "JobMemUtil-10%-",
          "value": [
            "JobMemUtil-10%-"
          ]
        },
        "datasource": "Apcera-Exporter",
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "alertname",
        "options": [],
        "query": "ALERTS",
        "refresh": 1,
        "regex": "/.*alertname=\"([^\"]*).*/",
        "sort": 2,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-1h",
    "to": "now"
  },
  "timepicker": {
    "collapse": false,
    "enable": true,
    "notice": false,
    "now": true,
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "status": "Stable",
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ],
    "type": "timepicker"
  },
  "timezone": "browser",
  "title": "Alerts for  Demo",
  "uid": "HIVvWYbiz2",
  "version": 143
}

分享到:
评论

相关推荐

    GrafanaDashboard

    标题"GrafanaDashboard"指的是Grafana平台中的仪表板功能,这是一个强大的数据可视化工具,尤其在监控和分析Kubernetes(k8s)集群时极为有用。Grafana允许用户通过自定义面板展示来自不同数据源的实时指标,帮助IT...

    GrafanaDashboard.zip

    《Grafana监控Dashboard模板详解及在K8s环境中的应用》 Grafana是一款强大的开源数据可视化工具,常用于监控和分析各种系统的指标。在Kubernetes(简称K8s)这样的容器编排环境中,Grafana Dashboard成为了展示集群...

    Grafana-JVM-Dashboard模板

    Grafana-JVM-Dashboard模板

    Grafana物理机参数监控Dashboard模板

    Grafana物理机参数监控Dashboard模板

    grafana-dashboard-mysql-redis-web.zip

    标题中的“grafana-dashboard-mysql-redis-web.zip”是一个压缩包文件,主要包含了针对Prometheus监控系统的Grafana仪表板模板。Grafana是一个流行的开源分析和可视化平台,常用于展示时间序列数据,尤其在系统监控...

    Grafana 变量 KeyValue 形式实现.md

    Grafna Dashboard 中,支持 `variables` 变量, 以下拉列表的形式展示在左上角,用户可选择其内容,下面的 Panel 中的对象查询中增加 $xxx 即可实现对象的切换, 比较方便。 问题: 常规实现没有问题,但对于下拉列表...

    grafana-DolphinScheduler-Worker.json

    grafana上DolphinScheduler-Worker使用的json文件

    HomeDashboard:我的Grafana Home Dashboard的请求的Github Repo

    我的Grafana Home Dashboard的请求的Github Repo 开始 即使我的Grafana仪表盘本身看起来很漂亮,我的整个设置还是很混乱。这是我有史以来第一次真正与Grafana交涉,只是看到我能用它做些什么。这些东西大部分都是从...

    基于hadoop监控的grafana模板

    Grafana则是一款强大的数据可视化工具,可以将复杂的数据转化为易于理解的图表。本主题聚焦于如何利用Grafana来监控Hadoop生态系统中的各个组件,提高系统的可观察性和管理效率。 首先,我们来看Hadoop生态组件: ...

    PyPI 官网下载 | grafana-dashboard-builder-0.1.0a3.tar.gz

    资源描述中的“grafana-dashboard-builder-0.1.0a3.tar.gz”是一个特定版本的Python软件包,即grafana-dashboard-builder的0.1.0a3 alpha版。它以tar.gz格式压缩,这是一种常见的Linux/Unix平台上的文件压缩格式,...

    Grafana表格配置以及Panel/Dashboard复制粘贴

    3. **导入Dashboard**:修改后的JSON文件可以再导入到Grafana中,生成一个新的Dashboard,这样就可以快速创建出与原Dashboard类似但具有不同数据条件的新仪表板。 此外,Grafana还支持权限管理、团队协作和定时邮件...

    azure-grafana-dashboard-templates:用于Azure的Grafana仪表板模板

    "azure-grafana-dashboard-templates" 是一套专门为Azure设计的Grafana仪表板模板,旨在简化和加速Azure环境的监控设置。这些模板通常包含了一系列预先配置的面板,能够展示Azure服务的关键性能指标,如CPU使用率、...

    grafana关于hadoop大数据组件的Dashboard

    标题中的“grafana关于hadoop大数据组件的Dashboard”指出,这个主题主要关注的是使用Grafana来监控Hadoop大数据组件的性能和状态。Grafana是一个流行的开源可视化工具,能够帮助用户通过图表和仪表盘来展示来自不同...

    grafanaDashboard:示例Grafana仪表板

    grafana仪表板 样本Grafana仪表板触发器Jenkins作业演示已为NBC演示准备就绪为BCI演示准备就绪已为Scotia演示准备就绪为Enbridge演示准备为InnovaPost演示已为CIBC演示准备为荷兰的InnoHub演示为荷兰的InnoHub演示已...

    apache-pulsar-grafana-dashboard:Apache Pulsar Grafana仪表板

    Apache Pulsar Grafana仪表板 Grafana仪表板docker映像可从。 要使用此仪表板图像,请提供以下环境变量: PULSAR_PROMETHEUS_URL :指向您的普罗米修斯服务的HTTP URL。 例如, http://<prometheus>:9090 。 PULSAR_...

    grafana-dashboards:用于数据库监视的PMM仪表板

    用于使用Prometheus进行MySQL和MongoDB监视的Grafana仪表板 这是一组用于使用Prometheus数据源进行数据库和系统监视的Grafana仪表板。 先进的数据探索 Amazon RDS / Aurora MySQL指标(CloudWatch数据源) 比较...

    data-dashboard-for-labview-2-3-0.apk

    Data Dashboard是一个运行在智能手机和平板电脑上的瘦客户端应用程序。通过使用它,甚至不需要编程,就可以建立一个自定义、便携的labview应用界面。需要做的仅仅是拖拽一些输入控件和显示控件(比如图表、仪表、LED...

    基于loki+grafana的在线nginx日志分析系统

    本文将详细介绍如何使用Loki和Grafana构建一个在线的日志分析系统,该系统基于Docker Compose进行一键部署,极大地简化了安装和配置流程。 首先,Loki是Prometheus Labs开发的一款分布式日志聚合系统,它设计的目标...

    grafana-elasticsearch-dashboard

    用于Elasticsearch的Grafana仪表板 该仪表板需要并与之完美配合,它为所有指标提供完整的图表,将相关图表按行分组在一起,并根据其重要性排列图表。 安装 您可以直接在上下载json文件,也可以尝试最新版本的仪表板...

    grafana-spark-dashboards:用于生成用于监控 Spark 作业的 Grafana 仪表板的脚本

    grafana-火花仪表板该存储库包含一个 Grafana “脚本仪表板” spark.js ,旨在显示从 Spark 应用程序收集的指标。 您可以阅读有关背景和动机的更多信息。你会看到什么所有 Spark 指标的精美图表!引擎盖下是什么下面...

Global site tag (gtag.js) - Google Analytics