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