parallel-coordinate.json 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  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-parallel-coordinate",
  23. "name": "parallel-coordinate",
  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": 1647449602865,
  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. "axisDisplay": "left",
  55. "axisTitleAngle": 0,
  56. "colorBy": "node",
  57. "colorContinous": "RdYlBu",
  58. "colorLegend": [
  59. "#1f77b4",
  60. "#ff7f0e",
  61. "#2ca02c",
  62. "#d62728",
  63. "#9467bd",
  64. "#8c564b",
  65. "#e377c2",
  66. "#7f7f7f",
  67. "#bcbd22",
  68. "#17becf"
  69. ],
  70. "lineOpacity": 0.5,
  71. "violinEnable": true,
  72. "violinResolution": 20,
  73. "violinWidth": 20
  74. },
  75. "targets": [
  76. {
  77. "datasource": {
  78. "type": "postgres",
  79. "uid": "telemetry-postgres"
  80. },
  81. "format": "time_series",
  82. "group": [],
  83. "metricColumn": "none",
  84. "rawQuery": true,
  85. "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;",
  86. "refId": "memory_power",
  87. "select": [
  88. [
  89. {
  90. "params": [
  91. "value"
  92. ],
  93. "type": "column"
  94. }
  95. ]
  96. ],
  97. "timeColumn": "time",
  98. "where": [
  99. {
  100. "name": "$__timeFilter",
  101. "params": [],
  102. "type": "macro"
  103. }
  104. ]
  105. },
  106. {
  107. "datasource": {
  108. "type": "postgres",
  109. "uid": "telemetry-postgres"
  110. },
  111. "format": "time_series",
  112. "group": [],
  113. "hide": false,
  114. "metricColumn": "none",
  115. "rawQuery": true,
  116. "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;",
  117. "refId": "power_consumption",
  118. "select": [
  119. [
  120. {
  121. "params": [
  122. "value"
  123. ],
  124. "type": "column"
  125. }
  126. ]
  127. ],
  128. "timeColumn": "time",
  129. "where": [
  130. {
  131. "name": "$__timeFilter",
  132. "params": [],
  133. "type": "macro"
  134. }
  135. ]
  136. },
  137. {
  138. "datasource": {
  139. "type": "postgres",
  140. "uid": "telemetry-postgres"
  141. },
  142. "format": "time_series",
  143. "group": [],
  144. "hide": false,
  145. "metricColumn": "none",
  146. "rawQuery": true,
  147. "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;",
  148. "refId": "cpu_power",
  149. "select": [
  150. [
  151. {
  152. "params": [
  153. "value"
  154. ],
  155. "type": "column"
  156. }
  157. ]
  158. ],
  159. "timeColumn": "time",
  160. "where": [
  161. {
  162. "name": "$__timeFilter",
  163. "params": [],
  164. "type": "macro"
  165. }
  166. ]
  167. },
  168. {
  169. "datasource": {
  170. "type": "postgres",
  171. "uid": "telemetry-postgres"
  172. },
  173. "format": "time_series",
  174. "group": [],
  175. "hide": false,
  176. "metricColumn": "none",
  177. "rawQuery": true,
  178. "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;",
  179. "refId": "cpu1_temp",
  180. "select": [
  181. [
  182. {
  183. "params": [
  184. "value"
  185. ],
  186. "type": "column"
  187. }
  188. ]
  189. ],
  190. "timeColumn": "time",
  191. "where": [
  192. {
  193. "name": "$__timeFilter",
  194. "params": [],
  195. "type": "macro"
  196. }
  197. ]
  198. },
  199. {
  200. "datasource": {
  201. "type": "postgres",
  202. "uid": "telemetry-postgres"
  203. },
  204. "format": "time_series",
  205. "group": [],
  206. "hide": false,
  207. "metricColumn": "none",
  208. "rawQuery": true,
  209. "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;",
  210. "refId": "cpu2_temp",
  211. "select": [
  212. [
  213. {
  214. "params": [
  215. "value"
  216. ],
  217. "type": "column"
  218. }
  219. ]
  220. ],
  221. "timeColumn": "time",
  222. "where": [
  223. {
  224. "name": "$__timeFilter",
  225. "params": [],
  226. "type": "macro"
  227. }
  228. ]
  229. },
  230. {
  231. "datasource": {
  232. "type": "postgres",
  233. "uid": "telemetry-postgres"
  234. },
  235. "format": "time_series",
  236. "group": [],
  237. "hide": false,
  238. "metricColumn": "none",
  239. "rawQuery": true,
  240. "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;",
  241. "refId": "nic1_temp",
  242. "select": [
  243. [
  244. {
  245. "params": [
  246. "value"
  247. ],
  248. "type": "column"
  249. }
  250. ]
  251. ],
  252. "timeColumn": "time",
  253. "where": [
  254. {
  255. "name": "$__timeFilter",
  256. "params": [],
  257. "type": "macro"
  258. }
  259. ]
  260. },
  261. {
  262. "datasource": {
  263. "type": "postgres",
  264. "uid": "telemetry-postgres"
  265. },
  266. "format": "time_series",
  267. "group": [],
  268. "hide": false,
  269. "metricColumn": "none",
  270. "rawQuery": true,
  271. "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;",
  272. "refId": "fan1_speed",
  273. "select": [
  274. [
  275. {
  276. "params": [
  277. "value"
  278. ],
  279. "type": "column"
  280. }
  281. ]
  282. ],
  283. "timeColumn": "time",
  284. "where": [
  285. {
  286. "name": "$__timeFilter",
  287. "params": [],
  288. "type": "macro"
  289. }
  290. ]
  291. }
  292. ],
  293. "title": "Parallel-Coordinate",
  294. "type": "hpcviz-idvl-hpcc-parallel-coordinate"
  295. }
  296. ],
  297. "refresh": "",
  298. "schemaVersion": 33,
  299. "style": "dark",
  300. "tags": [],
  301. "templating": {
  302. "list": [
  303. {
  304. "current": {},
  305. "datasource": {
  306. "type": "postgres",
  307. "uid": "telemetry-postgres"
  308. },
  309. "definition": "SELECT DISTINCT system as __value from timeseries_metrics",
  310. "hide": 0,
  311. "includeAll": true,
  312. "multi": true,
  313. "name": "ServiceTag",
  314. "options": [],
  315. "query": "SELECT DISTINCT system as __value from timeseries_metrics",
  316. "refresh": 1,
  317. "regex": "",
  318. "skipUrlSync": false,
  319. "sort": 1,
  320. "type": "query"
  321. }
  322. ]
  323. },
  324. "time": {
  325. "from": "now-24h",
  326. "to": "now"
  327. },
  328. "timepicker": {},
  329. "timezone": "browser",
  330. "title": "Parallel-Coordinate",
  331. "uid": "pArBHUtvm",
  332. "version": 10,
  333. "weekStart": ""
  334. }