panel_tests_gauge.json 27 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250
  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. "iteration": 1547810606599,
  19. "links": [],
  20. "panels": [
  21. {
  22. "collapsed": false,
  23. "gridPos": {
  24. "h": 1,
  25. "w": 24,
  26. "x": 0,
  27. "y": 0
  28. },
  29. "id": 11,
  30. "panels": [],
  31. "title": "Value options tests",
  32. "type": "row"
  33. },
  34. {
  35. "datasource": "gdev-testdata",
  36. "gridPos": {
  37. "h": 8,
  38. "w": 5,
  39. "x": 0,
  40. "y": 1
  41. },
  42. "id": 2,
  43. "links": [],
  44. "nullPointMode": "null",
  45. "options-gauge": {
  46. "baseColor": "#299c46",
  47. "decimals": "2",
  48. "maxValue": 100,
  49. "minValue": 0,
  50. "options": {
  51. "baseColor": "#299c46",
  52. "decimals": 0,
  53. "maxValue": 100,
  54. "minValue": 0,
  55. "prefix": "",
  56. "showThresholdLabels": false,
  57. "showThresholdMarkers": true,
  58. "stat": "avg",
  59. "suffix": "",
  60. "thresholds": [],
  61. "unit": "none",
  62. "valueMappings": []
  63. },
  64. "prefix": "",
  65. "showThresholdLabels": false,
  66. "showThresholdMarkers": true,
  67. "stat": "avg",
  68. "suffix": "",
  69. "thresholds": [
  70. {
  71. "color": "#e24d42",
  72. "index": 2,
  73. "value": 90
  74. },
  75. {
  76. "color": "#ef843c",
  77. "index": 1,
  78. "value": 75
  79. },
  80. {
  81. "color": "#7EB26D",
  82. "index": 0,
  83. "value": null
  84. }
  85. ],
  86. "unit": "ms",
  87. "valueMappings": []
  88. },
  89. "targets": [
  90. {
  91. "refId": "A",
  92. "scenarioId": "csv_metric_values",
  93. "stringInput": "1,20,90,30,5,0"
  94. }
  95. ],
  96. "timeFrom": null,
  97. "timeShift": null,
  98. "title": "Average, 2 decimals, ms unit",
  99. "type": "gauge"
  100. },
  101. {
  102. "datasource": "gdev-testdata",
  103. "gridPos": {
  104. "h": 8,
  105. "w": 6,
  106. "x": 5,
  107. "y": 1
  108. },
  109. "id": 5,
  110. "links": [],
  111. "nullPointMode": "null",
  112. "options-gauge": {
  113. "baseColor": "#299c46",
  114. "decimals": "",
  115. "maxValue": 100,
  116. "minValue": 0,
  117. "options": {
  118. "baseColor": "#299c46",
  119. "decimals": 0,
  120. "maxValue": 100,
  121. "minValue": 0,
  122. "prefix": "",
  123. "showThresholdLabels": false,
  124. "showThresholdMarkers": true,
  125. "stat": "avg",
  126. "suffix": "",
  127. "thresholds": [],
  128. "unit": "none",
  129. "valueMappings": []
  130. },
  131. "prefix": "",
  132. "showThresholdLabels": false,
  133. "showThresholdMarkers": true,
  134. "stat": "max",
  135. "suffix": "",
  136. "thresholds": [
  137. {
  138. "color": "#e24d42",
  139. "index": 2,
  140. "value": 90
  141. },
  142. {
  143. "color": "#ef843c",
  144. "index": 1,
  145. "value": 75
  146. },
  147. {
  148. "color": "#7EB26D",
  149. "index": 0,
  150. "value": null
  151. }
  152. ],
  153. "unit": "ms",
  154. "valueMappings": []
  155. },
  156. "targets": [
  157. {
  158. "refId": "A",
  159. "scenarioId": "csv_metric_values",
  160. "stringInput": "1,20,90,30,5,0"
  161. }
  162. ],
  163. "timeFrom": null,
  164. "timeShift": null,
  165. "title": "Max (90 ms), no decimals",
  166. "type": "gauge"
  167. },
  168. {
  169. "datasource": "gdev-testdata",
  170. "gridPos": {
  171. "h": 8,
  172. "w": 5,
  173. "x": 11,
  174. "y": 1
  175. },
  176. "id": 6,
  177. "links": [],
  178. "nullPointMode": "null",
  179. "options-gauge": {
  180. "baseColor": "#299c46",
  181. "decimals": "",
  182. "maxValue": 100,
  183. "minValue": 0,
  184. "options": {
  185. "baseColor": "#299c46",
  186. "decimals": 0,
  187. "maxValue": 100,
  188. "minValue": 0,
  189. "prefix": "",
  190. "showThresholdLabels": false,
  191. "showThresholdMarkers": true,
  192. "stat": "avg",
  193. "suffix": "",
  194. "thresholds": [],
  195. "unit": "none",
  196. "valueMappings": []
  197. },
  198. "prefix": "p",
  199. "showThresholdLabels": false,
  200. "showThresholdMarkers": true,
  201. "stat": "current",
  202. "suffix": "s",
  203. "thresholds": [
  204. {
  205. "color": "#e24d42",
  206. "index": 2,
  207. "value": 90
  208. },
  209. {
  210. "color": "#ef843c",
  211. "index": 1,
  212. "value": 75
  213. },
  214. {
  215. "color": "#7EB26D",
  216. "index": 0,
  217. "value": null
  218. }
  219. ],
  220. "unit": "none",
  221. "valueMappings": []
  222. },
  223. "targets": [
  224. {
  225. "refId": "A",
  226. "scenarioId": "csv_metric_values",
  227. "stringInput": "1,20,90,30,5,10"
  228. }
  229. ],
  230. "timeFrom": null,
  231. "timeShift": null,
  232. "title": "Current (10 ms), no unit, prefix (p), suffix (s)",
  233. "type": "gauge"
  234. },
  235. {
  236. "datasource": "gdev-testdata",
  237. "gridPos": {
  238. "h": 4,
  239. "w": 3,
  240. "x": 16,
  241. "y": 1
  242. },
  243. "id": 16,
  244. "links": [],
  245. "nullPointMode": "null",
  246. "options-gauge": {
  247. "baseColor": "#299c46",
  248. "decimals": "",
  249. "maxValue": 100,
  250. "minValue": 0,
  251. "options": {
  252. "baseColor": "#299c46",
  253. "decimals": 0,
  254. "maxValue": 100,
  255. "minValue": 0,
  256. "prefix": "",
  257. "showThresholdLabels": false,
  258. "showThresholdMarkers": true,
  259. "stat": "avg",
  260. "suffix": "",
  261. "thresholds": [],
  262. "unit": "none",
  263. "valueMappings": []
  264. },
  265. "prefix": "",
  266. "showThresholdLabels": false,
  267. "showThresholdMarkers": true,
  268. "stat": "current",
  269. "suffix": "",
  270. "thresholds": [
  271. {
  272. "color": "#e24d42",
  273. "index": 2,
  274. "value": 90
  275. },
  276. {
  277. "color": "#ef843c",
  278. "index": 1,
  279. "value": 75
  280. },
  281. {
  282. "color": "#7EB26D",
  283. "index": 0,
  284. "value": null
  285. }
  286. ],
  287. "unit": "none",
  288. "valueMappings": []
  289. },
  290. "targets": [
  291. {
  292. "refId": "A",
  293. "scenarioId": "csv_metric_values",
  294. "stringInput": "1,20,90,30,5,10"
  295. }
  296. ],
  297. "timeFrom": null,
  298. "timeShift": null,
  299. "title": "",
  300. "type": "gauge"
  301. },
  302. {
  303. "datasource": "gdev-testdata",
  304. "gridPos": {
  305. "h": 4,
  306. "w": 5,
  307. "x": 19,
  308. "y": 1
  309. },
  310. "id": 18,
  311. "links": [],
  312. "nullPointMode": "null",
  313. "options-gauge": {
  314. "baseColor": "#299c46",
  315. "decimals": "",
  316. "maxValue": 100,
  317. "minValue": 0,
  318. "options": {
  319. "baseColor": "#299c46",
  320. "decimals": 0,
  321. "maxValue": 100,
  322. "minValue": 0,
  323. "prefix": "",
  324. "showThresholdLabels": false,
  325. "showThresholdMarkers": true,
  326. "stat": "avg",
  327. "suffix": "",
  328. "thresholds": [],
  329. "unit": "none",
  330. "valueMappings": []
  331. },
  332. "prefix": "",
  333. "showThresholdLabels": false,
  334. "showThresholdMarkers": true,
  335. "stat": "current",
  336. "suffix": "",
  337. "thresholds": [
  338. {
  339. "color": "#e24d42",
  340. "index": 2,
  341. "value": 90
  342. },
  343. {
  344. "color": "#ef843c",
  345. "index": 1,
  346. "value": 75
  347. },
  348. {
  349. "color": "#7EB26D",
  350. "index": 0,
  351. "value": null
  352. }
  353. ],
  354. "unit": "none",
  355. "valueMappings": []
  356. },
  357. "targets": [
  358. {
  359. "refId": "A",
  360. "scenarioId": "csv_metric_values",
  361. "stringInput": "1,20,90,30,5,10,91"
  362. }
  363. ],
  364. "timeFrom": "1h",
  365. "timeShift": null,
  366. "title": "",
  367. "type": "gauge"
  368. },
  369. {
  370. "datasource": "gdev-testdata",
  371. "gridPos": {
  372. "h": 4,
  373. "w": 3,
  374. "x": 16,
  375. "y": 5
  376. },
  377. "id": 17,
  378. "links": [],
  379. "nullPointMode": "null",
  380. "options-gauge": {
  381. "baseColor": "#299c46",
  382. "decimals": "",
  383. "maxValue": 100,
  384. "minValue": 0,
  385. "options": {
  386. "baseColor": "#299c46",
  387. "decimals": 0,
  388. "maxValue": 100,
  389. "minValue": 0,
  390. "prefix": "",
  391. "showThresholdLabels": false,
  392. "showThresholdMarkers": true,
  393. "stat": "avg",
  394. "suffix": "",
  395. "thresholds": [],
  396. "unit": "none",
  397. "valueMappings": []
  398. },
  399. "prefix": "",
  400. "showThresholdLabels": false,
  401. "showThresholdMarkers": true,
  402. "stat": "current",
  403. "suffix": "",
  404. "thresholds": [
  405. {
  406. "color": "#e24d42",
  407. "index": 2,
  408. "value": 90
  409. },
  410. {
  411. "color": "#ef843c",
  412. "index": 1,
  413. "value": 75
  414. },
  415. {
  416. "color": "#7EB26D",
  417. "index": 0,
  418. "value": null
  419. }
  420. ],
  421. "unit": "none",
  422. "valueMappings": []
  423. },
  424. "targets": [
  425. {
  426. "refId": "A",
  427. "scenarioId": "csv_metric_values",
  428. "stringInput": "1,20,90,30,5,10"
  429. }
  430. ],
  431. "timeFrom": null,
  432. "timeShift": null,
  433. "title": "",
  434. "type": "gauge"
  435. },
  436. {
  437. "datasource": "gdev-testdata",
  438. "gridPos": {
  439. "h": 4,
  440. "w": 5,
  441. "x": 19,
  442. "y": 5
  443. },
  444. "id": 19,
  445. "links": [],
  446. "nullPointMode": "null",
  447. "options-gauge": {
  448. "baseColor": "#299c46",
  449. "decimals": "",
  450. "maxValue": 100,
  451. "minValue": 0,
  452. "options": {
  453. "baseColor": "#299c46",
  454. "decimals": 0,
  455. "maxValue": 100,
  456. "minValue": 0,
  457. "prefix": "",
  458. "showThresholdLabels": false,
  459. "showThresholdMarkers": true,
  460. "stat": "avg",
  461. "suffix": "",
  462. "thresholds": [],
  463. "unit": "none",
  464. "valueMappings": []
  465. },
  466. "prefix": "",
  467. "showThresholdLabels": false,
  468. "showThresholdMarkers": true,
  469. "stat": "current",
  470. "suffix": "",
  471. "thresholds": [
  472. {
  473. "color": "#e24d42",
  474. "index": 2,
  475. "value": 90
  476. },
  477. {
  478. "color": "#ef843c",
  479. "index": 1,
  480. "value": 75
  481. },
  482. {
  483. "color": "#7EB26D",
  484. "index": 0,
  485. "value": null
  486. }
  487. ],
  488. "unit": "none",
  489. "valueMappings": []
  490. },
  491. "targets": [
  492. {
  493. "refId": "A",
  494. "scenarioId": "csv_metric_values",
  495. "stringInput": "1,20,90,30,5,10,81"
  496. }
  497. ],
  498. "timeFrom": null,
  499. "timeShift": null,
  500. "title": "",
  501. "type": "gauge"
  502. },
  503. {
  504. "collapsed": false,
  505. "gridPos": {
  506. "h": 1,
  507. "w": 24,
  508. "x": 0,
  509. "y": 9
  510. },
  511. "id": 15,
  512. "panels": [],
  513. "title": "Value Mappings",
  514. "type": "row"
  515. },
  516. {
  517. "datasource": "gdev-testdata",
  518. "gridPos": {
  519. "h": 8,
  520. "w": 4,
  521. "x": 0,
  522. "y": 10
  523. },
  524. "id": 12,
  525. "links": [],
  526. "nullPointMode": "null",
  527. "options-gauge": {
  528. "baseColor": "#299c46",
  529. "decimals": "",
  530. "maxValue": 100,
  531. "minValue": 0,
  532. "options": {
  533. "baseColor": "#299c46",
  534. "decimals": 0,
  535. "maxValue": 100,
  536. "minValue": 0,
  537. "prefix": "",
  538. "showThresholdLabels": false,
  539. "showThresholdMarkers": true,
  540. "stat": "avg",
  541. "suffix": "",
  542. "thresholds": [],
  543. "unit": "none",
  544. "valueMappings": []
  545. },
  546. "prefix": "",
  547. "showThresholdLabels": false,
  548. "showThresholdMarkers": true,
  549. "stat": "current",
  550. "suffix": "",
  551. "thresholds": [
  552. {
  553. "color": "#e24d42",
  554. "index": 2,
  555. "value": 90
  556. },
  557. {
  558. "color": "#ef843c",
  559. "index": 1,
  560. "value": 75
  561. },
  562. {
  563. "color": "#7EB26D",
  564. "index": 0,
  565. "value": null
  566. }
  567. ],
  568. "unit": "none",
  569. "valueMappings": [
  570. {
  571. "from": "",
  572. "id": 1,
  573. "operator": "",
  574. "text": "TEN",
  575. "to": "",
  576. "type": 1,
  577. "value": "10"
  578. }
  579. ]
  580. },
  581. "targets": [
  582. {
  583. "refId": "A",
  584. "scenarioId": "csv_metric_values",
  585. "stringInput": "1,20,90,30,5,10"
  586. }
  587. ],
  588. "timeFrom": null,
  589. "timeShift": null,
  590. "title": "value mapping 10 -> TEN",
  591. "type": "gauge"
  592. },
  593. {
  594. "datasource": "gdev-testdata",
  595. "description": "should read N/A",
  596. "gridPos": {
  597. "h": 8,
  598. "w": 4,
  599. "x": 4,
  600. "y": 10
  601. },
  602. "id": 13,
  603. "links": [],
  604. "nullPointMode": "null",
  605. "options-gauge": {
  606. "baseColor": "#299c46",
  607. "decimals": "",
  608. "maxValue": 100,
  609. "minValue": 0,
  610. "options": {
  611. "baseColor": "#299c46",
  612. "decimals": 0,
  613. "maxValue": 100,
  614. "minValue": 0,
  615. "prefix": "",
  616. "showThresholdLabels": false,
  617. "showThresholdMarkers": true,
  618. "stat": "avg",
  619. "suffix": "",
  620. "thresholds": [],
  621. "unit": "none",
  622. "valueMappings": []
  623. },
  624. "prefix": "",
  625. "showThresholdLabels": false,
  626. "showThresholdMarkers": true,
  627. "stat": "current",
  628. "suffix": "",
  629. "thresholds": [
  630. {
  631. "color": "#e24d42",
  632. "index": 2,
  633. "value": 90
  634. },
  635. {
  636. "color": "#ef843c",
  637. "index": 1,
  638. "value": 75
  639. },
  640. {
  641. "color": "#7EB26D",
  642. "index": 0,
  643. "value": null
  644. }
  645. ],
  646. "unit": "none",
  647. "valueMappings": [
  648. {
  649. "from": "",
  650. "id": 1,
  651. "operator": "",
  652. "text": "N/A",
  653. "to": "",
  654. "type": 1,
  655. "value": "null"
  656. }
  657. ]
  658. },
  659. "targets": [
  660. {
  661. "refId": "A",
  662. "scenarioId": "csv_metric_values",
  663. "stringInput": "1,20,90,30,5,10,null,null,null,null"
  664. }
  665. ],
  666. "timeFrom": null,
  667. "timeShift": null,
  668. "title": "value mapping null -> N/A",
  669. "type": "gauge"
  670. },
  671. {
  672. "datasource": "gdev-testdata",
  673. "description": "should read N/A",
  674. "gridPos": {
  675. "h": 8,
  676. "w": 6,
  677. "x": 8,
  678. "y": 10
  679. },
  680. "id": 20,
  681. "links": [],
  682. "nullPointMode": "null",
  683. "options-gauge": {
  684. "baseColor": "#299c46",
  685. "decimals": "",
  686. "maxValue": 100,
  687. "minValue": 0,
  688. "options": {
  689. "baseColor": "#299c46",
  690. "decimals": 0,
  691. "maxValue": 100,
  692. "minValue": 0,
  693. "prefix": "",
  694. "showThresholdLabels": false,
  695. "showThresholdMarkers": true,
  696. "stat": "avg",
  697. "suffix": "",
  698. "thresholds": [],
  699. "unit": "none",
  700. "valueMappings": []
  701. },
  702. "prefix": "",
  703. "showThresholdLabels": false,
  704. "showThresholdMarkers": true,
  705. "stat": "current",
  706. "suffix": "",
  707. "thresholds": [
  708. {
  709. "color": "#e24d42",
  710. "index": 2,
  711. "value": 90
  712. },
  713. {
  714. "color": "#ef843c",
  715. "index": 1,
  716. "value": 75
  717. },
  718. {
  719. "color": "#7EB26D",
  720. "index": 0,
  721. "value": null
  722. }
  723. ],
  724. "unit": "none",
  725. "valueMappings": [
  726. {
  727. "from": "0",
  728. "id": 1,
  729. "operator": "",
  730. "text": "OK",
  731. "to": "10",
  732. "type": 2,
  733. "value": "null"
  734. }
  735. ]
  736. },
  737. "targets": [
  738. {
  739. "refId": "A",
  740. "scenarioId": "csv_metric_values",
  741. "stringInput": "1,20,90,30,5,10,null,null,null,null,10"
  742. }
  743. ],
  744. "timeFrom": null,
  745. "timeShift": null,
  746. "title": "value mapping range, 0-10 -> OK, value 10",
  747. "type": "gauge"
  748. },
  749. {
  750. "datasource": "gdev-testdata",
  751. "description": "should read N/A",
  752. "gridPos": {
  753. "h": 8,
  754. "w": 6,
  755. "x": 14,
  756. "y": 10
  757. },
  758. "id": 21,
  759. "links": [],
  760. "nullPointMode": "null",
  761. "options-gauge": {
  762. "baseColor": "#299c46",
  763. "decimals": "",
  764. "maxValue": 100,
  765. "minValue": 0,
  766. "options": {
  767. "baseColor": "#299c46",
  768. "decimals": 0,
  769. "maxValue": 100,
  770. "minValue": 0,
  771. "prefix": "",
  772. "showThresholdLabels": false,
  773. "showThresholdMarkers": true,
  774. "stat": "avg",
  775. "suffix": "",
  776. "thresholds": [],
  777. "unit": "none",
  778. "valueMappings": []
  779. },
  780. "prefix": "",
  781. "showThresholdLabels": false,
  782. "showThresholdMarkers": true,
  783. "stat": "current",
  784. "suffix": "",
  785. "thresholds": [
  786. {
  787. "color": "#e24d42",
  788. "index": 2,
  789. "value": 90
  790. },
  791. {
  792. "color": "#ef843c",
  793. "index": 1,
  794. "value": 75
  795. },
  796. {
  797. "color": "#7EB26D",
  798. "index": 0,
  799. "value": null
  800. }
  801. ],
  802. "unit": "none",
  803. "valueMappings": [
  804. {
  805. "from": "0",
  806. "id": 1,
  807. "operator": "",
  808. "text": "OK",
  809. "to": "90",
  810. "type": 2,
  811. "value": "null"
  812. },
  813. {
  814. "from": "90",
  815. "id": 2,
  816. "operator": "",
  817. "text": "BAD",
  818. "to": "100",
  819. "type": 2,
  820. "value": ""
  821. }
  822. ]
  823. },
  824. "targets": [
  825. {
  826. "refId": "A",
  827. "scenarioId": "csv_metric_values",
  828. "stringInput": "1,20,90,30,5,10,null,null,null,null,10,95"
  829. }
  830. ],
  831. "timeFrom": null,
  832. "timeShift": null,
  833. "title": "value mapping range, 90-100 -> BAD, value 90",
  834. "type": "gauge"
  835. },
  836. {
  837. "collapsed": false,
  838. "gridPos": {
  839. "h": 1,
  840. "w": 24,
  841. "x": 0,
  842. "y": 18
  843. },
  844. "id": 9,
  845. "panels": [],
  846. "title": "Templating & Repeat",
  847. "type": "row"
  848. },
  849. {
  850. "datasource": "gdev-testdata",
  851. "gridPos": {
  852. "h": 8,
  853. "w": 6,
  854. "x": 0,
  855. "y": 19
  856. },
  857. "id": 7,
  858. "links": [],
  859. "nullPointMode": "null",
  860. "options-gauge": {
  861. "baseColor": "#299c46",
  862. "decimals": "2",
  863. "maxValue": 100,
  864. "minValue": 0,
  865. "options": {
  866. "baseColor": "#299c46",
  867. "decimals": 0,
  868. "maxValue": 100,
  869. "minValue": 0,
  870. "prefix": "",
  871. "showThresholdLabels": false,
  872. "showThresholdMarkers": true,
  873. "stat": "avg",
  874. "suffix": "",
  875. "thresholds": [],
  876. "unit": "none",
  877. "valueMappings": []
  878. },
  879. "prefix": "$Servers",
  880. "showThresholdLabels": false,
  881. "showThresholdMarkers": true,
  882. "stat": "avg",
  883. "suffix": "",
  884. "thresholds": [
  885. {
  886. "color": "#e24d42",
  887. "index": 2,
  888. "value": 90
  889. },
  890. {
  891. "color": "#ef843c",
  892. "index": 1,
  893. "value": 75
  894. },
  895. {
  896. "color": "#7EB26D",
  897. "index": 0,
  898. "value": null
  899. }
  900. ],
  901. "unit": "ms",
  902. "valueMappings": []
  903. },
  904. "repeat": "Servers",
  905. "repeatDirection": "h",
  906. "scopedVars": {
  907. "Servers": {
  908. "selected": false,
  909. "text": "server1",
  910. "value": "server1"
  911. }
  912. },
  913. "targets": [
  914. {
  915. "refId": "A",
  916. "scenarioId": "csv_metric_values",
  917. "stringInput": "1,20,90,30,5,0"
  918. }
  919. ],
  920. "timeFrom": null,
  921. "timeShift": null,
  922. "title": "repeat $Servers",
  923. "type": "gauge"
  924. },
  925. {
  926. "datasource": "gdev-testdata",
  927. "gridPos": {
  928. "h": 8,
  929. "w": 6,
  930. "x": 6,
  931. "y": 19
  932. },
  933. "id": 22,
  934. "links": [],
  935. "nullPointMode": "null",
  936. "options-gauge": {
  937. "baseColor": "#299c46",
  938. "decimals": "2",
  939. "maxValue": 100,
  940. "minValue": 0,
  941. "options": {
  942. "baseColor": "#299c46",
  943. "decimals": 0,
  944. "maxValue": 100,
  945. "minValue": 0,
  946. "prefix": "",
  947. "showThresholdLabels": false,
  948. "showThresholdMarkers": true,
  949. "stat": "avg",
  950. "suffix": "",
  951. "thresholds": [],
  952. "unit": "none",
  953. "valueMappings": []
  954. },
  955. "prefix": "$Servers",
  956. "showThresholdLabels": false,
  957. "showThresholdMarkers": true,
  958. "stat": "avg",
  959. "suffix": "",
  960. "thresholds": [
  961. {
  962. "color": "#e24d42",
  963. "index": 2,
  964. "value": 90
  965. },
  966. {
  967. "color": "#ef843c",
  968. "index": 1,
  969. "value": 75
  970. },
  971. {
  972. "color": "#7EB26D",
  973. "index": 0,
  974. "value": null
  975. }
  976. ],
  977. "unit": "ms",
  978. "valueMappings": []
  979. },
  980. "repeat": null,
  981. "repeatDirection": "h",
  982. "repeatIteration": 1547810606599,
  983. "repeatPanelId": 7,
  984. "scopedVars": {
  985. "Servers": {
  986. "selected": false,
  987. "text": "server2",
  988. "value": "server2"
  989. }
  990. },
  991. "targets": [
  992. {
  993. "refId": "A",
  994. "scenarioId": "csv_metric_values",
  995. "stringInput": "1,20,90,30,5,0"
  996. }
  997. ],
  998. "timeFrom": null,
  999. "timeShift": null,
  1000. "title": "repeat $Servers",
  1001. "type": "gauge"
  1002. },
  1003. {
  1004. "datasource": "gdev-testdata",
  1005. "gridPos": {
  1006. "h": 8,
  1007. "w": 6,
  1008. "x": 12,
  1009. "y": 19
  1010. },
  1011. "id": 23,
  1012. "links": [],
  1013. "nullPointMode": "null",
  1014. "options-gauge": {
  1015. "baseColor": "#299c46",
  1016. "decimals": "2",
  1017. "maxValue": 100,
  1018. "minValue": 0,
  1019. "options": {
  1020. "baseColor": "#299c46",
  1021. "decimals": 0,
  1022. "maxValue": 100,
  1023. "minValue": 0,
  1024. "prefix": "",
  1025. "showThresholdLabels": false,
  1026. "showThresholdMarkers": true,
  1027. "stat": "avg",
  1028. "suffix": "",
  1029. "thresholds": [],
  1030. "unit": "none",
  1031. "valueMappings": []
  1032. },
  1033. "prefix": "$Servers",
  1034. "showThresholdLabels": false,
  1035. "showThresholdMarkers": true,
  1036. "stat": "avg",
  1037. "suffix": "",
  1038. "thresholds": [
  1039. {
  1040. "color": "#e24d42",
  1041. "index": 2,
  1042. "value": 90
  1043. },
  1044. {
  1045. "color": "#ef843c",
  1046. "index": 1,
  1047. "value": 75
  1048. },
  1049. {
  1050. "color": "#7EB26D",
  1051. "index": 0,
  1052. "value": null
  1053. }
  1054. ],
  1055. "unit": "ms",
  1056. "valueMappings": []
  1057. },
  1058. "repeat": null,
  1059. "repeatDirection": "h",
  1060. "repeatIteration": 1547810606599,
  1061. "repeatPanelId": 7,
  1062. "scopedVars": {
  1063. "Servers": {
  1064. "selected": false,
  1065. "text": "server3",
  1066. "value": "server3"
  1067. }
  1068. },
  1069. "targets": [
  1070. {
  1071. "refId": "A",
  1072. "scenarioId": "csv_metric_values",
  1073. "stringInput": "1,20,90,30,5,0"
  1074. }
  1075. ],
  1076. "timeFrom": null,
  1077. "timeShift": null,
  1078. "title": "repeat $Servers",
  1079. "type": "gauge"
  1080. },
  1081. {
  1082. "datasource": "gdev-testdata",
  1083. "gridPos": {
  1084. "h": 8,
  1085. "w": 6,
  1086. "x": 18,
  1087. "y": 19
  1088. },
  1089. "id": 24,
  1090. "links": [],
  1091. "nullPointMode": "null",
  1092. "options-gauge": {
  1093. "baseColor": "#299c46",
  1094. "decimals": "2",
  1095. "maxValue": 100,
  1096. "minValue": 0,
  1097. "options": {
  1098. "baseColor": "#299c46",
  1099. "decimals": 0,
  1100. "maxValue": 100,
  1101. "minValue": 0,
  1102. "prefix": "",
  1103. "showThresholdLabels": false,
  1104. "showThresholdMarkers": true,
  1105. "stat": "avg",
  1106. "suffix": "",
  1107. "thresholds": [],
  1108. "unit": "none",
  1109. "valueMappings": []
  1110. },
  1111. "prefix": "$Servers",
  1112. "showThresholdLabels": false,
  1113. "showThresholdMarkers": true,
  1114. "stat": "avg",
  1115. "suffix": "",
  1116. "thresholds": [
  1117. {
  1118. "color": "#e24d42",
  1119. "index": 2,
  1120. "value": 90
  1121. },
  1122. {
  1123. "color": "#ef843c",
  1124. "index": 1,
  1125. "value": 75
  1126. },
  1127. {
  1128. "color": "#7EB26D",
  1129. "index": 0,
  1130. "value": null
  1131. }
  1132. ],
  1133. "unit": "ms",
  1134. "valueMappings": []
  1135. },
  1136. "repeat": null,
  1137. "repeatDirection": "h",
  1138. "repeatIteration": 1547810606599,
  1139. "repeatPanelId": 7,
  1140. "scopedVars": {
  1141. "Servers": {
  1142. "selected": false,
  1143. "text": "server4",
  1144. "value": "server4"
  1145. }
  1146. },
  1147. "targets": [
  1148. {
  1149. "refId": "A",
  1150. "scenarioId": "csv_metric_values",
  1151. "stringInput": "1,20,90,30,5,0"
  1152. }
  1153. ],
  1154. "timeFrom": null,
  1155. "timeShift": null,
  1156. "title": "repeat $Servers",
  1157. "type": "gauge"
  1158. }
  1159. ],
  1160. "refresh": false,
  1161. "schemaVersion": 17,
  1162. "style": "dark",
  1163. "tags": [
  1164. "gdev",
  1165. "panel-tests"
  1166. ],
  1167. "templating": {
  1168. "list": [
  1169. {
  1170. "allValue": null,
  1171. "current": {
  1172. "selected": true,
  1173. "tags": [],
  1174. "text": "All",
  1175. "value": [
  1176. "$__all"
  1177. ]
  1178. },
  1179. "hide": 0,
  1180. "includeAll": true,
  1181. "label": null,
  1182. "multi": true,
  1183. "name": "Servers",
  1184. "options": [
  1185. {
  1186. "selected": true,
  1187. "text": "All",
  1188. "value": "$__all"
  1189. },
  1190. {
  1191. "selected": false,
  1192. "text": "server1",
  1193. "value": "server1"
  1194. },
  1195. {
  1196. "selected": false,
  1197. "text": "server2",
  1198. "value": "server2"
  1199. },
  1200. {
  1201. "selected": false,
  1202. "text": "server3",
  1203. "value": "server3"
  1204. },
  1205. {
  1206. "selected": false,
  1207. "text": "server4",
  1208. "value": "server4"
  1209. }
  1210. ],
  1211. "query": "server1,server2,server3,server4",
  1212. "skipUrlSync": false,
  1213. "type": "custom"
  1214. }
  1215. ]
  1216. },
  1217. "time": {
  1218. "from": "now-1h",
  1219. "to": "now"
  1220. },
  1221. "timepicker": {
  1222. "refresh_intervals": [
  1223. "5s",
  1224. "10s",
  1225. "30s",
  1226. "1m",
  1227. "5m",
  1228. "15m",
  1229. "30m",
  1230. "1h",
  1231. "2h",
  1232. "1d"
  1233. ],
  1234. "time_options": [
  1235. "5m",
  1236. "15m",
  1237. "1h",
  1238. "6h",
  1239. "12h",
  1240. "24h",
  1241. "2d",
  1242. "7d",
  1243. "30d"
  1244. ]
  1245. },
  1246. "timezone": "",
  1247. "title": "Panel Tests - Gauge",
  1248. "uid": "_5rDmaQiz",
  1249. "version": 5
  1250. }