SpiralLayout.json 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. {
  2. "__inputs": [
  3. {
  4. "name": "DS_TELEMETRY-POSTGRES",
  5. "label": "telemetry-postgres",
  6. "description": "",
  7. "type": "datasource",
  8. "pluginId": "postgres",
  9. "pluginName": "PostgreSQL"
  10. }
  11. ],
  12. "__elements": [],
  13. "__requires": [
  14. {
  15. "type": "grafana",
  16. "id": "grafana",
  17. "name": "Grafana",
  18. "version": "8.3.2"
  19. },
  20. {
  21. "type": "panel",
  22. "id": "hpcviz-idvl-hpcc-spiral-layout",
  23. "name": "spiral-layout",
  24. "version": "2.0.0"
  25. },
  26. {
  27. "type": "datasource",
  28. "id": "postgres",
  29. "name": "PostgreSQL",
  30. "version": "1.0.0"
  31. }
  32. ],
  33. "editable": false,
  34. "fiscalYearStartMonth": 0,
  35. "graphTooltip": 0,
  36. "id": null,
  37. "iteration": 1647618408881,
  38. "links": [],
  39. "liveNow": false,
  40. "panels": [
  41. {
  42. "datasource": {
  43. "type": "postgres",
  44. "uid": "telemetry-postgres"
  45. },
  46. "gridPos": {
  47. "h": 17,
  48. "w": 24,
  49. "x": 0,
  50. "y": 0
  51. },
  52. "id": 2,
  53. "options": {
  54. "nodeSize": 5,
  55. "numberOfRing": 5,
  56. "orderType": "rank"
  57. },
  58. "targets": [
  59. {
  60. "datasource": {
  61. "type": "postgres",
  62. "uid": "telemetry-postgres"
  63. },
  64. "format": "time_series",
  65. "group": [],
  66. "metricColumn": "none",
  67. "rawQuery": true,
  68. "rawSql": "SELECT $__timeGroupAlias(\"time\",$__interval),\navg(CAST(value AS decimal)) as \"memory_power\",\nCONCAT('| ',system) AS name\nFROM timeseries_metrics\nWHERE \n$__timeFilter(time) AND \nlabel= 'PowerMetrics TotalMemoryPower' AND \nsystem IN ($ServiceTag)\nGROUP BY\ntime, name\nORDER BY time;",
  69. "refId": "memory_power",
  70. "select": [
  71. [
  72. {
  73. "params": [
  74. "value"
  75. ],
  76. "type": "column"
  77. }
  78. ]
  79. ],
  80. "timeColumn": "time",
  81. "where": [
  82. {
  83. "name": "$__timeFilter",
  84. "params": [],
  85. "type": "macro"
  86. }
  87. ]
  88. },
  89. {
  90. "datasource": {
  91. "type": "postgres",
  92. "uid": "telemetry-postgres"
  93. },
  94. "format": "time_series",
  95. "group": [],
  96. "hide": false,
  97. "metricColumn": "none",
  98. "rawQuery": true,
  99. "rawSql": "SELECT $__timeGroupAlias(\"time\",$__interval),\navg(CAST(value AS decimal)) as \"power_consumption\",\nCONCAT('| ',system) AS name\nFROM timeseries_metrics\nWHERE \n$__timeFilter(time) AND \nlabel= 'PowerMetrics SystemPowerConsumption' AND \nsystem IN ($ServiceTag)\nGROUP BY\ntime, name\nORDER BY time;",
  100. "refId": "power_consumption",
  101. "select": [
  102. [
  103. {
  104. "params": [
  105. "value"
  106. ],
  107. "type": "column"
  108. }
  109. ]
  110. ],
  111. "timeColumn": "time",
  112. "where": [
  113. {
  114. "name": "$__timeFilter",
  115. "params": [],
  116. "type": "macro"
  117. }
  118. ]
  119. },
  120. {
  121. "datasource": {
  122. "type": "postgres",
  123. "uid": "telemetry-postgres"
  124. },
  125. "format": "time_series",
  126. "group": [],
  127. "hide": false,
  128. "metricColumn": "none",
  129. "rawQuery": true,
  130. "rawSql": "SELECT $__timeGroupAlias(\"time\",$__interval),\navg(CAST(value AS decimal)) as \"cpu_power\",\nCONCAT('| ',system) AS name\nFROM timeseries_metrics\nWHERE \n$__timeFilter(time) AND \nlabel= 'PowerMetrics TotalCPUPower' AND \nsystem IN ($ServiceTag)\nGROUP BY\ntime, name\nORDER BY time;",
  131. "refId": "cpu_power",
  132. "select": [
  133. [
  134. {
  135. "params": [
  136. "value"
  137. ],
  138. "type": "column"
  139. }
  140. ]
  141. ],
  142. "timeColumn": "time",
  143. "where": [
  144. {
  145. "name": "$__timeFilter",
  146. "params": [],
  147. "type": "macro"
  148. }
  149. ]
  150. },
  151. {
  152. "datasource": {
  153. "type": "postgres",
  154. "uid": "telemetry-postgres"
  155. },
  156. "format": "time_series",
  157. "group": [],
  158. "hide": false,
  159. "metricColumn": "none",
  160. "rawQuery": true,
  161. "rawSql": "SELECT $__timeGroupAlias(\"time\",$__interval),\navg(CAST(value AS decimal)) as \"cpu1_temp\",\nCONCAT('| ',system) AS name\nFROM timeseries_metrics\nWHERE \n$__timeFilter(time) AND \nlabel= 'CPU1 Temp TemperatureReading' AND \nsystem IN ($ServiceTag)\nGROUP BY\ntime, name\nORDER BY time;",
  162. "refId": "cpu1_temp",
  163. "select": [
  164. [
  165. {
  166. "params": [
  167. "value"
  168. ],
  169. "type": "column"
  170. }
  171. ]
  172. ],
  173. "timeColumn": "time",
  174. "where": [
  175. {
  176. "name": "$__timeFilter",
  177. "params": [],
  178. "type": "macro"
  179. }
  180. ]
  181. },
  182. {
  183. "datasource": {
  184. "type": "postgres",
  185. "uid": "telemetry-postgres"
  186. },
  187. "format": "time_series",
  188. "group": [],
  189. "hide": false,
  190. "metricColumn": "none",
  191. "rawQuery": true,
  192. "rawSql": "SELECT $__timeGroupAlias(\"time\",$__interval),\navg(CAST(value AS decimal)) as \"cpu2_temp\",\nCONCAT('| ',system) AS name\nFROM timeseries_metrics\nWHERE \n$__timeFilter(time) AND \nlabel= 'CPU2 Temp TemperatureReading' AND \nsystem IN ($ServiceTag)\nGROUP BY\ntime, name\nORDER BY time;",
  193. "refId": "cpu2_temp",
  194. "select": [
  195. [
  196. {
  197. "params": [
  198. "value"
  199. ],
  200. "type": "column"
  201. }
  202. ]
  203. ],
  204. "timeColumn": "time",
  205. "where": [
  206. {
  207. "name": "$__timeFilter",
  208. "params": [],
  209. "type": "macro"
  210. }
  211. ]
  212. },
  213. {
  214. "datasource": {
  215. "type": "postgres",
  216. "uid": "telemetry-postgres"
  217. },
  218. "format": "time_series",
  219. "group": [],
  220. "hide": false,
  221. "metricColumn": "none",
  222. "rawQuery": true,
  223. "rawSql": "SELECT $__timeGroupAlias(\"time\",$__interval),\navg(CAST(value AS decimal)) as \"NIC1_temp\",\nCONCAT('| ',system) AS name\nFROM timeseries_metrics\nWHERE \n$__timeFilter(time) AND \nlabel SIMILAR TO '% NIC 1 Port 1 Partition 1 TemperatureReading' AND \nsystem IN ($ServiceTag)\nGROUP BY\ntime, name\nORDER BY time;",
  224. "refId": "nic1_temp",
  225. "select": [
  226. [
  227. {
  228. "params": [
  229. "value"
  230. ],
  231. "type": "column"
  232. }
  233. ]
  234. ],
  235. "timeColumn": "time",
  236. "where": [
  237. {
  238. "name": "$__timeFilter",
  239. "params": [],
  240. "type": "macro"
  241. }
  242. ]
  243. },
  244. {
  245. "datasource": {
  246. "type": "postgres",
  247. "uid": "telemetry-postgres"
  248. },
  249. "format": "time_series",
  250. "group": [],
  251. "hide": false,
  252. "metricColumn": "none",
  253. "rawQuery": true,
  254. "rawSql": "SELECT $__timeGroupAlias(\"time\",$__interval),\navg(CAST(value AS decimal)) as \"Fan1_speed\",\nCONCAT('| ',system) AS name\nFROM timeseries_metrics\nWHERE \n$__timeFilter(time) AND \nlabel= 'Fan 1A RPMReading' AND \nsystem IN ($ServiceTag)\nGROUP BY\ntime, name\nORDER BY time;",
  255. "refId": "fan1_speed",
  256. "select": [
  257. [
  258. {
  259. "params": [
  260. "value"
  261. ],
  262. "type": "column"
  263. }
  264. ]
  265. ],
  266. "timeColumn": "time",
  267. "where": [
  268. {
  269. "name": "$__timeFilter",
  270. "params": [],
  271. "type": "macro"
  272. }
  273. ]
  274. }
  275. ],
  276. "title": "Spiral-Layout",
  277. "type": "hpcviz-idvl-hpcc-spiral-layout"
  278. }
  279. ],
  280. "refresh": "",
  281. "schemaVersion": 33,
  282. "style": "dark",
  283. "tags": [],
  284. "templating": {
  285. "list": [
  286. {
  287. "current": {},
  288. "datasource": {
  289. "type": "postgres",
  290. "uid": "telemetry-postgres"
  291. },
  292. "definition": "SELECT DISTINCT system as __value from timeseries_metrics",
  293. "hide": 0,
  294. "includeAll": true,
  295. "multi": true,
  296. "name": "ServiceTag",
  297. "options": [],
  298. "query": "SELECT DISTINCT system as __value from timeseries_metrics",
  299. "refresh": 1,
  300. "regex": "",
  301. "skipUrlSync": false,
  302. "sort": 1,
  303. "type": "query"
  304. }
  305. ]
  306. },
  307. "time": {
  308. "from": "now-24h",
  309. "to": "now"
  310. },
  311. "timepicker": {},
  312. "timezone": "browser",
  313. "title": "Spiral-Layout",
  314. "uid": "pArBHUtnk",
  315. "version": 4,
  316. "weekStart": ""
  317. }