graph_tests.json 36 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651
  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. "aliasColors": {},
  22. "bars": false,
  23. "dashLength": 10,
  24. "dashes": false,
  25. "datasource": "gdev-testdata",
  26. "editable": true,
  27. "error": false,
  28. "fill": 1,
  29. "gridPos": {
  30. "h": 7,
  31. "w": 8,
  32. "x": 0,
  33. "y": 0
  34. },
  35. "id": 1,
  36. "legend": {
  37. "avg": false,
  38. "current": false,
  39. "max": false,
  40. "min": false,
  41. "show": true,
  42. "total": false,
  43. "values": false
  44. },
  45. "lines": true,
  46. "linewidth": 2,
  47. "links": [],
  48. "nullPointMode": "connected",
  49. "percentage": false,
  50. "pointradius": 5,
  51. "points": false,
  52. "renderer": "flot",
  53. "seriesOverrides": [],
  54. "spaceLength": 10,
  55. "stack": false,
  56. "steppedLine": false,
  57. "targets": [
  58. {
  59. "refId": "A",
  60. "scenario": "random_walk",
  61. "scenarioId": "no_data_points",
  62. "target": ""
  63. }
  64. ],
  65. "thresholds": [],
  66. "timeFrom": null,
  67. "timeShift": null,
  68. "title": "No Data Points Warning",
  69. "tooltip": {
  70. "msResolution": false,
  71. "shared": true,
  72. "sort": 0,
  73. "value_type": "cumulative"
  74. },
  75. "type": "graph",
  76. "xaxis": {
  77. "buckets": null,
  78. "mode": "time",
  79. "name": null,
  80. "show": true,
  81. "values": []
  82. },
  83. "yaxes": [
  84. {
  85. "format": "short",
  86. "label": null,
  87. "logBase": 1,
  88. "max": null,
  89. "min": null,
  90. "show": true
  91. },
  92. {
  93. "format": "short",
  94. "label": null,
  95. "logBase": 1,
  96. "max": null,
  97. "min": null,
  98. "show": true
  99. }
  100. ],
  101. "yaxis": {
  102. "align": false,
  103. "alignLevel": null
  104. }
  105. },
  106. {
  107. "aliasColors": {},
  108. "bars": false,
  109. "dashLength": 10,
  110. "dashes": false,
  111. "datasource": "gdev-testdata",
  112. "editable": true,
  113. "error": false,
  114. "fill": 1,
  115. "gridPos": {
  116. "h": 7,
  117. "w": 8,
  118. "x": 8,
  119. "y": 0
  120. },
  121. "id": 2,
  122. "legend": {
  123. "avg": false,
  124. "current": false,
  125. "max": false,
  126. "min": false,
  127. "show": true,
  128. "total": false,
  129. "values": false
  130. },
  131. "lines": true,
  132. "linewidth": 2,
  133. "links": [],
  134. "nullPointMode": "connected",
  135. "percentage": false,
  136. "pointradius": 5,
  137. "points": false,
  138. "renderer": "flot",
  139. "seriesOverrides": [],
  140. "spaceLength": 10,
  141. "stack": false,
  142. "steppedLine": false,
  143. "targets": [
  144. {
  145. "refId": "A",
  146. "scenario": "random_walk",
  147. "scenarioId": "datapoints_outside_range",
  148. "target": ""
  149. }
  150. ],
  151. "thresholds": [],
  152. "timeFrom": null,
  153. "timeShift": null,
  154. "title": "Datapoints Outside Range Warning",
  155. "tooltip": {
  156. "msResolution": false,
  157. "shared": true,
  158. "sort": 0,
  159. "value_type": "cumulative"
  160. },
  161. "type": "graph",
  162. "xaxis": {
  163. "buckets": null,
  164. "mode": "time",
  165. "name": null,
  166. "show": true,
  167. "values": []
  168. },
  169. "yaxes": [
  170. {
  171. "format": "short",
  172. "label": null,
  173. "logBase": 1,
  174. "max": null,
  175. "min": null,
  176. "show": true
  177. },
  178. {
  179. "format": "short",
  180. "label": null,
  181. "logBase": 1,
  182. "max": null,
  183. "min": null,
  184. "show": true
  185. }
  186. ],
  187. "yaxis": {
  188. "align": false,
  189. "alignLevel": null
  190. }
  191. },
  192. {
  193. "aliasColors": {},
  194. "bars": false,
  195. "dashLength": 10,
  196. "dashes": false,
  197. "datasource": "gdev-testdata",
  198. "editable": true,
  199. "error": false,
  200. "fill": 1,
  201. "gridPos": {
  202. "h": 7,
  203. "w": 8,
  204. "x": 16,
  205. "y": 0
  206. },
  207. "id": 3,
  208. "legend": {
  209. "avg": false,
  210. "current": false,
  211. "max": false,
  212. "min": false,
  213. "show": true,
  214. "total": false,
  215. "values": false
  216. },
  217. "lines": true,
  218. "linewidth": 2,
  219. "links": [],
  220. "nullPointMode": "connected",
  221. "percentage": false,
  222. "pointradius": 5,
  223. "points": false,
  224. "renderer": "flot",
  225. "seriesOverrides": [],
  226. "spaceLength": 10,
  227. "stack": false,
  228. "steppedLine": false,
  229. "targets": [
  230. {
  231. "refId": "A",
  232. "scenario": "random_walk",
  233. "scenarioId": "random_walk",
  234. "target": ""
  235. }
  236. ],
  237. "thresholds": [],
  238. "timeFrom": null,
  239. "timeShift": null,
  240. "title": "Random walk series",
  241. "tooltip": {
  242. "msResolution": false,
  243. "shared": true,
  244. "sort": 0,
  245. "value_type": "cumulative"
  246. },
  247. "type": "graph",
  248. "xaxis": {
  249. "buckets": null,
  250. "mode": "time",
  251. "name": null,
  252. "show": true,
  253. "values": []
  254. },
  255. "yaxes": [
  256. {
  257. "format": "short",
  258. "label": null,
  259. "logBase": 1,
  260. "max": null,
  261. "min": null,
  262. "show": true
  263. },
  264. {
  265. "format": "short",
  266. "label": null,
  267. "logBase": 1,
  268. "max": null,
  269. "min": null,
  270. "show": true
  271. }
  272. ],
  273. "yaxis": {
  274. "align": false,
  275. "alignLevel": null
  276. }
  277. },
  278. {
  279. "aliasColors": {},
  280. "bars": false,
  281. "dashLength": 10,
  282. "dashes": false,
  283. "datasource": "gdev-testdata",
  284. "editable": true,
  285. "error": false,
  286. "fill": 1,
  287. "gridPos": {
  288. "h": 7,
  289. "w": 16,
  290. "x": 0,
  291. "y": 7
  292. },
  293. "id": 4,
  294. "legend": {
  295. "avg": false,
  296. "current": false,
  297. "max": false,
  298. "min": false,
  299. "show": true,
  300. "total": false,
  301. "values": false
  302. },
  303. "lines": true,
  304. "linewidth": 2,
  305. "links": [],
  306. "nullPointMode": "connected",
  307. "percentage": false,
  308. "pointradius": 5,
  309. "points": false,
  310. "renderer": "flot",
  311. "seriesOverrides": [],
  312. "spaceLength": 10,
  313. "stack": false,
  314. "steppedLine": false,
  315. "targets": [
  316. {
  317. "refId": "A",
  318. "scenario": "random_walk",
  319. "scenarioId": "random_walk",
  320. "target": ""
  321. }
  322. ],
  323. "thresholds": [],
  324. "timeFrom": "2s",
  325. "timeShift": null,
  326. "title": "Millisecond res x-axis and tooltip",
  327. "tooltip": {
  328. "msResolution": false,
  329. "shared": true,
  330. "sort": 0,
  331. "value_type": "cumulative"
  332. },
  333. "type": "graph",
  334. "xaxis": {
  335. "buckets": null,
  336. "mode": "time",
  337. "name": null,
  338. "show": true,
  339. "values": []
  340. },
  341. "yaxes": [
  342. {
  343. "format": "short",
  344. "label": null,
  345. "logBase": 1,
  346. "max": null,
  347. "min": null,
  348. "show": true
  349. },
  350. {
  351. "format": "short",
  352. "label": null,
  353. "logBase": 1,
  354. "max": null,
  355. "min": null,
  356. "show": true
  357. }
  358. ],
  359. "yaxis": {
  360. "align": false,
  361. "alignLevel": null
  362. }
  363. },
  364. {
  365. "content": "Just verify that the tooltip time has millisecond resolution ",
  366. "editable": true,
  367. "error": false,
  368. "gridPos": {
  369. "h": 7,
  370. "w": 8,
  371. "x": 16,
  372. "y": 7
  373. },
  374. "id": 6,
  375. "links": [],
  376. "mode": "markdown",
  377. "title": "",
  378. "type": "text"
  379. },
  380. {
  381. "aliasColors": {},
  382. "bars": false,
  383. "dashLength": 10,
  384. "dashes": false,
  385. "datasource": "gdev-testdata",
  386. "editable": true,
  387. "error": false,
  388. "fill": 1,
  389. "gridPos": {
  390. "h": 9,
  391. "w": 16,
  392. "x": 0,
  393. "y": 14
  394. },
  395. "id": 5,
  396. "legend": {
  397. "avg": false,
  398. "current": false,
  399. "max": false,
  400. "min": false,
  401. "show": true,
  402. "total": false,
  403. "values": false
  404. },
  405. "lines": true,
  406. "linewidth": 2,
  407. "links": [],
  408. "nullPointMode": "connected",
  409. "percentage": false,
  410. "pointradius": 5,
  411. "points": false,
  412. "renderer": "flot",
  413. "seriesOverrides": [
  414. {
  415. "alias": "B-series",
  416. "yaxis": 2
  417. }
  418. ],
  419. "spaceLength": 10,
  420. "stack": false,
  421. "steppedLine": false,
  422. "targets": [
  423. {
  424. "refId": "A",
  425. "scenarioId": "csv_metric_values",
  426. "stringInput": "1,20,90,30,5,0",
  427. "target": ""
  428. },
  429. {
  430. "refId": "B",
  431. "scenarioId": "csv_metric_values",
  432. "stringInput": "2000,3000,4000,1000,3000,10000",
  433. "target": ""
  434. }
  435. ],
  436. "thresholds": [],
  437. "timeFrom": null,
  438. "timeShift": null,
  439. "title": "2 yaxis and axis labels",
  440. "tooltip": {
  441. "msResolution": false,
  442. "shared": true,
  443. "sort": 0,
  444. "value_type": "cumulative"
  445. },
  446. "type": "graph",
  447. "xaxis": {
  448. "buckets": null,
  449. "mode": "time",
  450. "name": null,
  451. "show": true,
  452. "values": []
  453. },
  454. "yaxes": [
  455. {
  456. "format": "percent",
  457. "label": "Perecent",
  458. "logBase": 1,
  459. "max": null,
  460. "min": null,
  461. "show": true
  462. },
  463. {
  464. "format": "short",
  465. "label": "Pressure",
  466. "logBase": 1,
  467. "max": null,
  468. "min": null,
  469. "show": true
  470. }
  471. ],
  472. "yaxis": {
  473. "align": false,
  474. "alignLevel": null
  475. }
  476. },
  477. {
  478. "content": "Verify that axis labels look ok",
  479. "editable": true,
  480. "error": false,
  481. "gridPos": {
  482. "h": 9,
  483. "w": 8,
  484. "x": 16,
  485. "y": 14
  486. },
  487. "id": 7,
  488. "links": [],
  489. "mode": "markdown",
  490. "title": "",
  491. "type": "text"
  492. },
  493. {
  494. "aliasColors": {},
  495. "bars": false,
  496. "dashLength": 10,
  497. "dashes": false,
  498. "datasource": "gdev-testdata",
  499. "editable": true,
  500. "error": false,
  501. "fill": 1,
  502. "gridPos": {
  503. "h": 7,
  504. "w": 8,
  505. "x": 0,
  506. "y": 23
  507. },
  508. "id": 8,
  509. "legend": {
  510. "avg": false,
  511. "current": false,
  512. "max": false,
  513. "min": false,
  514. "show": true,
  515. "total": false,
  516. "values": false
  517. },
  518. "lines": true,
  519. "linewidth": 2,
  520. "links": [],
  521. "nullPointMode": "connected",
  522. "percentage": false,
  523. "pointradius": 5,
  524. "points": false,
  525. "renderer": "flot",
  526. "seriesOverrides": [],
  527. "spaceLength": 10,
  528. "stack": false,
  529. "steppedLine": false,
  530. "targets": [
  531. {
  532. "refId": "B",
  533. "scenarioId": "csv_metric_values",
  534. "stringInput": "1,20,null,null,null,null,null,null,100,10,10,20,30,40,10",
  535. "target": ""
  536. }
  537. ],
  538. "thresholds": [],
  539. "timeFrom": null,
  540. "timeShift": null,
  541. "title": "null value connected",
  542. "tooltip": {
  543. "msResolution": false,
  544. "shared": true,
  545. "sort": 0,
  546. "value_type": "cumulative"
  547. },
  548. "type": "graph",
  549. "xaxis": {
  550. "buckets": null,
  551. "mode": "time",
  552. "name": null,
  553. "show": true,
  554. "values": []
  555. },
  556. "yaxes": [
  557. {
  558. "format": "short",
  559. "label": null,
  560. "logBase": 1,
  561. "max": null,
  562. "min": null,
  563. "show": true
  564. },
  565. {
  566. "format": "short",
  567. "label": null,
  568. "logBase": 1,
  569. "max": null,
  570. "min": null,
  571. "show": true
  572. }
  573. ],
  574. "yaxis": {
  575. "align": false,
  576. "alignLevel": null
  577. }
  578. },
  579. {
  580. "aliasColors": {},
  581. "bars": false,
  582. "dashLength": 10,
  583. "dashes": false,
  584. "datasource": "gdev-testdata",
  585. "editable": true,
  586. "error": false,
  587. "fill": 1,
  588. "gridPos": {
  589. "h": 7,
  590. "w": 8,
  591. "x": 8,
  592. "y": 23
  593. },
  594. "id": 10,
  595. "legend": {
  596. "avg": false,
  597. "current": false,
  598. "max": false,
  599. "min": false,
  600. "show": true,
  601. "total": false,
  602. "values": false
  603. },
  604. "lines": true,
  605. "linewidth": 2,
  606. "links": [],
  607. "nullPointMode": "null as zero",
  608. "percentage": false,
  609. "pointradius": 5,
  610. "points": false,
  611. "renderer": "flot",
  612. "seriesOverrides": [],
  613. "spaceLength": 10,
  614. "stack": false,
  615. "steppedLine": false,
  616. "targets": [
  617. {
  618. "refId": "B",
  619. "scenarioId": "csv_metric_values",
  620. "stringInput": "1,20,null,null,null,null,null,null,100,10,10,20,30,40,10",
  621. "target": ""
  622. }
  623. ],
  624. "thresholds": [],
  625. "timeFrom": null,
  626. "timeShift": null,
  627. "title": "null value null as zero",
  628. "tooltip": {
  629. "msResolution": false,
  630. "shared": true,
  631. "sort": 0,
  632. "value_type": "cumulative"
  633. },
  634. "type": "graph",
  635. "xaxis": {
  636. "buckets": null,
  637. "mode": "time",
  638. "name": null,
  639. "show": true,
  640. "values": []
  641. },
  642. "yaxes": [
  643. {
  644. "format": "short",
  645. "label": null,
  646. "logBase": 1,
  647. "max": null,
  648. "min": null,
  649. "show": true
  650. },
  651. {
  652. "format": "short",
  653. "label": null,
  654. "logBase": 1,
  655. "max": null,
  656. "min": null,
  657. "show": true
  658. }
  659. ],
  660. "yaxis": {
  661. "align": false,
  662. "alignLevel": null
  663. }
  664. },
  665. {
  666. "content": "Should be a long line connecting the null region in the `connected` mode, and in zero it should just be a line with zero value at the null points. ",
  667. "editable": true,
  668. "error": false,
  669. "gridPos": {
  670. "h": 7,
  671. "w": 8,
  672. "x": 16,
  673. "y": 23
  674. },
  675. "id": 13,
  676. "links": [],
  677. "mode": "markdown",
  678. "title": "",
  679. "type": "text"
  680. },
  681. {
  682. "aliasColors": {},
  683. "bars": false,
  684. "dashLength": 10,
  685. "dashes": false,
  686. "datasource": "gdev-testdata",
  687. "editable": true,
  688. "error": false,
  689. "fill": 1,
  690. "gridPos": {
  691. "h": 7,
  692. "w": 16,
  693. "x": 0,
  694. "y": 30
  695. },
  696. "id": 9,
  697. "legend": {
  698. "avg": false,
  699. "current": false,
  700. "max": false,
  701. "min": false,
  702. "show": true,
  703. "total": false,
  704. "values": false
  705. },
  706. "lines": true,
  707. "linewidth": 2,
  708. "links": [],
  709. "nullPointMode": "null",
  710. "percentage": false,
  711. "pointradius": 5,
  712. "points": false,
  713. "renderer": "flot",
  714. "seriesOverrides": [
  715. {
  716. "alias": "B-series",
  717. "zindex": -3
  718. }
  719. ],
  720. "spaceLength": 10,
  721. "stack": true,
  722. "steppedLine": false,
  723. "targets": [
  724. {
  725. "hide": false,
  726. "refId": "B",
  727. "scenarioId": "csv_metric_values",
  728. "stringInput": "1,20,null,null,null,null,null,null,100,10,10,20,30,40,10",
  729. "target": ""
  730. },
  731. {
  732. "alias": "",
  733. "hide": false,
  734. "refId": "A",
  735. "scenarioId": "csv_metric_values",
  736. "stringInput": "1,20,90,30,5,10,20,30,40,40,40,100,10,20,20",
  737. "target": ""
  738. },
  739. {
  740. "alias": "",
  741. "hide": false,
  742. "refId": "C",
  743. "scenarioId": "csv_metric_values",
  744. "stringInput": "1,20,90,30,5,10,20,30,40,40,40,100,10,20,20",
  745. "target": ""
  746. }
  747. ],
  748. "thresholds": [],
  749. "timeFrom": null,
  750. "timeShift": null,
  751. "title": "Stacking value ontop of nulls",
  752. "tooltip": {
  753. "msResolution": false,
  754. "shared": true,
  755. "sort": 0,
  756. "value_type": "cumulative"
  757. },
  758. "type": "graph",
  759. "xaxis": {
  760. "buckets": null,
  761. "mode": "time",
  762. "name": null,
  763. "show": true,
  764. "values": []
  765. },
  766. "yaxes": [
  767. {
  768. "format": "short",
  769. "label": null,
  770. "logBase": 1,
  771. "max": null,
  772. "min": null,
  773. "show": true
  774. },
  775. {
  776. "format": "short",
  777. "label": null,
  778. "logBase": 1,
  779. "max": null,
  780. "min": null,
  781. "show": true
  782. }
  783. ],
  784. "yaxis": {
  785. "align": false,
  786. "alignLevel": null
  787. }
  788. },
  789. {
  790. "content": "Stacking values on top of nulls, should treat the null values as zero. ",
  791. "editable": true,
  792. "error": false,
  793. "gridPos": {
  794. "h": 7,
  795. "w": 8,
  796. "x": 16,
  797. "y": 30
  798. },
  799. "id": 14,
  800. "links": [],
  801. "mode": "markdown",
  802. "title": "",
  803. "type": "text"
  804. },
  805. {
  806. "aliasColors": {},
  807. "bars": false,
  808. "dashLength": 10,
  809. "dashes": false,
  810. "datasource": "gdev-testdata",
  811. "editable": true,
  812. "error": false,
  813. "fill": 1,
  814. "gridPos": {
  815. "h": 7,
  816. "w": 16,
  817. "x": 0,
  818. "y": 37
  819. },
  820. "id": 12,
  821. "legend": {
  822. "avg": false,
  823. "current": false,
  824. "max": false,
  825. "min": false,
  826. "show": true,
  827. "total": false,
  828. "values": false
  829. },
  830. "lines": true,
  831. "linewidth": 2,
  832. "links": [],
  833. "nullPointMode": "null",
  834. "percentage": false,
  835. "pointradius": 5,
  836. "points": false,
  837. "renderer": "flot",
  838. "seriesOverrides": [
  839. {
  840. "alias": "B-series",
  841. "zindex": -3
  842. }
  843. ],
  844. "spaceLength": 10,
  845. "stack": true,
  846. "steppedLine": false,
  847. "targets": [
  848. {
  849. "alias": "",
  850. "hide": false,
  851. "refId": "B",
  852. "scenarioId": "csv_metric_values",
  853. "stringInput": "1,20,40,null,null,null,null,null,null,100,10,10,20,30,40,10",
  854. "target": ""
  855. },
  856. {
  857. "alias": "",
  858. "hide": false,
  859. "refId": "A",
  860. "scenarioId": "csv_metric_values",
  861. "stringInput": "1,20,40,null,null,null,null,null,null,100,10,10,20,30,40,10",
  862. "target": ""
  863. },
  864. {
  865. "alias": "",
  866. "hide": false,
  867. "refId": "C",
  868. "scenarioId": "csv_metric_values",
  869. "stringInput": "1,20,40,null,null,null,null,null,null,100,10,10,20,30,40,10",
  870. "target": ""
  871. }
  872. ],
  873. "thresholds": [],
  874. "timeFrom": null,
  875. "timeShift": null,
  876. "title": "Stacking all series null segment",
  877. "tooltip": {
  878. "msResolution": false,
  879. "shared": true,
  880. "sort": 0,
  881. "value_type": "cumulative"
  882. },
  883. "type": "graph",
  884. "xaxis": {
  885. "buckets": null,
  886. "mode": "time",
  887. "name": null,
  888. "show": true,
  889. "values": []
  890. },
  891. "yaxes": [
  892. {
  893. "format": "short",
  894. "label": null,
  895. "logBase": 1,
  896. "max": null,
  897. "min": null,
  898. "show": true
  899. },
  900. {
  901. "format": "short",
  902. "label": null,
  903. "logBase": 1,
  904. "max": null,
  905. "min": null,
  906. "show": true
  907. }
  908. ],
  909. "yaxis": {
  910. "align": false,
  911. "alignLevel": null
  912. }
  913. },
  914. {
  915. "content": "Stacking when all values are null should leave a gap in the graph",
  916. "editable": true,
  917. "error": false,
  918. "gridPos": {
  919. "h": 7,
  920. "w": 8,
  921. "x": 16,
  922. "y": 37
  923. },
  924. "id": 15,
  925. "links": [],
  926. "mode": "markdown",
  927. "title": "",
  928. "type": "text"
  929. },
  930. {
  931. "aliasColors": {},
  932. "bars": false,
  933. "dashLength": 10,
  934. "dashes": false,
  935. "datasource": "gdev-testdata",
  936. "editable": true,
  937. "error": false,
  938. "fill": 0,
  939. "gridPos": {
  940. "h": 7,
  941. "w": 16,
  942. "x": 0,
  943. "y": 44
  944. },
  945. "id": 21,
  946. "legend": {
  947. "avg": false,
  948. "current": false,
  949. "max": false,
  950. "min": false,
  951. "show": true,
  952. "total": false,
  953. "values": false
  954. },
  955. "lines": true,
  956. "linewidth": 2,
  957. "links": [],
  958. "nullPointMode": "null",
  959. "percentage": false,
  960. "pointradius": 5,
  961. "points": false,
  962. "renderer": "flot",
  963. "seriesOverrides": [
  964. {
  965. "alias": "C-series",
  966. "steppedLine": true
  967. }
  968. ],
  969. "spaceLength": 10,
  970. "stack": false,
  971. "steppedLine": false,
  972. "targets": [
  973. {
  974. "alias": "",
  975. "hide": false,
  976. "refId": "B",
  977. "scenarioId": "csv_metric_values",
  978. "stringInput": "1,null,40,null,90,null,null,100,null,null,100,null,null,80,null",
  979. "target": ""
  980. },
  981. {
  982. "alias": "",
  983. "hide": false,
  984. "refId": "C",
  985. "scenarioId": "csv_metric_values",
  986. "stringInput": "20,null40,null,null,50,null,70,null,100,null,10,null,30,null",
  987. "target": ""
  988. }
  989. ],
  990. "thresholds": [],
  991. "timeFrom": null,
  992. "timeShift": null,
  993. "title": "Null between points",
  994. "tooltip": {
  995. "msResolution": false,
  996. "shared": true,
  997. "sort": 0,
  998. "value_type": "cumulative"
  999. },
  1000. "type": "graph",
  1001. "xaxis": {
  1002. "buckets": null,
  1003. "mode": "time",
  1004. "name": null,
  1005. "show": true,
  1006. "values": []
  1007. },
  1008. "yaxes": [
  1009. {
  1010. "format": "short",
  1011. "label": null,
  1012. "logBase": 1,
  1013. "max": null,
  1014. "min": null,
  1015. "show": true
  1016. },
  1017. {
  1018. "format": "short",
  1019. "label": null,
  1020. "logBase": 1,
  1021. "max": null,
  1022. "min": null,
  1023. "show": true
  1024. }
  1025. ],
  1026. "yaxis": {
  1027. "align": false,
  1028. "alignLevel": null
  1029. }
  1030. },
  1031. {
  1032. "content": "Left is showing null between values for a normal line graph and staircase graph. Orphaned data points should be rendered as points",
  1033. "editable": true,
  1034. "error": false,
  1035. "gridPos": {
  1036. "h": 7,
  1037. "w": 8,
  1038. "x": 16,
  1039. "y": 44
  1040. },
  1041. "id": 22,
  1042. "links": [],
  1043. "mode": "markdown",
  1044. "title": "",
  1045. "type": "text"
  1046. },
  1047. {
  1048. "aliasColors": {},
  1049. "bars": false,
  1050. "dashLength": 10,
  1051. "dashes": false,
  1052. "datasource": "gdev-testdata",
  1053. "decimals": 3,
  1054. "fill": 1,
  1055. "gridPos": {
  1056. "h": 7,
  1057. "w": 24,
  1058. "x": 0,
  1059. "y": 51
  1060. },
  1061. "id": 20,
  1062. "legend": {
  1063. "alignAsTable": true,
  1064. "avg": true,
  1065. "current": true,
  1066. "max": true,
  1067. "min": true,
  1068. "show": true,
  1069. "total": true,
  1070. "values": true
  1071. },
  1072. "lines": true,
  1073. "linewidth": 1,
  1074. "links": [],
  1075. "nullPointMode": "null",
  1076. "percentage": false,
  1077. "pointradius": 5,
  1078. "points": false,
  1079. "renderer": "flot",
  1080. "seriesOverrides": [],
  1081. "spaceLength": 10,
  1082. "stack": false,
  1083. "steppedLine": false,
  1084. "targets": [
  1085. {
  1086. "refId": "A",
  1087. "scenarioId": "csv_metric_values",
  1088. "stringInput": "1,20,90,30,5,0",
  1089. "target": ""
  1090. }
  1091. ],
  1092. "thresholds": [],
  1093. "timeFrom": null,
  1094. "timeShift": null,
  1095. "title": "Legend Table Single Series Should Take Minimum Height",
  1096. "tooltip": {
  1097. "shared": true,
  1098. "sort": 0,
  1099. "value_type": "individual"
  1100. },
  1101. "type": "graph",
  1102. "xaxis": {
  1103. "buckets": null,
  1104. "mode": "time",
  1105. "name": null,
  1106. "show": true,
  1107. "values": []
  1108. },
  1109. "yaxes": [
  1110. {
  1111. "format": "short",
  1112. "label": null,
  1113. "logBase": 1,
  1114. "max": null,
  1115. "min": null,
  1116. "show": true
  1117. },
  1118. {
  1119. "format": "short",
  1120. "label": null,
  1121. "logBase": 1,
  1122. "max": null,
  1123. "min": null,
  1124. "show": true
  1125. }
  1126. ],
  1127. "yaxis": {
  1128. "align": false,
  1129. "alignLevel": null
  1130. }
  1131. },
  1132. {
  1133. "aliasColors": {},
  1134. "bars": false,
  1135. "dashLength": 10,
  1136. "dashes": false,
  1137. "datasource": "gdev-testdata",
  1138. "decimals": 3,
  1139. "fill": 1,
  1140. "gridPos": {
  1141. "h": 7,
  1142. "w": 12,
  1143. "x": 0,
  1144. "y": 58
  1145. },
  1146. "id": 16,
  1147. "legend": {
  1148. "alignAsTable": true,
  1149. "avg": true,
  1150. "current": true,
  1151. "max": true,
  1152. "min": true,
  1153. "show": true,
  1154. "total": true,
  1155. "values": true
  1156. },
  1157. "lines": true,
  1158. "linewidth": 1,
  1159. "links": [],
  1160. "nullPointMode": "null",
  1161. "percentage": false,
  1162. "pointradius": 5,
  1163. "points": false,
  1164. "renderer": "flot",
  1165. "seriesOverrides": [],
  1166. "spaceLength": 10,
  1167. "stack": false,
  1168. "steppedLine": false,
  1169. "targets": [
  1170. {
  1171. "refId": "A",
  1172. "scenarioId": "csv_metric_values",
  1173. "stringInput": "1,20,90,30,5,0",
  1174. "target": ""
  1175. },
  1176. {
  1177. "refId": "B",
  1178. "scenarioId": "csv_metric_values",
  1179. "stringInput": "1,20,90,30,5,0",
  1180. "target": ""
  1181. },
  1182. {
  1183. "refId": "C",
  1184. "scenarioId": "csv_metric_values",
  1185. "stringInput": "1,20,90,30,5,0",
  1186. "target": ""
  1187. },
  1188. {
  1189. "refId": "D",
  1190. "scenarioId": "csv_metric_values",
  1191. "stringInput": "1,20,90,30,5,0",
  1192. "target": ""
  1193. }
  1194. ],
  1195. "thresholds": [],
  1196. "timeFrom": null,
  1197. "timeShift": null,
  1198. "title": "Legend Table No Scroll Visible",
  1199. "tooltip": {
  1200. "shared": true,
  1201. "sort": 0,
  1202. "value_type": "individual"
  1203. },
  1204. "type": "graph",
  1205. "xaxis": {
  1206. "buckets": null,
  1207. "mode": "time",
  1208. "name": null,
  1209. "show": true,
  1210. "values": []
  1211. },
  1212. "yaxes": [
  1213. {
  1214. "format": "short",
  1215. "label": null,
  1216. "logBase": 1,
  1217. "max": null,
  1218. "min": null,
  1219. "show": true
  1220. },
  1221. {
  1222. "format": "short",
  1223. "label": null,
  1224. "logBase": 1,
  1225. "max": null,
  1226. "min": null,
  1227. "show": true
  1228. }
  1229. ],
  1230. "yaxis": {
  1231. "align": false,
  1232. "alignLevel": null
  1233. }
  1234. },
  1235. {
  1236. "aliasColors": {},
  1237. "bars": false,
  1238. "dashLength": 10,
  1239. "dashes": false,
  1240. "datasource": "gdev-testdata",
  1241. "decimals": 3,
  1242. "fill": 1,
  1243. "gridPos": {
  1244. "h": 7,
  1245. "w": 12,
  1246. "x": 12,
  1247. "y": 58
  1248. },
  1249. "id": 17,
  1250. "legend": {
  1251. "alignAsTable": true,
  1252. "avg": true,
  1253. "current": true,
  1254. "max": true,
  1255. "min": true,
  1256. "show": true,
  1257. "total": true,
  1258. "values": true
  1259. },
  1260. "lines": true,
  1261. "linewidth": 1,
  1262. "links": [],
  1263. "nullPointMode": "null",
  1264. "percentage": false,
  1265. "pointradius": 5,
  1266. "points": false,
  1267. "renderer": "flot",
  1268. "seriesOverrides": [],
  1269. "spaceLength": 10,
  1270. "stack": false,
  1271. "steppedLine": false,
  1272. "targets": [
  1273. {
  1274. "refId": "A",
  1275. "scenarioId": "csv_metric_values",
  1276. "stringInput": "1,20,90,30,5,0",
  1277. "target": ""
  1278. },
  1279. {
  1280. "refId": "B",
  1281. "scenarioId": "csv_metric_values",
  1282. "stringInput": "1,20,90,30,5,0",
  1283. "target": ""
  1284. },
  1285. {
  1286. "refId": "C",
  1287. "scenarioId": "csv_metric_values",
  1288. "stringInput": "1,20,90,30,5,0",
  1289. "target": ""
  1290. },
  1291. {
  1292. "refId": "D",
  1293. "scenarioId": "csv_metric_values",
  1294. "stringInput": "1,20,90,30,5,0",
  1295. "target": ""
  1296. },
  1297. {
  1298. "refId": "E",
  1299. "scenarioId": "csv_metric_values",
  1300. "stringInput": "1,20,90,30,5,0",
  1301. "target": ""
  1302. },
  1303. {
  1304. "refId": "F",
  1305. "scenarioId": "csv_metric_values",
  1306. "stringInput": "1,20,90,30,5,0",
  1307. "target": ""
  1308. },
  1309. {
  1310. "refId": "G",
  1311. "scenarioId": "csv_metric_values",
  1312. "stringInput": "1,20,90,30,5,0",
  1313. "target": ""
  1314. },
  1315. {
  1316. "refId": "H",
  1317. "scenarioId": "csv_metric_values",
  1318. "stringInput": "1,20,90,30,5,0",
  1319. "target": ""
  1320. },
  1321. {
  1322. "refId": "I",
  1323. "scenarioId": "csv_metric_values",
  1324. "stringInput": "1,20,90,30,5,0",
  1325. "target": ""
  1326. },
  1327. {
  1328. "refId": "J",
  1329. "scenarioId": "csv_metric_values",
  1330. "stringInput": "1,20,90,30,5,0",
  1331. "target": ""
  1332. }
  1333. ],
  1334. "thresholds": [],
  1335. "timeFrom": null,
  1336. "timeShift": null,
  1337. "title": "Legend Table Should Scroll",
  1338. "tooltip": {
  1339. "shared": true,
  1340. "sort": 0,
  1341. "value_type": "individual"
  1342. },
  1343. "type": "graph",
  1344. "xaxis": {
  1345. "buckets": null,
  1346. "mode": "time",
  1347. "name": null,
  1348. "show": true,
  1349. "values": []
  1350. },
  1351. "yaxes": [
  1352. {
  1353. "format": "short",
  1354. "label": null,
  1355. "logBase": 1,
  1356. "max": null,
  1357. "min": null,
  1358. "show": true
  1359. },
  1360. {
  1361. "format": "short",
  1362. "label": null,
  1363. "logBase": 1,
  1364. "max": null,
  1365. "min": null,
  1366. "show": true
  1367. }
  1368. ],
  1369. "yaxis": {
  1370. "align": false,
  1371. "alignLevel": null
  1372. }
  1373. },
  1374. {
  1375. "aliasColors": {},
  1376. "bars": false,
  1377. "dashLength": 10,
  1378. "dashes": false,
  1379. "datasource": "gdev-testdata",
  1380. "decimals": 3,
  1381. "fill": 1,
  1382. "gridPos": {
  1383. "h": 7,
  1384. "w": 12,
  1385. "x": 0,
  1386. "y": 65
  1387. },
  1388. "id": 18,
  1389. "legend": {
  1390. "alignAsTable": true,
  1391. "avg": true,
  1392. "current": true,
  1393. "max": true,
  1394. "min": true,
  1395. "rightSide": true,
  1396. "show": true,
  1397. "total": true,
  1398. "values": true
  1399. },
  1400. "lines": true,
  1401. "linewidth": 1,
  1402. "links": [],
  1403. "nullPointMode": "null",
  1404. "percentage": false,
  1405. "pointradius": 5,
  1406. "points": false,
  1407. "renderer": "flot",
  1408. "seriesOverrides": [],
  1409. "spaceLength": 10,
  1410. "stack": false,
  1411. "steppedLine": false,
  1412. "targets": [
  1413. {
  1414. "refId": "A",
  1415. "scenarioId": "csv_metric_values",
  1416. "stringInput": "1,20,90,30,5,0",
  1417. "target": ""
  1418. },
  1419. {
  1420. "refId": "B",
  1421. "scenarioId": "csv_metric_values",
  1422. "stringInput": "1,20,90,30,5,0",
  1423. "target": ""
  1424. },
  1425. {
  1426. "refId": "C",
  1427. "scenarioId": "csv_metric_values",
  1428. "stringInput": "1,20,90,30,5,0",
  1429. "target": ""
  1430. },
  1431. {
  1432. "refId": "D",
  1433. "scenarioId": "csv_metric_values",
  1434. "stringInput": "1,20,90,30,5,0",
  1435. "target": ""
  1436. }
  1437. ],
  1438. "thresholds": [],
  1439. "timeFrom": null,
  1440. "timeShift": null,
  1441. "title": "Legend Table No Scroll Visible",
  1442. "tooltip": {
  1443. "shared": true,
  1444. "sort": 0,
  1445. "value_type": "individual"
  1446. },
  1447. "type": "graph",
  1448. "xaxis": {
  1449. "buckets": null,
  1450. "mode": "time",
  1451. "name": null,
  1452. "show": true,
  1453. "values": []
  1454. },
  1455. "yaxes": [
  1456. {
  1457. "format": "short",
  1458. "label": null,
  1459. "logBase": 1,
  1460. "max": null,
  1461. "min": null,
  1462. "show": true
  1463. },
  1464. {
  1465. "format": "short",
  1466. "label": null,
  1467. "logBase": 1,
  1468. "max": null,
  1469. "min": null,
  1470. "show": true
  1471. }
  1472. ],
  1473. "yaxis": {
  1474. "align": false,
  1475. "alignLevel": null
  1476. }
  1477. },
  1478. {
  1479. "aliasColors": {},
  1480. "bars": false,
  1481. "dashLength": 10,
  1482. "dashes": false,
  1483. "datasource": "gdev-testdata",
  1484. "decimals": 3,
  1485. "fill": 1,
  1486. "gridPos": {
  1487. "h": 7,
  1488. "w": 12,
  1489. "x": 12,
  1490. "y": 65
  1491. },
  1492. "id": 19,
  1493. "legend": {
  1494. "alignAsTable": true,
  1495. "avg": true,
  1496. "current": true,
  1497. "max": true,
  1498. "min": true,
  1499. "rightSide": true,
  1500. "show": true,
  1501. "total": true,
  1502. "values": true
  1503. },
  1504. "lines": true,
  1505. "linewidth": 1,
  1506. "links": [],
  1507. "nullPointMode": "null",
  1508. "percentage": false,
  1509. "pointradius": 5,
  1510. "points": false,
  1511. "renderer": "flot",
  1512. "seriesOverrides": [],
  1513. "spaceLength": 10,
  1514. "stack": false,
  1515. "steppedLine": false,
  1516. "targets": [
  1517. {
  1518. "refId": "A",
  1519. "scenarioId": "csv_metric_values",
  1520. "stringInput": "1,20,90,30,5,0",
  1521. "target": ""
  1522. },
  1523. {
  1524. "refId": "B",
  1525. "scenarioId": "csv_metric_values",
  1526. "stringInput": "1,20,90,30,5,0",
  1527. "target": ""
  1528. },
  1529. {
  1530. "refId": "C",
  1531. "scenarioId": "csv_metric_values",
  1532. "stringInput": "1,20,90,30,5,0",
  1533. "target": ""
  1534. },
  1535. {
  1536. "refId": "D",
  1537. "scenarioId": "csv_metric_values",
  1538. "stringInput": "1,20,90,30,5,0",
  1539. "target": ""
  1540. },
  1541. {
  1542. "refId": "E",
  1543. "scenarioId": "csv_metric_values",
  1544. "stringInput": "1,20,90,30,5,0",
  1545. "target": ""
  1546. },
  1547. {
  1548. "refId": "F",
  1549. "scenarioId": "csv_metric_values",
  1550. "stringInput": "1,20,90,30,5,0",
  1551. "target": ""
  1552. },
  1553. {
  1554. "refId": "G",
  1555. "scenarioId": "csv_metric_values",
  1556. "stringInput": "1,20,90,30,5,0",
  1557. "target": ""
  1558. },
  1559. {
  1560. "refId": "H",
  1561. "scenarioId": "csv_metric_values",
  1562. "stringInput": "1,20,90,30,5,0",
  1563. "target": ""
  1564. },
  1565. {
  1566. "refId": "I",
  1567. "scenarioId": "csv_metric_values",
  1568. "stringInput": "1,20,90,30,5,0",
  1569. "target": ""
  1570. },
  1571. {
  1572. "refId": "J",
  1573. "scenarioId": "csv_metric_values",
  1574. "stringInput": "1,20,90,30,5,0",
  1575. "target": ""
  1576. },
  1577. {
  1578. "refId": "K",
  1579. "scenarioId": "csv_metric_values",
  1580. "stringInput": "1,20,90,30,5,0",
  1581. "target": ""
  1582. },
  1583. {
  1584. "refId": "L",
  1585. "scenarioId": "csv_metric_values",
  1586. "stringInput": "1,20,90,30,5,0",
  1587. "target": ""
  1588. }
  1589. ],
  1590. "thresholds": [],
  1591. "timeFrom": null,
  1592. "timeShift": null,
  1593. "title": "Legend Table No Scroll Visible",
  1594. "tooltip": {
  1595. "shared": true,
  1596. "sort": 0,
  1597. "value_type": "individual"
  1598. },
  1599. "type": "graph",
  1600. "xaxis": {
  1601. "buckets": null,
  1602. "mode": "time",
  1603. "name": null,
  1604. "show": true,
  1605. "values": []
  1606. },
  1607. "yaxes": [
  1608. {
  1609. "format": "short",
  1610. "label": null,
  1611. "logBase": 1,
  1612. "max": null,
  1613. "min": null,
  1614. "show": true
  1615. },
  1616. {
  1617. "format": "short",
  1618. "label": null,
  1619. "logBase": 1,
  1620. "max": null,
  1621. "min": null,
  1622. "show": true
  1623. }
  1624. ],
  1625. "yaxis": {
  1626. "align": false,
  1627. "alignLevel": null
  1628. }
  1629. }
  1630. ],
  1631. "refresh": false,
  1632. "revision": 8,
  1633. "schemaVersion": 16,
  1634. "style": "dark",
  1635. "tags": ["gdev", "panel-tests", "graph"],
  1636. "templating": {
  1637. "list": []
  1638. },
  1639. "time": {
  1640. "from": "now-1h",
  1641. "to": "now"
  1642. },
  1643. "timepicker": {
  1644. "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"],
  1645. "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"]
  1646. },
  1647. "timezone": "browser",
  1648. "title": "Panel Tests - Graph",
  1649. "uid": "5SdHCadmz",
  1650. "version": 1
  1651. }