- "__inputs": [
- {
- "name": "DS_PROMETHEUS",
- "label": "Prometheus",
- "description": "",
- "type": "datasource",
- "pluginId": "prometheus",
- "pluginName": "Prometheus"
- }
- ],
- "__requires": [
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": ""
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": ""
- },
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "3.1.0"
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- }
- ],
- "id": null,
- "title": "Prometheus system",
- "tags": [
- "system",
- "prometheus",
- "online",
- "home"
- ],
- "style": "dark",
- "timezone": "browser",
+ "annotations": {
+ "list": [
+ {
+ "datasource": "automated-ds",
+ "enable": false,
+ "expr": "ALERTS{alias=\"$host\", alertstate=\"firing\"}",
+ "iconColor": "rgb(252, 5, 0)",
+ "name": "Alert",
+ "tagKeys": "severity",
+ "textFormat": "{{ alias }} : {{alertstate}}",
+ "titleFormat": "{{ alertname }}"
+ },
+ {
+ "datasource": "automated-ds",
+ "enable": true,
+ "expr": "ALERTS{alias=\"$host\",alertstate=\"pending\"}",
+ "iconColor": "rgb(228, 242, 9)",
+ "name": "Warning",
+ "tagKeys": "severity",
+ "textFormat": "{{ alias }} : {{ alertstate }}",
+ "titleFormat": "{{ alertname }}"
+ }
+ ]
+ },
+ "description": "Load, CPU, RAM, network, process ...",