gradient_demo.json 7.9 KB

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