gradient_demo.json 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  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. "name": "Annotations & Alerts",
  11. "type": "dashboard"
  12. }
  13. ]
  14. },
  15. "editable": true,
  16. "gnetId": null,
  17. "graphTooltip": 0,
  18. "links": [],
  19. "panels": [
  20. {
  21. "gridPos": {
  22. "h": 7,
  23. "w": 18,
  24. "x": 0,
  25. "y": 0
  26. },
  27. "id": 7,
  28. "links": [],
  29. "options": {
  30. "displayMode": "gradient",
  31. "maxValue": 100,
  32. "minValue": 0,
  33. "orientation": "vertical",
  34. "thresholds": [
  35. {
  36. "color": "green",
  37. "index": 0,
  38. "value": null
  39. },
  40. {
  41. "color": "orange",
  42. "index": 1,
  43. "value": 40
  44. },
  45. {
  46. "color": "red",
  47. "index": 2,
  48. "value": 80
  49. }
  50. ],
  51. "valueMappings": [],
  52. "valueOptions": {
  53. "decimals": null,
  54. "prefix": "",
  55. "stat": "mean",
  56. "suffix": "",
  57. "unit": "watt"
  58. }
  59. },
  60. "targets": [
  61. {
  62. "refId": "A",
  63. "scenarioId": "random_walk"
  64. },
  65. {
  66. "refId": "B",
  67. "scenarioId": "random_walk"
  68. },
  69. {
  70. "refId": "C",
  71. "scenarioId": "random_walk"
  72. },
  73. {
  74. "refId": "D",
  75. "scenarioId": "random_walk"
  76. },
  77. {
  78. "refId": "E",
  79. "scenarioId": "csv_metric_values",
  80. "stringInput": "10003,33333"
  81. },
  82. {
  83. "refId": "F",
  84. "scenarioId": "random_walk"
  85. },
  86. {
  87. "refId": "G",
  88. "scenarioId": "random_walk"
  89. },
  90. {
  91. "refId": "H",
  92. "scenarioId": "csv_metric_values",
  93. "stringInput": "100,100,100"
  94. },
  95. {
  96. "refId": "I",
  97. "scenarioId": "random_walk"
  98. },
  99. {
  100. "refId": "J",
  101. "scenarioId": "random_walk"
  102. },
  103. {
  104. "refId": "K",
  105. "scenarioId": "random_walk"
  106. },
  107. {
  108. "refId": "L",
  109. "scenarioId": "random_walk"
  110. },
  111. {
  112. "refId": "M",
  113. "scenarioId": "random_walk"
  114. },
  115. {
  116. "refId": "N",
  117. "scenarioId": "random_walk"
  118. },
  119. {
  120. "refId": "O",
  121. "scenarioId": "random_walk"
  122. },
  123. {
  124. "refId": "P",
  125. "scenarioId": "random_walk"
  126. },
  127. {
  128. "refId": "Q",
  129. "scenarioId": "random_walk"
  130. }
  131. ],
  132. "timeFrom": null,
  133. "timeShift": null,
  134. "title": "Usage",
  135. "type": "bargauge"
  136. },
  137. {
  138. "gridPos": {
  139. "h": 20,
  140. "w": 6,
  141. "x": 18,
  142. "y": 0
  143. },
  144. "id": 8,
  145. "links": [],
  146. "options": {
  147. "displayMode": "gradient",
  148. "maxValue": 100,
  149. "minValue": 0,
  150. "orientation": "horizontal",
  151. "thresholds": [
  152. {
  153. "color": "green",
  154. "index": 0,
  155. "value": null
  156. },
  157. {
  158. "color": "orange",
  159. "index": 1,
  160. "value": 65
  161. },
  162. {
  163. "color": "red",
  164. "index": 2,
  165. "value": 95
  166. }
  167. ],
  168. "valueMappings": [],
  169. "valueOptions": {
  170. "decimals": null,
  171. "prefix": "",
  172. "stat": "mean",
  173. "suffix": "",
  174. "unit": "watt"
  175. }
  176. },
  177. "targets": [
  178. {
  179. "refId": "E",
  180. "scenarioId": "random_walk"
  181. },
  182. {
  183. "refId": "H",
  184. "scenarioId": "csv_metric_values",
  185. "stringInput": "100,100,100"
  186. },
  187. {
  188. "refId": "A",
  189. "scenarioId": "random_walk"
  190. },
  191. {
  192. "refId": "B",
  193. "scenarioId": "random_walk"
  194. },
  195. {
  196. "refId": "C",
  197. "scenarioId": "random_walk"
  198. },
  199. {
  200. "refId": "D",
  201. "scenarioId": "random_walk"
  202. },
  203. {
  204. "refId": "I",
  205. "scenarioId": "random_walk"
  206. },
  207. {
  208. "refId": "J",
  209. "scenarioId": "random_walk"
  210. },
  211. {
  212. "refId": "K",
  213. "scenarioId": "random_walk"
  214. },
  215. {
  216. "refId": "L",
  217. "scenarioId": "random_walk"
  218. },
  219. {
  220. "refId": "M",
  221. "scenarioId": "random_walk"
  222. },
  223. {
  224. "refId": "N",
  225. "scenarioId": "random_walk"
  226. },
  227. {
  228. "refId": "O",
  229. "scenarioId": "random_walk"
  230. },
  231. {
  232. "refId": "P",
  233. "scenarioId": "random_walk"
  234. },
  235. {
  236. "refId": "Q",
  237. "scenarioId": "random_walk"
  238. },
  239. {
  240. "refId": "F",
  241. "scenarioId": "random_walk"
  242. },
  243. {
  244. "refId": "G",
  245. "scenarioId": "random_walk"
  246. },
  247. {
  248. "refId": "R",
  249. "scenarioId": "random_walk"
  250. },
  251. {
  252. "refId": "S",
  253. "scenarioId": "random_walk"
  254. }
  255. ],
  256. "timeFrom": null,
  257. "timeShift": null,
  258. "title": "Usage",
  259. "type": "bargauge"
  260. },
  261. {
  262. "gridPos": {
  263. "h": 13,
  264. "w": 18,
  265. "x": 0,
  266. "y": 7
  267. },
  268. "id": 6,
  269. "links": [],
  270. "options": {
  271. "displayMode": "gradient",
  272. "maxValue": 100,
  273. "minValue": 0,
  274. "orientation": "horizontal",
  275. "thresholds": [
  276. {
  277. "color": "blue",
  278. "index": 0,
  279. "value": null
  280. },
  281. {
  282. "color": "green",
  283. "index": 1,
  284. "value": 20
  285. },
  286. {
  287. "color": "orange",
  288. "index": 2,
  289. "value": 40
  290. },
  291. {
  292. "color": "red",
  293. "index": 3,
  294. "value": 80
  295. }
  296. ],
  297. "valueMappings": [],
  298. "valueOptions": {
  299. "decimals": null,
  300. "prefix": "",
  301. "stat": "mean",
  302. "suffix": "",
  303. "unit": "celsius"
  304. }
  305. },
  306. "targets": [
  307. {
  308. "alias": "Inside",
  309. "refId": "H",
  310. "scenarioId": "csv_metric_values",
  311. "stringInput": "100,100,100"
  312. },
  313. {
  314. "alias": "Outhouse",
  315. "refId": "A",
  316. "scenarioId": "random_walk"
  317. },
  318. {
  319. "alias": "Area B",
  320. "refId": "B",
  321. "scenarioId": "random_walk"
  322. },
  323. {
  324. "alias": "Basement",
  325. "refId": "C",
  326. "scenarioId": "random_walk"
  327. },
  328. {
  329. "alias": "Garage",
  330. "refId": "D",
  331. "scenarioId": "random_walk"
  332. },
  333. {
  334. "alias": "Attic",
  335. "refId": "E",
  336. "scenarioId": "random_walk"
  337. },
  338. {
  339. "refId": "F",
  340. "scenarioId": "random_walk"
  341. }
  342. ],
  343. "timeFrom": null,
  344. "timeShift": null,
  345. "title": "Temperature",
  346. "type": "bargauge"
  347. }
  348. ],
  349. "schemaVersion": 18,
  350. "style": "dark",
  351. "tags": ["gdev", "bargauge", "panel-demo"],
  352. "templating": {
  353. "list": []
  354. },
  355. "time": {
  356. "from": "now-6h",
  357. "to": "now"
  358. },
  359. "timepicker": {
  360. "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"],
  361. "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"]
  362. },
  363. "timezone": "",
  364. "title": "Bar Gauge Gradient Demo",
  365. "uid": "RndRQw6mz",
  366. "version": 3
  367. }