- commit
- 2ff9e99
- parent
- 9326342
- author
- Antonio Mika
- date
- 2022-08-09 13:31:44 +0000 UTC
Added wish dashboard
1 files changed,
+270,
-0
1@@ -0,0 +1,270 @@
2+{
3+ "annotations": {
4+ "list": [
5+ {
6+ "builtIn": 1,
7+ "datasource": {
8+ "type": "grafana",
9+ "uid": "-- Grafana --"
10+ },
11+ "enable": true,
12+ "hide": true,
13+ "iconColor": "rgba(0, 211, 255, 1)",
14+ "name": "Annotations & Alerts",
15+ "target": {
16+ "limit": 100,
17+ "matchAny": false,
18+ "tags": [],
19+ "type": "dashboard"
20+ },
21+ "type": "dashboard"
22+ }
23+ ]
24+ },
25+ "editable": true,
26+ "fiscalYearStartMonth": 0,
27+ "graphTooltip": 0,
28+ "id": 8,
29+ "links": [],
30+ "liveNow": false,
31+ "panels": [
32+ {
33+ "datasource": {
34+ "type": "prometheus",
35+ "uid": "PBFA97CFB590B2093"
36+ },
37+ "fieldConfig": {
38+ "defaults": {
39+ "color": {
40+ "mode": "palette-classic"
41+ },
42+ "custom": {
43+ "axisLabel": "",
44+ "axisPlacement": "auto",
45+ "barAlignment": 0,
46+ "drawStyle": "line",
47+ "fillOpacity": 0,
48+ "gradientMode": "none",
49+ "hideFrom": {
50+ "legend": false,
51+ "tooltip": false,
52+ "viz": false
53+ },
54+ "lineInterpolation": "linear",
55+ "lineWidth": 1,
56+ "pointSize": 5,
57+ "scaleDistribution": {
58+ "type": "linear"
59+ },
60+ "showPoints": "auto",
61+ "spanNulls": false,
62+ "stacking": {
63+ "group": "A",
64+ "mode": "none"
65+ },
66+ "thresholdsStyle": {
67+ "mode": "off"
68+ }
69+ },
70+ "mappings": [],
71+ "thresholds": {
72+ "mode": "absolute",
73+ "steps": [
74+ {
75+ "color": "green",
76+ "value": null
77+ },
78+ {
79+ "color": "red",
80+ "value": 80
81+ }
82+ ]
83+ }
84+ },
85+ "overrides": []
86+ },
87+ "gridPos": {
88+ "h": 21,
89+ "w": 12,
90+ "x": 0,
91+ "y": 0
92+ },
93+ "id": 2,
94+ "options": {
95+ "legend": {
96+ "calcs": [
97+ "min",
98+ "max",
99+ "mean"
100+ ],
101+ "displayMode": "table",
102+ "placement": "bottom",
103+ "sortBy": "Mean",
104+ "sortDesc": true
105+ },
106+ "tooltip": {
107+ "mode": "multi",
108+ "sort": "none"
109+ }
110+ },
111+ "targets": [
112+ {
113+ "datasource": {
114+ "type": "prometheus",
115+ "uid": "PBFA97CFB590B2093"
116+ },
117+ "editorMode": "code",
118+ "expr": "ceil(increase(wish_sessions_created_total{app=~\"$app\"}[30m]))",
119+ "legendFormat": "{{app}}",
120+ "range": true,
121+ "refId": "A"
122+ }
123+ ],
124+ "title": "Number of Sessions Over 30 Minutes",
125+ "type": "timeseries"
126+ },
127+ {
128+ "datasource": {
129+ "type": "prometheus",
130+ "uid": "PBFA97CFB590B2093"
131+ },
132+ "fieldConfig": {
133+ "defaults": {
134+ "color": {
135+ "mode": "palette-classic"
136+ },
137+ "custom": {
138+ "axisLabel": "",
139+ "axisPlacement": "auto",
140+ "barAlignment": 0,
141+ "drawStyle": "line",
142+ "fillOpacity": 0,
143+ "gradientMode": "none",
144+ "hideFrom": {
145+ "legend": false,
146+ "tooltip": false,
147+ "viz": false
148+ },
149+ "lineInterpolation": "linear",
150+ "lineWidth": 1,
151+ "pointSize": 5,
152+ "scaleDistribution": {
153+ "type": "linear"
154+ },
155+ "showPoints": "auto",
156+ "spanNulls": false,
157+ "stacking": {
158+ "group": "A",
159+ "mode": "none"
160+ },
161+ "thresholdsStyle": {
162+ "mode": "off"
163+ }
164+ },
165+ "mappings": [],
166+ "thresholds": {
167+ "mode": "absolute",
168+ "steps": [
169+ {
170+ "color": "green",
171+ "value": null
172+ },
173+ {
174+ "color": "red",
175+ "value": 80
176+ }
177+ ]
178+ }
179+ },
180+ "overrides": []
181+ },
182+ "gridPos": {
183+ "h": 21,
184+ "w": 12,
185+ "x": 12,
186+ "y": 0
187+ },
188+ "id": 3,
189+ "options": {
190+ "legend": {
191+ "calcs": [
192+ "min",
193+ "max",
194+ "mean"
195+ ],
196+ "displayMode": "table",
197+ "placement": "bottom",
198+ "sortBy": "Mean",
199+ "sortDesc": true
200+ },
201+ "tooltip": {
202+ "mode": "multi",
203+ "sort": "none"
204+ }
205+ },
206+ "targets": [
207+ {
208+ "datasource": {
209+ "type": "prometheus",
210+ "uid": "PBFA97CFB590B2093"
211+ },
212+ "editorMode": "code",
213+ "expr": "ceil(rate(wish_sessions_duration_seconds{app=~\"$app\"}[30m]))",
214+ "legendFormat": "{{app}}",
215+ "range": true,
216+ "refId": "A"
217+ }
218+ ],
219+ "title": "Sessions Duration Over 30 Minutes",
220+ "type": "timeseries"
221+ }
222+ ],
223+ "schemaVersion": 36,
224+ "style": "dark",
225+ "tags": [],
226+ "templating": {
227+ "list": [
228+ {
229+ "current": {
230+ "selected": false,
231+ "text": [
232+ "All"
233+ ],
234+ "value": [
235+ "$__all"
236+ ]
237+ },
238+ "datasource": {
239+ "type": "prometheus",
240+ "uid": "PBFA97CFB590B2093"
241+ },
242+ "definition": "label_values(wish_sessions_created_total, app)",
243+ "hide": 0,
244+ "includeAll": true,
245+ "label": "App",
246+ "multi": true,
247+ "name": "app",
248+ "options": [],
249+ "query": {
250+ "query": "label_values(wish_sessions_created_total, app)",
251+ "refId": "StandardVariableQuery"
252+ },
253+ "refresh": 2,
254+ "regex": "",
255+ "skipUrlSync": false,
256+ "sort": 0,
257+ "type": "query"
258+ }
259+ ]
260+ },
261+ "time": {
262+ "from": "now-24h",
263+ "to": "now"
264+ },
265+ "timepicker": {},
266+ "timezone": "",
267+ "title": "Wish Apps",
268+ "uid": "pEqjGGm4k",
269+ "version": 3,
270+ "weekStart": ""
271+}