Skip to content

Commit 99283d8

Browse files
added grafana dashboards
Signed-off-by: rumesh <rumesh.m.s16@gmail.com>
1 parent 76e9ec9 commit 99283d8

4 files changed

Lines changed: 1039 additions & 0 deletions

File tree

grafana_dashboards/1.json

Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
{
2+
"annotations": {
3+
"list": [
4+
{
5+
"builtIn": 1,
6+
"datasource": "-- Grafana --",
7+
"enable": true,
8+
"hide": true,
9+
"iconColor": "rgba(0, 211, 255, 1)",
10+
"name": "Annotations & Alerts",
11+
"type": "dashboard"
12+
}
13+
]
14+
},
15+
"editable": true,
16+
"gnetId": null,
17+
"graphTooltip": 0,
18+
"id": 1,
19+
"iteration": 1577886426308,
20+
"links": [],
21+
"panels": [
22+
{
23+
"columns": [],
24+
"datasource": "Airline",
25+
"fontSize": "100%",
26+
"gridPos": {
27+
"h": 8,
28+
"w": 12,
29+
"x": 0,
30+
"y": 0
31+
},
32+
"id": 2,
33+
"options": {},
34+
"pageSize": null,
35+
"scroll": true,
36+
"showHeader": true,
37+
"sort": {
38+
"col": 0,
39+
"desc": true
40+
},
41+
"styles": [],
42+
"targets": [
43+
{
44+
"format": "table",
45+
"group": [],
46+
"metricColumn": "none",
47+
"rawQuery": true,
48+
"rawSql": "call above18_passengers($airplane_no);",
49+
"refId": "A",
50+
"select": [
51+
[
52+
{
53+
"params": [
54+
"value"
55+
],
56+
"type": "column"
57+
}
58+
]
59+
],
60+
"table": "airplane_model",
61+
"timeColumn": "time",
62+
"where": []
63+
}
64+
],
65+
"timeFrom": null,
66+
"timeShift": null,
67+
"title": "Above 18",
68+
"transform": "table",
69+
"type": "table"
70+
},
71+
{
72+
"columns": [],
73+
"datasource": "Airline",
74+
"fontSize": "100%",
75+
"gridPos": {
76+
"h": 8,
77+
"w": 12,
78+
"x": 12,
79+
"y": 0
80+
},
81+
"id": 3,
82+
"options": {},
83+
"pageSize": null,
84+
"scroll": true,
85+
"showHeader": true,
86+
"sort": {
87+
"col": 0,
88+
"desc": true
89+
},
90+
"styles": [],
91+
"targets": [
92+
{
93+
"format": "table",
94+
"group": [],
95+
"metricColumn": "none",
96+
"rawQuery": true,
97+
"rawSql": "call below18_passengers($airplane_no);",
98+
"refId": "A",
99+
"select": [
100+
[
101+
{
102+
"params": [
103+
"value"
104+
],
105+
"type": "column"
106+
}
107+
]
108+
],
109+
"table": "airplane_model",
110+
"timeColumn": "time",
111+
"where": []
112+
}
113+
],
114+
"timeFrom": null,
115+
"timeShift": null,
116+
"title": "Below 18",
117+
"transform": "table",
118+
"type": "table"
119+
}
120+
],
121+
"refresh": "5s",
122+
"schemaVersion": 21,
123+
"style": "dark",
124+
"tags": [
125+
"Airline"
126+
],
127+
"templating": {
128+
"list": [
129+
{
130+
"allValue": null,
131+
"current": {
132+
"tags": [],
133+
"text": "1",
134+
"value": "1"
135+
},
136+
"datasource": "Airline",
137+
"definition": "select flight_id from flight",
138+
"hide": 0,
139+
"includeAll": false,
140+
"label": null,
141+
"multi": false,
142+
"name": "airplane_no",
143+
"options": [],
144+
"query": "select flight_id from flight",
145+
"refresh": 1,
146+
"regex": "",
147+
"skipUrlSync": false,
148+
"sort": 0,
149+
"tagValuesQuery": "",
150+
"tags": [],
151+
"tagsQuery": "",
152+
"type": "query",
153+
"useTags": false
154+
}
155+
]
156+
},
157+
"time": {
158+
"from": "now-6h",
159+
"to": "now"
160+
},
161+
"timepicker": {
162+
"hidden": false,
163+
"refresh_intervals": [
164+
"5s",
165+
"10s",
166+
"30s",
167+
"1m",
168+
"5m",
169+
"15m",
170+
"30m",
171+
"1h",
172+
"2h",
173+
"1d"
174+
]
175+
},
176+
"timezone": "",
177+
"title": "Passengers",
178+
"uid": "G_Gol_-Zz",
179+
"version": 1
180+
}

0 commit comments

Comments
 (0)