hue-home.json 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  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. "limit": 100,
  11. "name": "Annotations & Alerts",
  12. "showIn": 0,
  13. "type": "dashboard"
  14. }
  15. ]
  16. },
  17. "description": "SQL Assistant for Databases & Data Warehouses",
  18. "editable": true,
  19. "gnetId": null,
  20. "graphTooltip": 0,
  21. "id": 25,
  22. "iteration": 1587432655252,
  23. "links": [],
  24. "panels": [
  25. {
  26. "aliasColors": {},
  27. "bars": false,
  28. "dashLength": 10,
  29. "dashes": false,
  30. "datasource": "Prometheus",
  31. "description": "Total user and system CPU time spent in seconds",
  32. "fill": 1,
  33. "fillGradient": 0,
  34. "gridPos": {
  35. "h": 8,
  36. "w": 12,
  37. "x": 0,
  38. "y": 0
  39. },
  40. "hiddenSeries": false,
  41. "id": 6,
  42. "legend": {
  43. "avg": false,
  44. "current": false,
  45. "max": false,
  46. "min": false,
  47. "show": true,
  48. "total": false,
  49. "values": false
  50. },
  51. "lines": true,
  52. "linewidth": 1,
  53. "nullPointMode": "null",
  54. "options": {
  55. "dataLinks": []
  56. },
  57. "percentage": false,
  58. "pointradius": 2,
  59. "points": false,
  60. "renderer": "flot",
  61. "seriesOverrides": [],
  62. "spaceLength": 10,
  63. "stack": false,
  64. "steppedLine": false,
  65. "targets": [
  66. {
  67. "expr": "process_cpu_seconds_total{app=\"huebackend\", namespace=\"$namespace\"}",
  68. "interval": "",
  69. "legendFormat": "",
  70. "refId": "A"
  71. }
  72. ],
  73. "thresholds": [],
  74. "timeFrom": null,
  75. "timeRegions": [],
  76. "timeShift": null,
  77. "title": "CPU Time Total",
  78. "tooltip": {
  79. "shared": true,
  80. "sort": 0,
  81. "value_type": "individual"
  82. },
  83. "type": "graph",
  84. "xaxis": {
  85. "buckets": null,
  86. "mode": "time",
  87. "name": null,
  88. "show": true,
  89. "values": []
  90. },
  91. "yaxes": [
  92. {
  93. "format": "short",
  94. "label": null,
  95. "logBase": 1,
  96. "max": null,
  97. "min": null,
  98. "show": true
  99. },
  100. {
  101. "format": "short",
  102. "label": null,
  103. "logBase": 1,
  104. "max": null,
  105. "min": null,
  106. "show": true
  107. }
  108. ],
  109. "yaxis": {
  110. "align": false,
  111. "alignLevel": null
  112. }
  113. },
  114. {
  115. "aliasColors": {},
  116. "bars": false,
  117. "dashLength": 10,
  118. "dashes": false,
  119. "datasource": "Prometheus",
  120. "description": "Resident memory (Physical memory) size in bytes",
  121. "fill": 2,
  122. "fillGradient": 0,
  123. "gridPos": {
  124. "h": 8,
  125. "w": 12,
  126. "x": 12,
  127. "y": 0
  128. },
  129. "hiddenSeries": false,
  130. "id": 8,
  131. "legend": {
  132. "avg": false,
  133. "current": false,
  134. "max": false,
  135. "min": false,
  136. "show": true,
  137. "total": false,
  138. "values": false
  139. },
  140. "lines": true,
  141. "linewidth": 1,
  142. "nullPointMode": "null",
  143. "options": {
  144. "dataLinks": []
  145. },
  146. "percentage": false,
  147. "pointradius": 2,
  148. "points": false,
  149. "renderer": "flot",
  150. "seriesOverrides": [],
  151. "spaceLength": 10,
  152. "stack": false,
  153. "steppedLine": false,
  154. "targets": [
  155. {
  156. "expr": "process_resident_memory_bytes{app=\"huebackend\", namespace=\"$namespace\"}",
  157. "interval": "",
  158. "legendFormat": "",
  159. "refId": "A"
  160. }
  161. ],
  162. "thresholds": [],
  163. "timeFrom": null,
  164. "timeRegions": [],
  165. "timeShift": null,
  166. "title": "Resident memory size",
  167. "tooltip": {
  168. "shared": true,
  169. "sort": 0,
  170. "value_type": "individual"
  171. },
  172. "type": "graph",
  173. "xaxis": {
  174. "buckets": null,
  175. "mode": "time",
  176. "name": null,
  177. "show": true,
  178. "values": []
  179. },
  180. "yaxes": [
  181. {
  182. "format": "short",
  183. "label": null,
  184. "logBase": 1,
  185. "max": null,
  186. "min": null,
  187. "show": true
  188. },
  189. {
  190. "format": "short",
  191. "label": null,
  192. "logBase": 1,
  193. "max": null,
  194. "min": null,
  195. "show": true
  196. }
  197. ],
  198. "yaxis": {
  199. "align": false,
  200. "alignLevel": null
  201. }
  202. },
  203. {
  204. "aliasColors": {},
  205. "bars": false,
  206. "dashLength": 10,
  207. "dashes": false,
  208. "datasource": "Prometheus",
  209. "description": "Hue active users per instance",
  210. "fill": 1,
  211. "fillGradient": 0,
  212. "gridPos": {
  213. "h": 9,
  214. "w": 12,
  215. "x": 0,
  216. "y": 8
  217. },
  218. "hiddenSeries": false,
  219. "id": 2,
  220. "legend": {
  221. "avg": false,
  222. "current": false,
  223. "max": false,
  224. "min": false,
  225. "show": true,
  226. "total": false,
  227. "values": false
  228. },
  229. "lines": true,
  230. "linewidth": 1,
  231. "nullPointMode": "null",
  232. "options": {
  233. "dataLinks": []
  234. },
  235. "percentage": false,
  236. "pointradius": 2,
  237. "points": false,
  238. "renderer": "flot",
  239. "seriesOverrides": [],
  240. "spaceLength": 10,
  241. "stack": false,
  242. "steppedLine": false,
  243. "targets": [
  244. {
  245. "expr": "hue_local_active_users{app=\"huebackend\", namespace=\"$namespace\"}",
  246. "interval": "",
  247. "legendFormat": "",
  248. "refId": "A"
  249. }
  250. ],
  251. "thresholds": [],
  252. "timeFrom": null,
  253. "timeRegions": [],
  254. "timeShift": null,
  255. "title": "Hue Local Active Users",
  256. "tooltip": {
  257. "shared": true,
  258. "sort": 0,
  259. "value_type": "individual"
  260. },
  261. "type": "graph",
  262. "xaxis": {
  263. "buckets": null,
  264. "mode": "time",
  265. "name": null,
  266. "show": true,
  267. "values": []
  268. },
  269. "yaxes": [
  270. {
  271. "format": "short",
  272. "label": null,
  273. "logBase": 1,
  274. "max": null,
  275. "min": null,
  276. "show": true
  277. },
  278. {
  279. "format": "short",
  280. "label": null,
  281. "logBase": 1,
  282. "max": null,
  283. "min": null,
  284. "show": true
  285. }
  286. ],
  287. "yaxis": {
  288. "align": false,
  289. "alignLevel": null
  290. }
  291. },
  292. {
  293. "aliasColors": {},
  294. "bars": false,
  295. "dashLength": 10,
  296. "dashes": false,
  297. "datasource": "Prometheus",
  298. "description": "Number of queries last 10 minutes",
  299. "fill": 1,
  300. "fillGradient": 0,
  301. "gridPos": {
  302. "h": 8,
  303. "w": 12,
  304. "x": 12,
  305. "y": 8
  306. },
  307. "hiddenSeries": false,
  308. "id": 4,
  309. "legend": {
  310. "avg": false,
  311. "current": false,
  312. "max": false,
  313. "min": false,
  314. "show": true,
  315. "total": false,
  316. "values": false
  317. },
  318. "lines": true,
  319. "linewidth": 1,
  320. "nullPointMode": "null",
  321. "options": {
  322. "dataLinks": []
  323. },
  324. "percentage": false,
  325. "pointradius": 2,
  326. "points": false,
  327. "renderer": "flot",
  328. "seriesOverrides": [],
  329. "spaceLength": 10,
  330. "stack": false,
  331. "steppedLine": false,
  332. "targets": [
  333. {
  334. "expr": "hue_queries_numbers{app=\"huebackend\", namespace=\"$namespace\"}",
  335. "interval": "",
  336. "legendFormat": "",
  337. "refId": "A"
  338. }
  339. ],
  340. "thresholds": [],
  341. "timeFrom": null,
  342. "timeRegions": [],
  343. "timeShift": null,
  344. "title": "Number of Queries",
  345. "tooltip": {
  346. "shared": true,
  347. "sort": 0,
  348. "value_type": "individual"
  349. },
  350. "type": "graph",
  351. "xaxis": {
  352. "buckets": null,
  353. "mode": "time",
  354. "name": null,
  355. "show": true,
  356. "values": []
  357. },
  358. "yaxes": [
  359. {
  360. "format": "short",
  361. "label": null,
  362. "logBase": 1,
  363. "max": null,
  364. "min": null,
  365. "show": true
  366. },
  367. {
  368. "format": "short",
  369. "label": null,
  370. "logBase": 1,
  371. "max": null,
  372. "min": null,
  373. "show": true
  374. }
  375. ],
  376. "yaxis": {
  377. "align": false,
  378. "alignLevel": null
  379. }
  380. }
  381. ],
  382. "schemaVersion": 22,
  383. "style": "dark",
  384. "tags": [
  385. "hue"
  386. ],
  387. "templating": {
  388. "list": [
  389. {
  390. "allValue": null,
  391. "current": {
  392. "selected": true,
  393. "text": "impala-1587427194-5m59",
  394. "value": "impala-1587427194-5m59"
  395. },
  396. "datasource": "Prometheus",
  397. "definition": "label_values(up{namespace=~\"(impala|compute).+\"},namespace)",
  398. "hide": 0,
  399. "includeAll": false,
  400. "index": -1,
  401. "label": "Name Space",
  402. "multi": false,
  403. "name": "namespace",
  404. "options": [],
  405. "query": "label_values(up{namespace=~\"(impala|compute).+\"},namespace)",
  406. "refresh": 2,
  407. "regex": "",
  408. "skipUrlSync": false,
  409. "sort": 0,
  410. "tagValuesQuery": "",
  411. "tags": [],
  412. "tagsQuery": "",
  413. "type": "query",
  414. "useTags": false
  415. }
  416. ]
  417. },
  418. "time": {
  419. "from": "now-6h",
  420. "to": "now"
  421. },
  422. "timepicker": {
  423. "refresh_intervals": [
  424. "5s",
  425. "10s",
  426. "30s",
  427. "1m",
  428. "5m",
  429. "15m",
  430. "30m",
  431. "1h",
  432. "2h",
  433. "1d"
  434. ]
  435. },
  436. "timezone": "",
  437. "title": "Hue - Home",
  438. "uid": "L581Vo3Zk",
  439. "variables": {
  440. "list": []
  441. },
  442. "version": 4
  443. }