Skip to content

Commit 3d8e8a2

Browse files
authored
Merge pull request #223 from ahinvinith/main
dashboards including time series
2 parents 90f5cf6 + 5b42c98 commit 3d8e8a2

12 files changed

+3576
-2669
lines changed

grafana/azure-dashboard.json

Lines changed: 478 additions & 0 deletions
Large diffs are not rendered by default.

grafana/bitBucket-dashboard.json

Lines changed: 477 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 329 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,329 @@
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+
"fiscalYearStartMonth": 0,
17+
"graphTooltip": 0,
18+
"id": 10,
19+
"links": [],
20+
"liveNow": false,
21+
"panels": [
22+
{
23+
"datasource": {
24+
"type": "vertamedia-clickhouse-datasource",
25+
"uid": "vertamedia-clickhouse-datasource"
26+
},
27+
"description": "",
28+
"fieldConfig": {
29+
"defaults": {
30+
"color": {
31+
"mode": "thresholds"
32+
},
33+
"custom": {
34+
"align": "center",
35+
"cellOptions": {
36+
"type": "color-text"
37+
},
38+
"filterable": true,
39+
"inspect": false
40+
},
41+
"mappings": [],
42+
"thresholds": {
43+
"mode": "absolute",
44+
"steps": [
45+
{
46+
"color": "green",
47+
"value": null
48+
}
49+
]
50+
}
51+
},
52+
"overrides": []
53+
},
54+
"gridPos": {
55+
"h": 8,
56+
"w": 24,
57+
"x": 0,
58+
"y": 0
59+
},
60+
"id": 4,
61+
"options": {
62+
"cellHeight": "sm",
63+
"footer": {
64+
"countRows": false,
65+
"fields": "",
66+
"reducer": [
67+
"sum"
68+
],
69+
"show": false
70+
},
71+
"showHeader": true
72+
},
73+
"pluginVersion": "10.0.3",
74+
"targets": [
75+
{
76+
"datasource": {
77+
"type": "vertamedia-clickhouse-datasource",
78+
"uid": "vertamedia-clickhouse-datasource"
79+
},
80+
"dateTimeType": "DATETIME",
81+
"extrapolate": true,
82+
"format": "table",
83+
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
84+
"intervalFactor": 1,
85+
"query": "SELECT * FROM default.quaycontainerpush\nWHERE $timeFilterByColumn(EventTime)\nORDER BY EventTime",
86+
"rawQuery": "SELECT * FROM default.quaycontainerpush\nWHERE EventTime >= toDateTime(1694165676) AND EventTime <= toDateTime(1694252076)\nORDER BY EventTime",
87+
"refId": "A",
88+
"round": "0s",
89+
"skip_comments": true
90+
}
91+
],
92+
"title": "Quay Container Registry",
93+
"type": "table"
94+
},
95+
{
96+
"datasource": {
97+
"type": "vertamedia-clickhouse-datasource",
98+
"uid": "vertamedia-clickhouse-datasource"
99+
},
100+
"fieldConfig": {
101+
"defaults": {
102+
"color": {
103+
"mode": "thresholds"
104+
},
105+
"custom": {
106+
"align": "center",
107+
"cellOptions": {
108+
"type": "color-text"
109+
},
110+
"filterable": true,
111+
"inspect": false
112+
},
113+
"mappings": [],
114+
"thresholds": {
115+
"mode": "absolute",
116+
"steps": [
117+
{
118+
"color": "green",
119+
"value": null
120+
}
121+
]
122+
}
123+
},
124+
"overrides": []
125+
},
126+
"gridPos": {
127+
"h": 8,
128+
"w": 24,
129+
"x": 0,
130+
"y": 8
131+
},
132+
"id": 3,
133+
"options": {
134+
"cellHeight": "sm",
135+
"footer": {
136+
"countRows": false,
137+
"fields": "",
138+
"reducer": [
139+
"sum"
140+
],
141+
"show": false
142+
},
143+
"showHeader": true
144+
},
145+
"pluginVersion": "10.0.3",
146+
"targets": [
147+
{
148+
"datasource": {
149+
"type": "vertamedia-clickhouse-datasource",
150+
"uid": "vertamedia-clickhouse-datasource"
151+
},
152+
"dateTimeType": "DATETIME",
153+
"extrapolate": true,
154+
"format": "table",
155+
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
156+
"intervalFactor": 1,
157+
"query": "SELECT * FROM default.jfrogcontainerpush\nWHERE $timeFilterByColumn(EventTime)\nORDER BY EventTime DESC",
158+
"rawQuery": "SELECT * FROM default.jfrogcontainerpush\nWHERE EventTime >= toDateTime(1694226084) AND EventTime <= toDateTime(1694247684)\nORDER BY EventTime DESC",
159+
"refId": "A",
160+
"round": "0s",
161+
"skip_comments": true
162+
}
163+
],
164+
"title": "JFrog Container Registry",
165+
"type": "table"
166+
},
167+
{
168+
"datasource": {
169+
"type": "vertamedia-clickhouse-datasource",
170+
"uid": "vertamedia-clickhouse-datasource"
171+
},
172+
"fieldConfig": {
173+
"defaults": {
174+
"color": {
175+
"mode": "thresholds"
176+
},
177+
"custom": {
178+
"align": "center",
179+
"cellOptions": {
180+
"type": "color-text"
181+
},
182+
"filterable": true,
183+
"inspect": false
184+
},
185+
"mappings": [],
186+
"thresholds": {
187+
"mode": "absolute",
188+
"steps": [
189+
{
190+
"color": "green",
191+
"value": null
192+
}
193+
]
194+
}
195+
},
196+
"overrides": []
197+
},
198+
"gridPos": {
199+
"h": 8,
200+
"w": 24,
201+
"x": 0,
202+
"y": 16
203+
},
204+
"id": 2,
205+
"options": {
206+
"cellHeight": "sm",
207+
"footer": {
208+
"countRows": false,
209+
"fields": "",
210+
"reducer": [
211+
"sum"
212+
],
213+
"show": false
214+
},
215+
"showHeader": true
216+
},
217+
"pluginVersion": "10.0.3",
218+
"targets": [
219+
{
220+
"datasource": {
221+
"type": "vertamedia-clickhouse-datasource",
222+
"uid": "vertamedia-clickhouse-datasource"
223+
},
224+
"dateTimeType": "DATETIME",
225+
"extrapolate": true,
226+
"format": "table",
227+
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
228+
"intervalFactor": 1,
229+
"query": "SELECT * FROM default.azurecontainerpush\nWHERE $timeFilterByColumn(EventTime)\nORDER BY EventTime DESC",
230+
"rawQuery": "SELECT * FROM default.azurecontainerpush\nWHERE EventTime >= toDateTime(1694165623) AND EventTime <= toDateTime(1694252023)\nORDER BY EventTime DESC",
231+
"refId": "A",
232+
"round": "0s",
233+
"skip_comments": true
234+
}
235+
],
236+
"title": "Azure Container Registry",
237+
"type": "table"
238+
},
239+
{
240+
"datasource": {
241+
"type": "vertamedia-clickhouse-datasource",
242+
"uid": "vertamedia-clickhouse-datasource"
243+
},
244+
"fieldConfig": {
245+
"defaults": {
246+
"color": {
247+
"mode": "thresholds"
248+
},
249+
"custom": {
250+
"align": "center",
251+
"cellOptions": {
252+
"type": "color-text"
253+
},
254+
"filterable": true,
255+
"inspect": false
256+
},
257+
"mappings": [],
258+
"thresholds": {
259+
"mode": "absolute",
260+
"steps": [
261+
{
262+
"color": "green",
263+
"value": null
264+
}
265+
]
266+
}
267+
},
268+
"overrides": []
269+
},
270+
"gridPos": {
271+
"h": 9,
272+
"w": 24,
273+
"x": 0,
274+
"y": 24
275+
},
276+
"id": 1,
277+
"options": {
278+
"cellHeight": "sm",
279+
"footer": {
280+
"countRows": false,
281+
"fields": "",
282+
"reducer": [
283+
"sum"
284+
],
285+
"show": false
286+
},
287+
"showHeader": true
288+
},
289+
"pluginVersion": "10.0.3",
290+
"targets": [
291+
{
292+
"datasource": {
293+
"type": "vertamedia-clickhouse-datasource",
294+
"uid": "vertamedia-clickhouse-datasource"
295+
},
296+
"dateTimeType": "DATETIME",
297+
"extrapolate": true,
298+
"format": "table",
299+
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
300+
"intervalFactor": 1,
301+
"query": "SELECT * FROM default.dockerhubbuild\nWHERE $timeFilterByColumn(EventTime)\nORDER BY EventTime DESC\n",
302+
"rawQuery": "SELECT * FROM default.dockerhubbuild\nWHERE EventTime >= toDateTime(1694165564) AND EventTime <= toDateTime(1694251964)\nORDER BY EventTime DESC",
303+
"refId": "A",
304+
"round": "0s",
305+
"skip_comments": true
306+
}
307+
],
308+
"title": "DockerHub",
309+
"type": "table"
310+
}
311+
],
312+
"refresh": "",
313+
"schemaVersion": 38,
314+
"style": "dark",
315+
"tags": [],
316+
"templating": {
317+
"list": []
318+
},
319+
"time": {
320+
"from": "now-24h",
321+
"to": "now"
322+
},
323+
"timepicker": {},
324+
"timezone": "",
325+
"title": "Container-Bridge",
326+
"uid": "cf8cf066-b241-48c8-9e3d-863eed33bcf3",
327+
"version": 2,
328+
"weekStart": ""
329+
}

0 commit comments

Comments
 (0)