Skip to content
Snippets Groups Projects
Commit f5b04aa4 authored by ale's avatar ale
Browse files

Add a simple service SLI dashboard

parent b3f01a27
No related branches found
No related tags found
No related merge requests found
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 44,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "P49960DE5880E8C68"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red"
},
{
"color": "#EAB839",
"value": 0.996
},
{
"color": "green",
"value": 0.999
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 31,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"displayMode": "basic",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [],
"fields": "/^Value$/",
"limit": 50,
"values": true
},
"showUnfilled": true
},
"pluginVersion": "9.3.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P49960DE5880E8C68"
},
"editorMode": "code",
"exemplar": false,
"expr": "avg_over_time(max(probe_success{prober_float_service=\"$prober_float_service\"}) by (probe)[30d:])",
"format": "table",
"instant": true,
"legendFormat": "{{probe}}",
"range": false,
"refId": "A"
}
],
"title": "Service SLI",
"transformations": [
{
"id": "sortBy",
"options": {
"fields": {},
"sort": [
{
"desc": false,
"field": "Value"
}
]
}
}
],
"type": "bargauge"
}
],
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "ai3-prober",
"value": "ai3-prober"
},
"datasource": {
"type": "prometheus",
"uid": "P49960DE5880E8C68"
},
"definition": "label_values(probe_success, prober_float_service)",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "prober_float_service",
"options": [],
"query": {
"query": "label_values(probe_success, prober_float_service)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Service SLI",
"uid": "26rk7GhVz",
"version": 2,
"weekStart": ""
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment