panel_tests_bar_gauge.json 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829
  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": 6,
  24. "x": 0,
  25. "y": 0
  26. },
  27. "id": 6,
  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": "celsius"
  38. },
  39. "mappings": [],
  40. "override": {},
  41. "thresholds": [
  42. {
  43. "color": "blue",
  44. "index": 0,
  45. "value": null
  46. },
  47. {
  48. "color": "green",
  49. "index": 1,
  50. "value": 20
  51. },
  52. {
  53. "color": "orange",
  54. "index": 2,
  55. "value": 40
  56. },
  57. {
  58. "color": "red",
  59. "index": 3,
  60. "value": 80
  61. }
  62. ],
  63. "values": false
  64. },
  65. "orientation": "horizontal"
  66. },
  67. "pluginVersion": "6.2.0-pre",
  68. "targets": [
  69. {
  70. "alias": "Inside",
  71. "refId": "H",
  72. "scenarioId": "csv_metric_values",
  73. "stringInput": "100,100,100"
  74. },
  75. {
  76. "alias": "Outhouse",
  77. "refId": "A",
  78. "scenarioId": "random_walk"
  79. },
  80. {
  81. "refId": "F",
  82. "scenarioId": "random_walk"
  83. }
  84. ],
  85. "timeFrom": null,
  86. "timeShift": null,
  87. "title": "Title above bar",
  88. "type": "bargauge"
  89. },
  90. {
  91. "gridPos": {
  92. "h": 7,
  93. "w": 5,
  94. "x": 6,
  95. "y": 0
  96. },
  97. "id": 12,
  98. "links": [],
  99. "options": {
  100. "displayMode": "gradient",
  101. "fieldOptions": {
  102. "calcs": ["mean"],
  103. "defaults": {
  104. "decimals": null,
  105. "max": 100,
  106. "min": 0,
  107. "unit": "celsius"
  108. },
  109. "mappings": [],
  110. "override": {},
  111. "thresholds": [
  112. {
  113. "color": "blue",
  114. "index": 0,
  115. "value": null
  116. },
  117. {
  118. "color": "green",
  119. "index": 1,
  120. "value": 20
  121. },
  122. {
  123. "color": "orange",
  124. "index": 2,
  125. "value": 40
  126. },
  127. {
  128. "color": "red",
  129. "index": 3,
  130. "value": 80
  131. }
  132. ],
  133. "values": false
  134. },
  135. "orientation": "horizontal"
  136. },
  137. "pluginVersion": "6.2.0-pre",
  138. "targets": [
  139. {
  140. "alias": "Inside",
  141. "refId": "H",
  142. "scenarioId": "csv_metric_values",
  143. "stringInput": "100,100,100"
  144. },
  145. {
  146. "alias": "Outhouse",
  147. "refId": "A",
  148. "scenarioId": "random_walk"
  149. },
  150. {
  151. "refId": "F",
  152. "scenarioId": "random_walk"
  153. },
  154. {
  155. "refId": "B",
  156. "scenarioId": "random_walk"
  157. },
  158. {
  159. "refId": "C",
  160. "scenarioId": "random_walk"
  161. }
  162. ],
  163. "timeFrom": null,
  164. "timeShift": null,
  165. "title": "Title to left of bar",
  166. "type": "bargauge"
  167. },
  168. {
  169. "gridPos": {
  170. "h": 7,
  171. "w": 7,
  172. "x": 11,
  173. "y": 0
  174. },
  175. "id": 13,
  176. "links": [],
  177. "options": {
  178. "displayMode": "basic",
  179. "fieldOptions": {
  180. "calcs": ["mean"],
  181. "defaults": {
  182. "decimals": null,
  183. "max": 100,
  184. "min": 0,
  185. "unit": "celsius"
  186. },
  187. "mappings": [],
  188. "override": {},
  189. "thresholds": [
  190. {
  191. "color": "blue",
  192. "index": 0,
  193. "value": null
  194. },
  195. {
  196. "color": "green",
  197. "index": 1,
  198. "value": 20
  199. },
  200. {
  201. "color": "orange",
  202. "index": 2,
  203. "value": 40
  204. },
  205. {
  206. "color": "red",
  207. "index": 3,
  208. "value": 80
  209. }
  210. ],
  211. "values": false
  212. },
  213. "orientation": "horizontal"
  214. },
  215. "pluginVersion": "6.2.0-pre",
  216. "targets": [
  217. {
  218. "alias": "Inside",
  219. "refId": "H",
  220. "scenarioId": "csv_metric_values",
  221. "stringInput": "100,100,100"
  222. },
  223. {
  224. "alias": "Outhouse",
  225. "refId": "A",
  226. "scenarioId": "random_walk"
  227. },
  228. {
  229. "refId": "F",
  230. "scenarioId": "random_walk"
  231. },
  232. {
  233. "refId": "B",
  234. "scenarioId": "random_walk"
  235. },
  236. {
  237. "refId": "C",
  238. "scenarioId": "random_walk"
  239. }
  240. ],
  241. "timeFrom": null,
  242. "timeShift": null,
  243. "title": "Basic mode",
  244. "type": "bargauge"
  245. },
  246. {
  247. "gridPos": {
  248. "h": 7,
  249. "w": 6,
  250. "x": 18,
  251. "y": 0
  252. },
  253. "id": 14,
  254. "links": [],
  255. "options": {
  256. "displayMode": "lcd",
  257. "fieldOptions": {
  258. "calcs": ["mean"],
  259. "defaults": {
  260. "decimals": null,
  261. "max": 100,
  262. "min": 0,
  263. "unit": "celsius"
  264. },
  265. "mappings": [],
  266. "override": {},
  267. "thresholds": [
  268. {
  269. "color": "blue",
  270. "index": 0,
  271. "value": null
  272. },
  273. {
  274. "color": "green",
  275. "index": 1,
  276. "value": 20
  277. },
  278. {
  279. "color": "orange",
  280. "index": 2,
  281. "value": 40
  282. },
  283. {
  284. "color": "red",
  285. "index": 3,
  286. "value": 80
  287. }
  288. ],
  289. "values": false
  290. },
  291. "orientation": "horizontal"
  292. },
  293. "pluginVersion": "6.2.0-pre",
  294. "targets": [
  295. {
  296. "alias": "Inside",
  297. "refId": "H",
  298. "scenarioId": "csv_metric_values",
  299. "stringInput": "100,100,100"
  300. },
  301. {
  302. "alias": "Outhouse",
  303. "refId": "A",
  304. "scenarioId": "random_walk"
  305. },
  306. {
  307. "refId": "F",
  308. "scenarioId": "random_walk"
  309. },
  310. {
  311. "refId": "B",
  312. "scenarioId": "random_walk"
  313. },
  314. {
  315. "refId": "C",
  316. "scenarioId": "random_walk"
  317. }
  318. ],
  319. "timeFrom": null,
  320. "timeShift": null,
  321. "title": "LED",
  322. "type": "bargauge"
  323. },
  324. {
  325. "gridPos": {
  326. "h": 9,
  327. "w": 11,
  328. "x": 0,
  329. "y": 7
  330. },
  331. "id": 7,
  332. "links": [],
  333. "options": {
  334. "displayMode": "lcd",
  335. "fieldOptions": {
  336. "calcs": ["mean"],
  337. "defaults": {
  338. "decimals": null,
  339. "max": 100,
  340. "min": 0,
  341. "unit": "watt"
  342. },
  343. "mappings": [],
  344. "override": {},
  345. "thresholds": [
  346. {
  347. "color": "green",
  348. "index": 0,
  349. "value": null
  350. },
  351. {
  352. "color": "orange",
  353. "index": 1,
  354. "value": 40
  355. },
  356. {
  357. "color": "red",
  358. "index": 2,
  359. "value": 80
  360. }
  361. ],
  362. "values": false
  363. },
  364. "orientation": "vertical"
  365. },
  366. "pluginVersion": "6.2.0-pre",
  367. "targets": [
  368. {
  369. "refId": "E",
  370. "scenarioId": "csv_metric_values",
  371. "stringInput": "10003,33333"
  372. },
  373. {
  374. "refId": "F",
  375. "scenarioId": "random_walk"
  376. },
  377. {
  378. "refId": "G",
  379. "scenarioId": "random_walk"
  380. },
  381. {
  382. "refId": "H",
  383. "scenarioId": "csv_metric_values",
  384. "stringInput": "100,100,100"
  385. },
  386. {
  387. "refId": "I",
  388. "scenarioId": "random_walk"
  389. },
  390. {
  391. "refId": "J",
  392. "scenarioId": "random_walk"
  393. },
  394. {
  395. "refId": "K",
  396. "scenarioId": "random_walk"
  397. },
  398. {
  399. "refId": "L",
  400. "scenarioId": "random_walk"
  401. },
  402. {
  403. "refId": "M",
  404. "scenarioId": "random_walk"
  405. },
  406. {
  407. "refId": "N",
  408. "scenarioId": "random_walk"
  409. },
  410. {
  411. "refId": "O",
  412. "scenarioId": "random_walk"
  413. },
  414. {
  415. "refId": "P",
  416. "scenarioId": "random_walk"
  417. },
  418. {
  419. "refId": "Q",
  420. "scenarioId": "random_walk"
  421. }
  422. ],
  423. "timeFrom": null,
  424. "timeShift": null,
  425. "title": "LED Vertical",
  426. "type": "bargauge"
  427. },
  428. {
  429. "gridPos": {
  430. "h": 9,
  431. "w": 13,
  432. "x": 11,
  433. "y": 7
  434. },
  435. "id": 8,
  436. "links": [],
  437. "options": {
  438. "displayMode": "basic",
  439. "fieldOptions": {
  440. "calcs": ["mean"],
  441. "defaults": {
  442. "decimals": null,
  443. "max": 100,
  444. "min": 0,
  445. "unit": "watt"
  446. },
  447. "mappings": [],
  448. "override": {},
  449. "thresholds": [
  450. {
  451. "color": "green",
  452. "index": 0,
  453. "value": null
  454. },
  455. {
  456. "color": "purple",
  457. "index": 1,
  458. "value": 50
  459. },
  460. {
  461. "color": "blue",
  462. "index": 2,
  463. "value": 70
  464. }
  465. ],
  466. "values": false
  467. },
  468. "orientation": "vertical"
  469. },
  470. "pluginVersion": "6.2.0-pre",
  471. "targets": [
  472. {
  473. "refId": "H",
  474. "scenarioId": "csv_metric_values",
  475. "stringInput": "100,100,100"
  476. },
  477. {
  478. "refId": "A",
  479. "scenarioId": "random_walk"
  480. },
  481. {
  482. "refId": "B",
  483. "scenarioId": "random_walk"
  484. },
  485. {
  486. "refId": "C",
  487. "scenarioId": "random_walk"
  488. },
  489. {
  490. "refId": "D",
  491. "scenarioId": "random_walk"
  492. },
  493. {
  494. "refId": "I",
  495. "scenarioId": "random_walk"
  496. },
  497. {
  498. "refId": "J",
  499. "scenarioId": "random_walk"
  500. },
  501. {
  502. "refId": "K",
  503. "scenarioId": "random_walk"
  504. },
  505. {
  506. "refId": "L",
  507. "scenarioId": "random_walk"
  508. },
  509. {
  510. "refId": "M",
  511. "scenarioId": "random_walk"
  512. },
  513. {
  514. "refId": "N",
  515. "scenarioId": "random_walk"
  516. },
  517. {
  518. "refId": "O",
  519. "scenarioId": "random_walk"
  520. },
  521. {
  522. "refId": "P",
  523. "scenarioId": "random_walk"
  524. },
  525. {
  526. "refId": "Q",
  527. "scenarioId": "random_walk"
  528. }
  529. ],
  530. "timeFrom": null,
  531. "timeShift": null,
  532. "title": "Basic vertical ",
  533. "type": "bargauge"
  534. },
  535. {
  536. "gridPos": {
  537. "h": 7,
  538. "w": 11,
  539. "x": 0,
  540. "y": 16
  541. },
  542. "id": 16,
  543. "links": [],
  544. "options": {
  545. "displayMode": "lcd",
  546. "fieldOptions": {
  547. "calcs": ["last"],
  548. "defaults": {
  549. "max": 100,
  550. "min": 0
  551. },
  552. "mappings": [],
  553. "override": {},
  554. "thresholds": [
  555. {
  556. "color": "green",
  557. "index": 0,
  558. "value": null
  559. },
  560. {
  561. "color": "blue",
  562. "index": 1,
  563. "value": 40
  564. },
  565. {
  566. "color": "red",
  567. "index": 2,
  568. "value": 80
  569. }
  570. ],
  571. "values": false
  572. },
  573. "orientation": "horizontal"
  574. },
  575. "pluginVersion": "6.3.0-pre",
  576. "targets": [
  577. {
  578. "refId": "A",
  579. "scenarioId": "csv_metric_values",
  580. "stringInput": "1,20,90,30,5,0,-100"
  581. }
  582. ],
  583. "timeFrom": null,
  584. "timeShift": null,
  585. "title": "Negative value below min",
  586. "type": "bargauge"
  587. },
  588. {
  589. "gridPos": {
  590. "h": 7,
  591. "w": 3,
  592. "x": 11,
  593. "y": 16
  594. },
  595. "id": 17,
  596. "links": [],
  597. "options": {
  598. "displayMode": "lcd",
  599. "fieldOptions": {
  600. "calcs": ["last"],
  601. "defaults": {
  602. "max": 100,
  603. "min": 0
  604. },
  605. "mappings": [],
  606. "override": {},
  607. "thresholds": [
  608. {
  609. "color": "green",
  610. "index": 0,
  611. "value": null
  612. },
  613. {
  614. "color": "blue",
  615. "index": 1,
  616. "value": 40
  617. },
  618. {
  619. "color": "red",
  620. "index": 2,
  621. "value": 80
  622. }
  623. ],
  624. "values": false
  625. },
  626. "orientation": "vertical"
  627. },
  628. "pluginVersion": "6.3.0-pre",
  629. "targets": [
  630. {
  631. "refId": "A",
  632. "scenarioId": "csv_metric_values",
  633. "stringInput": "1,20,90,30,5,0,-100"
  634. }
  635. ],
  636. "timeFrom": null,
  637. "timeShift": null,
  638. "title": "Negative value below min",
  639. "type": "bargauge"
  640. },
  641. {
  642. "gridPos": {
  643. "h": 7,
  644. "w": 3,
  645. "x": 14,
  646. "y": 16
  647. },
  648. "id": 18,
  649. "links": [],
  650. "options": {
  651. "displayMode": "lcd",
  652. "fieldOptions": {
  653. "calcs": ["last"],
  654. "defaults": {
  655. "max": 100,
  656. "min": -10
  657. },
  658. "mappings": [],
  659. "override": {},
  660. "thresholds": [
  661. {
  662. "color": "green",
  663. "index": 0,
  664. "value": null
  665. },
  666. {
  667. "color": "blue",
  668. "index": 1,
  669. "value": 40
  670. },
  671. {
  672. "color": "red",
  673. "index": 2,
  674. "value": 80
  675. }
  676. ],
  677. "values": false
  678. },
  679. "orientation": "vertical"
  680. },
  681. "pluginVersion": "6.3.0-pre",
  682. "targets": [
  683. {
  684. "refId": "A",
  685. "scenarioId": "csv_metric_values",
  686. "stringInput": "1,20,90,30,5,6"
  687. }
  688. ],
  689. "timeFrom": null,
  690. "timeShift": null,
  691. "title": "Positive value above min",
  692. "type": "bargauge"
  693. },
  694. {
  695. "gridPos": {
  696. "h": 7,
  697. "w": 3,
  698. "x": 17,
  699. "y": 16
  700. },
  701. "id": 19,
  702. "links": [],
  703. "options": {
  704. "displayMode": "lcd",
  705. "fieldOptions": {
  706. "calcs": ["last"],
  707. "defaults": {
  708. "max": 35,
  709. "min": -20
  710. },
  711. "mappings": [],
  712. "override": {},
  713. "thresholds": [
  714. {
  715. "color": "blue",
  716. "index": 0,
  717. "value": null
  718. },
  719. {
  720. "color": "green",
  721. "index": 1,
  722. "value": 5
  723. },
  724. {
  725. "color": "#EAB839",
  726. "index": 2,
  727. "value": 25
  728. },
  729. {
  730. "color": "red",
  731. "index": 3,
  732. "value": 30
  733. }
  734. ],
  735. "values": false
  736. },
  737. "orientation": "vertical"
  738. },
  739. "pluginVersion": "6.3.0-pre",
  740. "targets": [
  741. {
  742. "refId": "A",
  743. "scenarioId": "csv_metric_values",
  744. "stringInput": "1,20,90,30,5,6"
  745. }
  746. ],
  747. "timeFrom": null,
  748. "timeShift": null,
  749. "title": "Negative min ",
  750. "type": "bargauge"
  751. },
  752. {
  753. "gridPos": {
  754. "h": 7,
  755. "w": 4,
  756. "x": 20,
  757. "y": 16
  758. },
  759. "id": 20,
  760. "links": [],
  761. "options": {
  762. "displayMode": "gradient",
  763. "fieldOptions": {
  764. "calcs": ["last"],
  765. "defaults": {
  766. "max": 35,
  767. "min": -20
  768. },
  769. "mappings": [],
  770. "override": {},
  771. "thresholds": [
  772. {
  773. "color": "blue",
  774. "index": 0,
  775. "value": null
  776. },
  777. {
  778. "color": "green",
  779. "index": 1,
  780. "value": 5
  781. },
  782. {
  783. "color": "#EAB839",
  784. "index": 2,
  785. "value": 25
  786. },
  787. {
  788. "color": "red",
  789. "index": 3,
  790. "value": 30
  791. }
  792. ],
  793. "values": false
  794. },
  795. "orientation": "vertical"
  796. },
  797. "pluginVersion": "6.3.0-pre",
  798. "targets": [
  799. {
  800. "refId": "A",
  801. "scenarioId": "csv_metric_values",
  802. "stringInput": "30,30"
  803. }
  804. ],
  805. "timeFrom": null,
  806. "timeShift": null,
  807. "title": "Negative min",
  808. "type": "bargauge"
  809. }
  810. ],
  811. "schemaVersion": 18,
  812. "style": "dark",
  813. "tags": ["gdev", "panel-tests"],
  814. "templating": {
  815. "list": []
  816. },
  817. "time": {
  818. "from": "now-6h",
  819. "to": "now"
  820. },
  821. "timepicker": {
  822. "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"],
  823. "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"]
  824. },
  825. "timezone": "",
  826. "title": "Panel Tests - Bar Gauge",
  827. "uid": "O6f11TZWk",
  828. "version": 12
  829. }