Skip to content
Snippets Groups Projects
Commit f65223ef authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-685: Annotate alerts better on home dashboard

parent 60c54c9e
Branches
Tags
1 merge request!290Resolve L2SS-685 "Add alerta docker"
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"editable": true, "editable": true,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"id": 5, "id": 8,
"links": [], "links": [],
"liveNow": false, "liveNow": false,
"panels": [ "panels": [
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
"value": "first_last_numbers" "value": "first_last_numbers"
} }
], ],
"panelHeight": 137, "panelHeight": 130,
"pluginVersion": "8.4.5", "pluginVersion": "8.4.5",
"rowNumbersEnabled": false, "rowNumbersEnabled": false,
"rowsPerPage": 5, "rowsPerPage": 5,
...@@ -119,20 +119,6 @@ ...@@ -119,20 +119,6 @@
"pattern": "Time", "pattern": "Time",
"type": "date" "type": "date"
}, },
{
"$$hashKey": "object:20",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"splitPattern": "/ /",
"thresholds": [],
"type": "number",
"unit": "short"
},
{ {
"$$hashKey": "object:45", "$$hashKey": "object:45",
"colors": [ "colors": [
...@@ -143,7 +129,7 @@ ...@@ -143,7 +129,7 @@
"dateFormat": "YYYY-MM-DD HH:mm:ss", "dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2, "decimals": 2,
"mappingType": 1, "mappingType": 1,
"pattern": "Panel", "pattern": "Panel|Dashboard|Alert",
"sanitize": true, "sanitize": true,
"splitPattern": "/ /", "splitPattern": "/ /",
"thresholds": [], "thresholds": [],
...@@ -162,7 +148,7 @@ ...@@ -162,7 +148,7 @@
"decimals": 2, "decimals": 2,
"link": true, "link": true,
"mappingType": 1, "mappingType": 1,
"pattern": "Alerta", "pattern": "Alerta Link",
"splitPattern": "/ /", "splitPattern": "/ /",
"thresholds": [], "thresholds": [],
"type": "string", "type": "string",
...@@ -224,14 +210,24 @@ ...@@ -224,14 +210,24 @@
"text": "Attribute", "text": "Attribute",
"type": "string" "type": "string"
}, },
{
"selector": "attributes.grafanaDashboardHtml",
"text": "Dashboard",
"type": "string"
},
{ {
"selector": "attributes.grafanaPanelHtml", "selector": "attributes.grafanaPanelHtml",
"text": "Panel", "text": "Panel",
"type": "string" "type": "string"
}, },
{
"selector": "attributes.grafanaAlertHtml",
"text": "Alert",
"type": "string"
},
{ {
"selector": "href", "selector": "href",
"text": "Alerta", "text": "Alerta Link",
"type": "string" "type": "string"
} }
], ],
...@@ -297,6 +293,13 @@ ...@@ -297,6 +293,13 @@
"y": 6 "y": 6
}, },
"id": 60, "id": 60,
"links": [
{
"targetBlank": true,
"title": "Details",
"url": "/alerting/list"
}
],
"options": { "options": {
"alertInstanceLabelFilter": "", "alertInstanceLabelFilter": "",
"alertName": "", "alertName": "",
...@@ -314,7 +317,7 @@ ...@@ -314,7 +317,7 @@
"pending": true "pending": true
} }
}, },
"title": "Grafana Alerts", "title": "Firing Alerts",
"type": "alertlist" "type": "alertlist"
}, },
{ {
...@@ -2810,6 +2813,6 @@ ...@@ -2810,6 +2813,6 @@
"timezone": "", "timezone": "",
"title": "Home", "title": "Home",
"uid": "nC8N_kO7k", "uid": "nC8N_kO7k",
"version": 6, "version": 1,
"weekStart": "" "weekStart": ""
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment