Skip to content

Commit 241bca4

Browse files
committed
monitoring: add dashboard for argocd-notifications
1 parent 761da41 commit 241bca4

File tree

2 files changed

+307
-0
lines changed

2 files changed

+307
-0
lines changed
Lines changed: 305 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,305 @@
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": 4,
19+
"iteration": 1589141097815,
20+
"links": [],
21+
"panels": [
22+
{
23+
"aliasColors": {},
24+
"bars": false,
25+
"dashLength": 10,
26+
"dashes": false,
27+
"datasource": "$datasource",
28+
"fill": 1,
29+
"fillGradient": 0,
30+
"gridPos": {
31+
"h": 8,
32+
"w": 12,
33+
"x": 0,
34+
"y": 0
35+
},
36+
"hiddenSeries": false,
37+
"id": 4,
38+
"legend": {
39+
"avg": false,
40+
"current": false,
41+
"max": false,
42+
"min": false,
43+
"show": true,
44+
"total": false,
45+
"values": false
46+
},
47+
"lines": true,
48+
"linewidth": 1,
49+
"nullPointMode": "null",
50+
"options": {
51+
"dataLinks": []
52+
},
53+
"percentage": false,
54+
"pointradius": 2,
55+
"points": false,
56+
"renderer": "flot",
57+
"seriesOverrides": [],
58+
"spaceLength": 10,
59+
"stack": false,
60+
"steppedLine": false,
61+
"targets": [
62+
{
63+
"expr": "sum(increase(argocd_notifications_trigger_eval_total[$interval])) by (notifier)",
64+
"refId": "A"
65+
}
66+
],
67+
"thresholds": [],
68+
"timeFrom": null,
69+
"timeRegions": [],
70+
"timeShift": null,
71+
"title": "Trigger Evaluations",
72+
"tooltip": {
73+
"shared": true,
74+
"sort": 0,
75+
"value_type": "individual"
76+
},
77+
"type": "graph",
78+
"xaxis": {
79+
"buckets": null,
80+
"mode": "time",
81+
"name": null,
82+
"show": true,
83+
"values": []
84+
},
85+
"yaxes": [
86+
{
87+
"format": "short",
88+
"label": null,
89+
"logBase": 1,
90+
"max": null,
91+
"min": null,
92+
"show": true
93+
},
94+
{
95+
"format": "short",
96+
"label": null,
97+
"logBase": 1,
98+
"max": null,
99+
"min": null,
100+
"show": true
101+
}
102+
],
103+
"yaxis": {
104+
"align": false,
105+
"alignLevel": null
106+
}
107+
},
108+
{
109+
"aliasColors": {},
110+
"bars": false,
111+
"dashLength": 10,
112+
"dashes": false,
113+
"datasource": "$datasource",
114+
"fill": 1,
115+
"fillGradient": 0,
116+
"gridPos": {
117+
"h": 8,
118+
"w": 12,
119+
"x": 12,
120+
"y": 0
121+
},
122+
"hiddenSeries": false,
123+
"id": 2,
124+
"legend": {
125+
"avg": false,
126+
"current": false,
127+
"max": false,
128+
"min": false,
129+
"show": true,
130+
"total": false,
131+
"values": false
132+
},
133+
"lines": true,
134+
"linewidth": 1,
135+
"nullPointMode": "null",
136+
"options": {
137+
"dataLinks": []
138+
},
139+
"percentage": false,
140+
"pointradius": 2,
141+
"points": false,
142+
"renderer": "flot",
143+
"seriesOverrides": [],
144+
"spaceLength": 10,
145+
"stack": false,
146+
"steppedLine": false,
147+
"targets": [
148+
{
149+
"expr": "sum(increase(argocd_notifications_deliveries_total[$interval])) by (notifier)",
150+
"refId": "A"
151+
}
152+
],
153+
"thresholds": [],
154+
"timeFrom": null,
155+
"timeRegions": [],
156+
"timeShift": null,
157+
"title": "Notification deliveries",
158+
"tooltip": {
159+
"shared": true,
160+
"sort": 0,
161+
"value_type": "individual"
162+
},
163+
"type": "graph",
164+
"xaxis": {
165+
"buckets": null,
166+
"mode": "time",
167+
"name": null,
168+
"show": true,
169+
"values": []
170+
},
171+
"yaxes": [
172+
{
173+
"format": "short",
174+
"label": null,
175+
"logBase": 1,
176+
"max": null,
177+
"min": null,
178+
"show": true
179+
},
180+
{
181+
"format": "short",
182+
"label": null,
183+
"logBase": 1,
184+
"max": null,
185+
"min": null,
186+
"show": true
187+
}
188+
],
189+
"yaxis": {
190+
"align": false,
191+
"alignLevel": null
192+
}
193+
}
194+
],
195+
"schemaVersion": 21,
196+
"style": "dark",
197+
"tags": [],
198+
"templating": {
199+
"list": [
200+
{
201+
"current": {
202+
"text": "Prometheus",
203+
"value": "Prometheus"
204+
},
205+
"hide": 0,
206+
"includeAll": false,
207+
"label": null,
208+
"multi": false,
209+
"name": "datasource",
210+
"options": [],
211+
"query": "prometheus",
212+
"refresh": 1,
213+
"regex": "",
214+
"skipUrlSync": false,
215+
"type": "datasource"
216+
},
217+
{
218+
"auto": true,
219+
"auto_count": 30,
220+
"auto_min": "10s",
221+
"current": {
222+
"selected": false,
223+
"text": "1m",
224+
"value": "1m"
225+
},
226+
"hide": 0,
227+
"label": null,
228+
"name": "interval",
229+
"options": [
230+
{
231+
"selected": false,
232+
"text": "auto",
233+
"value": "$__auto_interval_interval"
234+
},
235+
{
236+
"selected": true,
237+
"text": "1m",
238+
"value": "1m"
239+
},
240+
{
241+
"selected": false,
242+
"text": "5m",
243+
"value": "5m"
244+
},
245+
{
246+
"selected": false,
247+
"text": "10m",
248+
"value": "10m"
249+
},
250+
{
251+
"selected": false,
252+
"text": "30m",
253+
"value": "30m"
254+
},
255+
{
256+
"selected": false,
257+
"text": "1h",
258+
"value": "1h"
259+
},
260+
{
261+
"selected": false,
262+
"text": "2h",
263+
"value": "2h"
264+
},
265+
{
266+
"selected": false,
267+
"text": "4h",
268+
"value": "4h"
269+
},
270+
{
271+
"selected": false,
272+
"text": "8h",
273+
"value": "8h"
274+
}
275+
],
276+
"query": "1m,5m,10m,30m,1h,2h,4h,8h",
277+
"refresh": 2,
278+
"skipUrlSync": false,
279+
"type": "interval"
280+
}
281+
]
282+
},
283+
"time": {
284+
"from": "now-15m",
285+
"to": "now"
286+
},
287+
"timepicker": {
288+
"refresh_intervals": [
289+
"5s",
290+
"10s",
291+
"30s",
292+
"1m",
293+
"5m",
294+
"15m",
295+
"30m",
296+
"1h",
297+
"2h",
298+
"1d"
299+
]
300+
},
301+
"timezone": "",
302+
"title": "Argo CD Notifications",
303+
"uid": "3qXvXigMz",
304+
"version": 1
305+
}

monitoring/kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ configMapGenerator:
1616
files:
1717
# From https://github.com/argoproj/argo-cd/blob/master/examples/dashboard.json
1818
- files/grafana-dashboard-argocd.json
19+
# From https://argoproj-labs.github.io/argocd-notifications/grafana-dashboard.json
20+
- files/grafana-dashboard-argocd-notifications.json
1921
- name: grafana-dashboard-cilium
2022
options:
2123
disableNameSuffixHash: true

0 commit comments

Comments
 (0)