blob: 4a1f02859d8f9371f74d741b7af9b3d92132da1b [file] [log] [blame]
PUSHP RAJ7c521fa2021-12-06 14:19:03 +00001{
2
3 "annotations": {
4 "list": [
5 {
6 "builtIn": 1,
7 "datasource": "-- Grafana --",
8 "enable": true,
9 "hide": true,
10 "iconColor": "rgba(0, 211, 255, 1)",
11 "name": "Annotations & Alerts",
12 "type": "dashboard"
13 }
14 ]
15 },
16 "description": "",
17 "editable": false,
18 "gnetId": null,
19 "graphTooltip": 0,
20 "links": [],
21 "panels": [
22 {
23 "datasource": "$ds",
24 "description": "Cluster Availability",
25 "fieldConfig": {
26 "defaults": {
27 "color": {
28 "mode": "palette-classic"
29 },
30 "custom": {
31 "axisLabel": "",
32 "axisPlacement": "auto",
33 "barAlignment": 0,
34 "drawStyle": "line",
35 "fillOpacity": 0,
36 "gradientMode": "none",
37 "hideFrom": {
38 "legend": false,
39 "tooltip": false,
40 "viz": false
41 },
42 "lineInterpolation": "linear",
43 "lineWidth": 1,
44 "pointSize": 5,
45 "scaleDistribution": {
46 "type": "linear"
47 },
48 "showPoints": "auto",
49 "spanNulls": false,
50 "stacking": {
51 "group": "A",
52 "mode": "none"
53 },
54 "thresholdsStyle": {
55 "mode": "off"
56 }
57 },
58 "mappings": [],
59 "thresholds": {
60 "mode": "absolute",
61 "steps": [
62 {
63 "color": "green",
64 "value": null
65 },
66 {
67 "color": "red",
68 "value": 80
69 }
70 ]
71 }
72 },
73 "overrides": []
74 },
75 "gridPos": {
76 "h": 8,
77 "w": 12,
78 "x": 0,
79 "y": 0
80 },
81 "id": 1,
82 "options": {
83 "legend": {
84 "calcs": [],
85 "displayMode": "list",
86 "placement": "bottom"
87 },
88 "tooltip": {
89 "mode": "single"
90 }
91 },
92 "targets": [
93 {
94 "exemplar": true,
95 "expr": "sum by (node) (kube_node_status_condition{condition=~\"Ready\",status=~\"true\"})",
96 "interval": "",
97 "legendFormat": "{{node}}",
98 "queryType": "randomWalk",
99 "refId": "A"
100 }
101 ],
102 "title": "Cluster Nodes Status",
103 "type": "timeseries"
104 }
105 ],
106 "refresh": "",
107 "schemaVersion": 30,
108 "style": "light",
109 "tags": [],
110 "templating": {
111 "list": [
112 {
113 "label" : "Datasource",
114 "multi" : false,
115 "name" : "ds",
116 "type" : "datasource",
117 "query": "prometheus",
118 "queryValue": "",
119 "refresh": 1,
120 "regex": ""
121 }
122 ]
123 },
124 "time": {
125 "from": "now-15m",
126 "to": "now"
127 },
128 "timepicker": {},
129 "timezone": "",
130 "title": "Cluster Health",
131 "uid": "site-availability",
132 "version": 1
133 }
134
135