2222 "id" : 2 ,
2323 "links" : [],
2424 "panels" : [
25+ {
26+ "datasource" : {
27+ "type" : " grafana-postgresql-datasource" ,
28+ "uid" : " PCC52D03280B7034C"
29+ },
30+ "fieldConfig" : {
31+ "defaults" : {
32+ "color" : {
33+ "mode" : " thresholds"
34+ },
35+ "mappings" : [],
36+ "thresholds" : {
37+ "mode" : " absolute" ,
38+ "steps" : [
39+ {
40+ "color" : " green" ,
41+ "value" : null
42+ }
43+ ]
44+ }
45+ },
46+ "overrides" : []
47+ },
48+ "gridPos" : {
49+ "h" : 12 ,
50+ "w" : 12 ,
51+ "x" : 0 ,
52+ "y" : 0
53+ },
54+ "id" : 3 ,
55+ "options" : {
56+ "colorMode" : " value" ,
57+ "graphMode" : " area" ,
58+ "justifyMode" : " auto" ,
59+ "orientation" : " auto" ,
60+ "percentChangeColorMode" : " standard" ,
61+ "reduceOptions" : {
62+ "calcs" : [
63+ " lastNotNull"
64+ ],
65+ "fields" : " " ,
66+ "values" : false
67+ },
68+ "showPercentChange" : false ,
69+ "textMode" : " auto" ,
70+ "wideLayout" : true
71+ },
72+ "pluginVersion" : " 11.5.2" ,
73+ "targets" : [
74+ {
75+ "datasource" : {
76+ "type" : " grafana-postgresql-datasource" ,
77+ "uid" : " PCC52D03280B7034C"
78+ },
79+ "editorMode" : " code" ,
80+ "format" : " table" ,
81+ "rawQuery" : true ,
82+ "rawSql" : " SELECT\n COUNT(DISTINCT id)\n FROM\n maevsi_private.account\n WHERE\n last_activity >= NOW() - INTERVAL '30 days';\n " ,
83+ "refId" : " A" ,
84+ "sql" : {
85+ "columns" : [
86+ {
87+ "parameters" : [],
88+ "type" : " function"
89+ }
90+ ],
91+ "groupBy" : [
92+ {
93+ "property" : {
94+ "type" : " string"
95+ },
96+ "type" : " groupBy"
97+ }
98+ ],
99+ "limit" : 50
100+ }
101+ }
102+ ],
103+ "title" : " Monthly active users" ,
104+ "transparent" : true ,
105+ "type" : " stat"
106+ },
25107 {
26108 "datasource" : {
27109 "type" : " grafana-postgresql-datasource" ,
67149 "overrides" : []
68150 },
69151 "gridPos" : {
70- "h" : 8 ,
152+ "h" : 12 ,
71153 "w" : 12 ,
72- "x" : 0 ,
154+ "x" : 12 ,
73155 "y" : 0
74156 },
75157 "id" : 2 ,
88170 "showValue" : " auto" ,
89171 "stacking" : " none" ,
90172 "tooltip" : {
173+ "hideZeros" : false ,
91174 "mode" : " single" ,
92175 "sort" : " none"
93176 },
94- "xTickLabelRotation" : 0 ,
177+ "xTickLabelRotation" : -45 ,
95178 "xTickLabelSpacing" : 0
96179 },
97- "pluginVersion" : " 11.3.1 " ,
180+ "pluginVersion" : " 11.5.2 " ,
98181 "targets" : [
99182 {
100183 "datasource" : {
125208 }
126209 }
127210 ],
128- "title" : " Monthly Active Users" ,
211+ "title" : " Last user activity" ,
212+ "transparent" : true ,
129213 "type" : " barchart"
130214 },
131215 {
185269 "overrides" : []
186270 },
187271 "gridPos" : {
188- "h" : 8 ,
272+ "h" : 9 ,
189273 "w" : 12 ,
190274 "x" : 0 ,
191- "y" : 8
275+ "y" : 12
192276 },
193277 "id" : 1 ,
194278 "options" : {
199283 "showLegend" : false
200284 },
201285 "tooltip" : {
286+ "hideZeros" : false ,
202287 "mode" : " single" ,
203288 "sort" : " none"
204289 }
205290 },
206- "pluginVersion" : " 11.3.1 " ,
291+ "pluginVersion" : " 11.5.2 " ,
207292 "targets" : [
208293 {
209294 "datasource" : {
234319 }
235320 }
236321 ],
237- "title" : " User Count" ,
322+ "title" : " User count" ,
323+ "transparent" : true ,
238324 "type" : " timeseries"
325+ },
326+ {
327+ "datasource" : {
328+ "type" : " grafana-postgresql-datasource" ,
329+ "uid" : " PCC52D03280B7034C"
330+ },
331+ "fieldConfig" : {
332+ "defaults" : {
333+ "color" : {
334+ "mode" : " thresholds"
335+ },
336+ "mappings" : [],
337+ "thresholds" : {
338+ "mode" : " absolute" ,
339+ "steps" : [
340+ {
341+ "color" : " green" ,
342+ "value" : null
343+ }
344+ ]
345+ },
346+ "unit" : " none"
347+ },
348+ "overrides" : []
349+ },
350+ "gridPos" : {
351+ "h" : 9 ,
352+ "w" : 12 ,
353+ "x" : 12 ,
354+ "y" : 12
355+ },
356+ "id" : 4 ,
357+ "options" : {
358+ "colorMode" : " none" ,
359+ "graphMode" : " area" ,
360+ "justifyMode" : " auto" ,
361+ "orientation" : " auto" ,
362+ "percentChangeColorMode" : " standard" ,
363+ "reduceOptions" : {
364+ "calcs" : [
365+ " lastNotNull"
366+ ],
367+ "fields" : " " ,
368+ "values" : false
369+ },
370+ "showPercentChange" : false ,
371+ "textMode" : " auto" ,
372+ "wideLayout" : true
373+ },
374+ "pluginVersion" : " 11.5.2" ,
375+ "targets" : [
376+ {
377+ "datasource" : {
378+ "type" : " grafana-postgresql-datasource" ,
379+ "uid" : " PCC52D03280B7034C"
380+ },
381+ "editorMode" : " code" ,
382+ "format" : " table" ,
383+ "rawQuery" : true ,
384+ "rawSql" : " SELECT\n COUNT(*)\n FROM\n maevsi_private.account;\n " ,
385+ "refId" : " A" ,
386+ "sql" : {
387+ "columns" : [
388+ {
389+ "parameters" : [],
390+ "type" : " function"
391+ }
392+ ],
393+ "groupBy" : [
394+ {
395+ "property" : {
396+ "type" : " string"
397+ },
398+ "type" : " groupBy"
399+ }
400+ ],
401+ "limit" : 50
402+ }
403+ }
404+ ],
405+ "title" : " Accounts" ,
406+ "transparent" : true ,
407+ "type" : " stat"
239408 }
240409 ],
241410 "preload" : false ,
252421 "timezone" : " browser" ,
253422 "title" : " Postgres" ,
254423 "uid" : " de5jb2krazfnkb" ,
255- "version" : 1 ,
424+ "version" : 2 ,
256425 "weekStart" : " "
257426}
0 commit comments