dashboard.json 41 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852
  1. {
  2. "__inputs": [
  3. {
  4. "name": "DS_MSSQL_TEST",
  5. "label": "MSSQL Test",
  6. "description": "",
  7. "type": "datasource",
  8. "pluginId": "mssql",
  9. "pluginName": "Microsoft SQL Server"
  10. }
  11. ],
  12. "__requires": [
  13. {
  14. "type": "grafana",
  15. "id": "grafana",
  16. "name": "Grafana",
  17. "version": "5.0.0"
  18. },
  19. {
  20. "type": "panel",
  21. "id": "graph",
  22. "name": "Graph",
  23. "version": "5.0.0"
  24. },
  25. {
  26. "type": "datasource",
  27. "id": "mssql",
  28. "name": "Microsoft SQL Server",
  29. "version": "1.0.0"
  30. },
  31. {
  32. "type": "panel",
  33. "id": "table",
  34. "name": "Table",
  35. "version": "5.0.0"
  36. }
  37. ],
  38. "annotations": {
  39. "list": [
  40. {
  41. "builtIn": 1,
  42. "datasource": "-- Grafana --",
  43. "enable": true,
  44. "hide": true,
  45. "iconColor": "rgba(0, 211, 255, 1)",
  46. "name": "Annotations & Alerts",
  47. "type": "dashboard"
  48. },
  49. {
  50. "datasource": "${DS_MSSQL_TEST}",
  51. "enable": false,
  52. "hide": false,
  53. "iconColor": "#6ed0e0",
  54. "limit": 100,
  55. "name": "Deploys",
  56. "rawQuery": "SELECT\n time_sec as time,\n description as [text],\n tags\n FROM [event]\n WHERE $__unixEpochFilter(time_sec) AND tags='deploy'\n ORDER BY 1 ASC\n ",
  57. "showIn": 0,
  58. "tags": [],
  59. "type": "tags"
  60. },
  61. {
  62. "datasource": "${DS_MSSQL_TEST}",
  63. "enable": false,
  64. "hide": false,
  65. "iconColor": "rgba(255, 96, 96, 1)",
  66. "limit": 100,
  67. "name": "Tickets",
  68. "rawQuery": "SELECT\n time_sec as time,\n description as [text],\n tags\n FROM [event]\n WHERE $__unixEpochFilter(time_sec) AND tags='ticket'\n ORDER BY 1 ASC\n ",
  69. "showIn": 0,
  70. "tags": [],
  71. "type": "tags"
  72. }
  73. ]
  74. },
  75. "editable": true,
  76. "gnetId": null,
  77. "graphTooltip": 0,
  78. "id": null,
  79. "iteration": 1521203799316,
  80. "links": [],
  81. "panels": [
  82. {
  83. "columns": [],
  84. "datasource": "${DS_MSSQL_TEST}",
  85. "fontSize": "100%",
  86. "gridPos": {
  87. "h": 4,
  88. "w": 24,
  89. "x": 0,
  90. "y": 0
  91. },
  92. "id": 2,
  93. "links": [],
  94. "pageSize": null,
  95. "scroll": true,
  96. "showHeader": true,
  97. "sort": {
  98. "col": 0,
  99. "desc": true
  100. },
  101. "styles": [
  102. {
  103. "alias": "",
  104. "colorMode": null,
  105. "colors": [
  106. "rgba(245, 54, 54, 0.9)",
  107. "rgba(237, 129, 40, 0.89)",
  108. "rgba(50, 172, 45, 0.97)"
  109. ],
  110. "decimals": 2,
  111. "pattern": "/.*/",
  112. "thresholds": [],
  113. "type": "string",
  114. "unit": "short"
  115. }
  116. ],
  117. "targets": [
  118. {
  119. "alias": "",
  120. "format": "table",
  121. "rawSql": "SELECT * from mssql_types",
  122. "refId": "A"
  123. }
  124. ],
  125. "title": "Data types",
  126. "transform": "table",
  127. "type": "table"
  128. },
  129. {
  130. "aliasColors": {},
  131. "bars": false,
  132. "dashLength": 10,
  133. "dashes": false,
  134. "datasource": "${DS_MSSQL_TEST}",
  135. "fill": 2,
  136. "gridPos": {
  137. "h": 9,
  138. "w": 8,
  139. "x": 0,
  140. "y": 4
  141. },
  142. "id": 7,
  143. "legend": {
  144. "avg": false,
  145. "current": false,
  146. "max": false,
  147. "min": false,
  148. "show": true,
  149. "total": false,
  150. "values": false
  151. },
  152. "lines": true,
  153. "linewidth": 2,
  154. "links": [],
  155. "nullPointMode": "null",
  156. "percentage": false,
  157. "pointradius": 3,
  158. "points": true,
  159. "renderer": "flot",
  160. "seriesOverrides": [],
  161. "spaceLength": 10,
  162. "stack": false,
  163. "steppedLine": true,
  164. "targets": [
  165. {
  166. "alias": "",
  167. "format": "time_series",
  168. "rawSql": "SELECT $__timeGroup(time, '$summarize') AS time, avg(value) as value FROM metric WHERE $__timeFilter(time) GROUP BY $__timeGroup(time, '$summarize') ORDER BY 1",
  169. "refId": "A"
  170. }
  171. ],
  172. "thresholds": [],
  173. "timeFrom": null,
  174. "timeShift": null,
  175. "title": "Metrics - timeGroup macro $summarize without fill",
  176. "tooltip": {
  177. "shared": true,
  178. "sort": 0,
  179. "value_type": "individual"
  180. },
  181. "type": "graph",
  182. "xaxis": {
  183. "buckets": null,
  184. "mode": "time",
  185. "name": null,
  186. "show": true,
  187. "values": []
  188. },
  189. "yaxes": [
  190. {
  191. "format": "short",
  192. "label": null,
  193. "logBase": 1,
  194. "max": null,
  195. "min": null,
  196. "show": true
  197. },
  198. {
  199. "format": "short",
  200. "label": null,
  201. "logBase": 1,
  202. "max": null,
  203. "min": null,
  204. "show": true
  205. }
  206. ]
  207. },
  208. {
  209. "aliasColors": {},
  210. "bars": false,
  211. "dashLength": 10,
  212. "dashes": false,
  213. "datasource": "${DS_MSSQL_TEST}",
  214. "fill": 2,
  215. "gridPos": {
  216. "h": 9,
  217. "w": 8,
  218. "x": 8,
  219. "y": 4
  220. },
  221. "id": 9,
  222. "legend": {
  223. "avg": false,
  224. "current": false,
  225. "max": false,
  226. "min": false,
  227. "show": true,
  228. "total": false,
  229. "values": false
  230. },
  231. "lines": true,
  232. "linewidth": 2,
  233. "links": [],
  234. "nullPointMode": "null as zero",
  235. "percentage": false,
  236. "pointradius": 3,
  237. "points": true,
  238. "renderer": "flot",
  239. "seriesOverrides": [],
  240. "spaceLength": 10,
  241. "stack": false,
  242. "steppedLine": true,
  243. "targets": [
  244. {
  245. "alias": "",
  246. "format": "time_series",
  247. "rawSql": "SELECT $__timeGroup(time, '$summarize', NULL) AS time, avg(value) as value FROM metric WHERE $__timeFilter(time) GROUP BY $__timeGroup(time, '$summarize') ORDER BY 1",
  248. "refId": "A"
  249. }
  250. ],
  251. "thresholds": [],
  252. "timeFrom": null,
  253. "timeShift": null,
  254. "title": "Metrics - timeGroup macro $summarize with fill(NULL) and null as zero",
  255. "tooltip": {
  256. "shared": true,
  257. "sort": 0,
  258. "value_type": "individual"
  259. },
  260. "type": "graph",
  261. "xaxis": {
  262. "buckets": null,
  263. "mode": "time",
  264. "name": null,
  265. "show": true,
  266. "values": []
  267. },
  268. "yaxes": [
  269. {
  270. "format": "short",
  271. "label": null,
  272. "logBase": 1,
  273. "max": null,
  274. "min": null,
  275. "show": true
  276. },
  277. {
  278. "format": "short",
  279. "label": null,
  280. "logBase": 1,
  281. "max": null,
  282. "min": null,
  283. "show": true
  284. }
  285. ]
  286. },
  287. {
  288. "aliasColors": {},
  289. "bars": false,
  290. "dashLength": 10,
  291. "dashes": false,
  292. "datasource": "${DS_MSSQL_TEST}",
  293. "fill": 2,
  294. "gridPos": {
  295. "h": 9,
  296. "w": 8,
  297. "x": 16,
  298. "y": 4
  299. },
  300. "id": 10,
  301. "legend": {
  302. "avg": false,
  303. "current": false,
  304. "max": false,
  305. "min": false,
  306. "show": true,
  307. "total": false,
  308. "values": false
  309. },
  310. "lines": true,
  311. "linewidth": 2,
  312. "links": [],
  313. "nullPointMode": "null",
  314. "percentage": false,
  315. "pointradius": 3,
  316. "points": true,
  317. "renderer": "flot",
  318. "seriesOverrides": [],
  319. "spaceLength": 10,
  320. "stack": false,
  321. "steppedLine": true,
  322. "targets": [
  323. {
  324. "alias": "",
  325. "format": "time_series",
  326. "rawSql": "SELECT $__timeGroup(time, '$summarize', 10.0) AS time, avg(value) as value FROM metric WHERE $__timeFilter(time) GROUP BY $__timeGroup(time, '$summarize') ORDER BY 1",
  327. "refId": "A"
  328. }
  329. ],
  330. "thresholds": [],
  331. "timeFrom": null,
  332. "timeShift": null,
  333. "title": "Metrics - timeGroup macro $summarize with fill(10.0)",
  334. "tooltip": {
  335. "shared": true,
  336. "sort": 0,
  337. "value_type": "individual"
  338. },
  339. "type": "graph",
  340. "xaxis": {
  341. "buckets": null,
  342. "mode": "time",
  343. "name": null,
  344. "show": true,
  345. "values": []
  346. },
  347. "yaxes": [
  348. {
  349. "format": "short",
  350. "label": null,
  351. "logBase": 1,
  352. "max": null,
  353. "min": null,
  354. "show": true
  355. },
  356. {
  357. "format": "short",
  358. "label": null,
  359. "logBase": 1,
  360. "max": null,
  361. "min": null,
  362. "show": true
  363. }
  364. ]
  365. },
  366. {
  367. "aliasColors": {},
  368. "bars": true,
  369. "dashLength": 10,
  370. "dashes": false,
  371. "datasource": "${DS_MSSQL_TEST}",
  372. "fill": 2,
  373. "gridPos": {
  374. "h": 9,
  375. "w": 8,
  376. "x": 0,
  377. "y": 13
  378. },
  379. "id": 16,
  380. "legend": {
  381. "avg": false,
  382. "current": false,
  383. "max": false,
  384. "min": false,
  385. "show": true,
  386. "total": false,
  387. "values": false
  388. },
  389. "lines": false,
  390. "linewidth": 2,
  391. "links": [],
  392. "nullPointMode": "null",
  393. "percentage": false,
  394. "pointradius": 3,
  395. "points": false,
  396. "renderer": "flot",
  397. "seriesOverrides": [],
  398. "spaceLength": 10,
  399. "stack": false,
  400. "steppedLine": true,
  401. "targets": [
  402. {
  403. "alias": "",
  404. "format": "time_series",
  405. "rawSql": "SELECT $__timeGroup(time, '$summarize') AS time, avg(value) as value FROM metric WHERE $__timeFilter(time) GROUP BY $__timeGroup(time, '$summarize') ORDER BY 1",
  406. "refId": "A"
  407. }
  408. ],
  409. "thresholds": [],
  410. "timeFrom": null,
  411. "timeShift": null,
  412. "title": "Metrics - timeGroup macro $summarize without fill",
  413. "tooltip": {
  414. "shared": true,
  415. "sort": 0,
  416. "value_type": "individual"
  417. },
  418. "type": "graph",
  419. "xaxis": {
  420. "buckets": null,
  421. "mode": "time",
  422. "name": null,
  423. "show": true,
  424. "values": []
  425. },
  426. "yaxes": [
  427. {
  428. "format": "short",
  429. "label": null,
  430. "logBase": 1,
  431. "max": null,
  432. "min": null,
  433. "show": true
  434. },
  435. {
  436. "format": "short",
  437. "label": null,
  438. "logBase": 1,
  439. "max": null,
  440. "min": null,
  441. "show": true
  442. }
  443. ]
  444. },
  445. {
  446. "aliasColors": {},
  447. "bars": true,
  448. "dashLength": 10,
  449. "dashes": false,
  450. "datasource": "${DS_MSSQL_TEST}",
  451. "fill": 2,
  452. "gridPos": {
  453. "h": 9,
  454. "w": 8,
  455. "x": 8,
  456. "y": 13
  457. },
  458. "id": 12,
  459. "legend": {
  460. "avg": false,
  461. "current": false,
  462. "max": false,
  463. "min": false,
  464. "show": true,
  465. "total": false,
  466. "values": false
  467. },
  468. "lines": false,
  469. "linewidth": 2,
  470. "links": [],
  471. "nullPointMode": "null as zero",
  472. "percentage": false,
  473. "pointradius": 3,
  474. "points": false,
  475. "renderer": "flot",
  476. "seriesOverrides": [],
  477. "spaceLength": 10,
  478. "stack": false,
  479. "steppedLine": true,
  480. "targets": [
  481. {
  482. "alias": "",
  483. "format": "time_series",
  484. "rawSql": "SELECT $__timeGroup(time, '$summarize', NULL) AS time, sum(value) as value FROM metric WHERE $__timeFilter(time) GROUP BY $__timeGroup(time, '$summarize') ORDER BY 1",
  485. "refId": "A"
  486. }
  487. ],
  488. "thresholds": [],
  489. "timeFrom": null,
  490. "timeShift": null,
  491. "title": "Metrics - timeGroup macro $summarize with fill(NULL)",
  492. "tooltip": {
  493. "shared": true,
  494. "sort": 0,
  495. "value_type": "individual"
  496. },
  497. "type": "graph",
  498. "xaxis": {
  499. "buckets": null,
  500. "mode": "time",
  501. "name": null,
  502. "show": true,
  503. "values": []
  504. },
  505. "yaxes": [
  506. {
  507. "format": "short",
  508. "label": null,
  509. "logBase": 1,
  510. "max": null,
  511. "min": null,
  512. "show": true
  513. },
  514. {
  515. "format": "short",
  516. "label": null,
  517. "logBase": 1,
  518. "max": null,
  519. "min": null,
  520. "show": true
  521. }
  522. ]
  523. },
  524. {
  525. "aliasColors": {},
  526. "bars": true,
  527. "dashLength": 10,
  528. "dashes": false,
  529. "datasource": "${DS_MSSQL_TEST}",
  530. "fill": 2,
  531. "gridPos": {
  532. "h": 9,
  533. "w": 8,
  534. "x": 16,
  535. "y": 13
  536. },
  537. "id": 13,
  538. "legend": {
  539. "avg": false,
  540. "current": false,
  541. "max": false,
  542. "min": false,
  543. "show": true,
  544. "total": false,
  545. "values": false
  546. },
  547. "lines": false,
  548. "linewidth": 2,
  549. "links": [],
  550. "nullPointMode": "null",
  551. "percentage": false,
  552. "pointradius": 3,
  553. "points": false,
  554. "renderer": "flot",
  555. "seriesOverrides": [],
  556. "spaceLength": 10,
  557. "stack": false,
  558. "steppedLine": true,
  559. "targets": [
  560. {
  561. "alias": "",
  562. "format": "time_series",
  563. "rawSql": "SELECT $__timeGroup(time, '$summarize', 100.0) AS time, sum(value) as value FROM metric WHERE $__timeFilter(time) GROUP BY $__timeGroup(time, '$summarize') ORDER BY 1",
  564. "refId": "A"
  565. }
  566. ],
  567. "thresholds": [],
  568. "timeFrom": null,
  569. "timeShift": null,
  570. "title": "Metrics - timeGroup macro $summarize with fill(100.0)",
  571. "tooltip": {
  572. "shared": true,
  573. "sort": 0,
  574. "value_type": "individual"
  575. },
  576. "type": "graph",
  577. "xaxis": {
  578. "buckets": null,
  579. "mode": "time",
  580. "name": null,
  581. "show": true,
  582. "values": []
  583. },
  584. "yaxes": [
  585. {
  586. "format": "short",
  587. "label": null,
  588. "logBase": 1,
  589. "max": null,
  590. "min": null,
  591. "show": true
  592. },
  593. {
  594. "format": "short",
  595. "label": null,
  596. "logBase": 1,
  597. "max": null,
  598. "min": null,
  599. "show": true
  600. }
  601. ]
  602. },
  603. {
  604. "aliasColors": {},
  605. "bars": false,
  606. "dashLength": 10,
  607. "dashes": false,
  608. "datasource": "${DS_MSSQL_TEST}",
  609. "fill": 2,
  610. "gridPos": {
  611. "h": 8,
  612. "w": 12,
  613. "x": 0,
  614. "y": 22
  615. },
  616. "id": 4,
  617. "legend": {
  618. "alignAsTable": true,
  619. "avg": true,
  620. "current": true,
  621. "hideEmpty": false,
  622. "hideZero": false,
  623. "max": true,
  624. "min": true,
  625. "rightSide": true,
  626. "show": true,
  627. "total": true,
  628. "values": true
  629. },
  630. "lines": true,
  631. "linewidth": 2,
  632. "links": [],
  633. "nullPointMode": "null",
  634. "percentage": false,
  635. "pointradius": 3,
  636. "points": false,
  637. "renderer": "flot",
  638. "seriesOverrides": [],
  639. "spaceLength": 10,
  640. "stack": false,
  641. "steppedLine": false,
  642. "targets": [
  643. {
  644. "alias": "",
  645. "format": "time_series",
  646. "rawSql": "SELECT $__timeEpoch(time), measurement as metric, valueOne, valueTwo FROM metric_values ORDER BY 1",
  647. "refId": "A"
  648. }
  649. ],
  650. "thresholds": [],
  651. "timeFrom": null,
  652. "timeShift": null,
  653. "title": "Multiple series with metric column",
  654. "tooltip": {
  655. "shared": true,
  656. "sort": 0,
  657. "value_type": "individual"
  658. },
  659. "type": "graph",
  660. "xaxis": {
  661. "buckets": null,
  662. "mode": "time",
  663. "name": null,
  664. "show": true,
  665. "values": []
  666. },
  667. "yaxes": [
  668. {
  669. "format": "short",
  670. "label": null,
  671. "logBase": 1,
  672. "max": null,
  673. "min": "0",
  674. "show": true
  675. },
  676. {
  677. "format": "short",
  678. "label": null,
  679. "logBase": 1,
  680. "max": null,
  681. "min": null,
  682. "show": true
  683. }
  684. ]
  685. },
  686. {
  687. "aliasColors": {},
  688. "bars": false,
  689. "dashLength": 10,
  690. "dashes": false,
  691. "datasource": "${DS_MSSQL_TEST}",
  692. "fill": 2,
  693. "gridPos": {
  694. "h": 8,
  695. "w": 12,
  696. "x": 12,
  697. "y": 22
  698. },
  699. "id": 5,
  700. "legend": {
  701. "alignAsTable": true,
  702. "avg": true,
  703. "current": true,
  704. "max": true,
  705. "min": true,
  706. "rightSide": true,
  707. "show": true,
  708. "total": true,
  709. "values": true
  710. },
  711. "lines": true,
  712. "linewidth": 2,
  713. "links": [],
  714. "nullPointMode": "null",
  715. "percentage": false,
  716. "pointradius": 3,
  717. "points": false,
  718. "renderer": "flot",
  719. "seriesOverrides": [],
  720. "spaceLength": 10,
  721. "stack": false,
  722. "steppedLine": false,
  723. "targets": [
  724. {
  725. "alias": "",
  726. "format": "time_series",
  727. "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values ORDER BY 1",
  728. "refId": "A"
  729. }
  730. ],
  731. "thresholds": [],
  732. "timeFrom": null,
  733. "timeShift": null,
  734. "title": "Multiple series without metric column",
  735. "tooltip": {
  736. "shared": true,
  737. "sort": 0,
  738. "value_type": "individual"
  739. },
  740. "type": "graph",
  741. "xaxis": {
  742. "buckets": null,
  743. "mode": "time",
  744. "name": null,
  745. "show": true,
  746. "values": []
  747. },
  748. "yaxes": [
  749. {
  750. "format": "short",
  751. "label": null,
  752. "logBase": 1,
  753. "max": null,
  754. "min": "0",
  755. "show": true
  756. },
  757. {
  758. "format": "short",
  759. "label": null,
  760. "logBase": 1,
  761. "max": null,
  762. "min": null,
  763. "show": true
  764. }
  765. ]
  766. },
  767. {
  768. "aliasColors": {},
  769. "bars": false,
  770. "dashLength": 10,
  771. "dashes": false,
  772. "datasource": "${DS_MSSQL_TEST}",
  773. "fill": 2,
  774. "gridPos": {
  775. "h": 8,
  776. "w": 12,
  777. "x": 0,
  778. "y": 30
  779. },
  780. "id": 19,
  781. "legend": {
  782. "alignAsTable": true,
  783. "avg": true,
  784. "current": true,
  785. "hideEmpty": false,
  786. "hideZero": false,
  787. "max": true,
  788. "min": true,
  789. "rightSide": true,
  790. "show": true,
  791. "total": true,
  792. "values": true
  793. },
  794. "lines": true,
  795. "linewidth": 2,
  796. "links": [],
  797. "nullPointMode": "null",
  798. "percentage": false,
  799. "pointradius": 3,
  800. "points": false,
  801. "renderer": "flot",
  802. "seriesOverrides": [],
  803. "spaceLength": 10,
  804. "stack": true,
  805. "steppedLine": false,
  806. "targets": [
  807. {
  808. "alias": "",
  809. "format": "time_series",
  810. "rawSql": "SELECT $__timeEpoch(time), measurement as metric, valueOne, valueTwo FROM metric_values ORDER BY 1",
  811. "refId": "A"
  812. }
  813. ],
  814. "thresholds": [],
  815. "timeFrom": null,
  816. "timeShift": null,
  817. "title": "Multiple series with metric column - stacked",
  818. "tooltip": {
  819. "shared": true,
  820. "sort": 0,
  821. "value_type": "individual"
  822. },
  823. "type": "graph",
  824. "xaxis": {
  825. "buckets": null,
  826. "mode": "time",
  827. "name": null,
  828. "show": true,
  829. "values": []
  830. },
  831. "yaxes": [
  832. {
  833. "format": "short",
  834. "label": null,
  835. "logBase": 1,
  836. "max": null,
  837. "min": "0",
  838. "show": true
  839. },
  840. {
  841. "format": "short",
  842. "label": null,
  843. "logBase": 1,
  844. "max": null,
  845. "min": null,
  846. "show": true
  847. }
  848. ]
  849. },
  850. {
  851. "aliasColors": {},
  852. "bars": false,
  853. "dashLength": 10,
  854. "dashes": false,
  855. "datasource": "${DS_MSSQL_TEST}",
  856. "fill": 2,
  857. "gridPos": {
  858. "h": 8,
  859. "w": 12,
  860. "x": 12,
  861. "y": 30
  862. },
  863. "id": 18,
  864. "legend": {
  865. "alignAsTable": true,
  866. "avg": true,
  867. "current": true,
  868. "max": true,
  869. "min": true,
  870. "rightSide": true,
  871. "show": true,
  872. "total": true,
  873. "values": true
  874. },
  875. "lines": true,
  876. "linewidth": 2,
  877. "links": [],
  878. "nullPointMode": "null",
  879. "percentage": false,
  880. "pointradius": 3,
  881. "points": false,
  882. "renderer": "flot",
  883. "seriesOverrides": [],
  884. "spaceLength": 10,
  885. "stack": true,
  886. "steppedLine": false,
  887. "targets": [
  888. {
  889. "alias": "",
  890. "format": "time_series",
  891. "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values ORDER BY 1",
  892. "refId": "A"
  893. }
  894. ],
  895. "thresholds": [],
  896. "timeFrom": null,
  897. "timeShift": null,
  898. "title": "Multiple series without metric column - stacked",
  899. "tooltip": {
  900. "shared": true,
  901. "sort": 0,
  902. "value_type": "individual"
  903. },
  904. "type": "graph",
  905. "xaxis": {
  906. "buckets": null,
  907. "mode": "time",
  908. "name": null,
  909. "show": true,
  910. "values": []
  911. },
  912. "yaxes": [
  913. {
  914. "format": "short",
  915. "label": null,
  916. "logBase": 1,
  917. "max": null,
  918. "min": "0",
  919. "show": true
  920. },
  921. {
  922. "format": "short",
  923. "label": null,
  924. "logBase": 1,
  925. "max": null,
  926. "min": null,
  927. "show": true
  928. }
  929. ]
  930. },
  931. {
  932. "aliasColors": {},
  933. "bars": false,
  934. "dashLength": 10,
  935. "dashes": false,
  936. "datasource": "${DS_MSSQL_TEST}",
  937. "fill": 2,
  938. "gridPos": {
  939. "h": 8,
  940. "w": 12,
  941. "x": 0,
  942. "y": 38
  943. },
  944. "id": 17,
  945. "legend": {
  946. "alignAsTable": true,
  947. "avg": true,
  948. "current": true,
  949. "hideEmpty": false,
  950. "hideZero": false,
  951. "max": true,
  952. "min": true,
  953. "rightSide": true,
  954. "show": true,
  955. "total": true,
  956. "values": true
  957. },
  958. "lines": true,
  959. "linewidth": 2,
  960. "links": [],
  961. "nullPointMode": "null",
  962. "percentage": true,
  963. "pointradius": 3,
  964. "points": false,
  965. "renderer": "flot",
  966. "seriesOverrides": [],
  967. "spaceLength": 10,
  968. "stack": true,
  969. "steppedLine": false,
  970. "targets": [
  971. {
  972. "alias": "",
  973. "format": "time_series",
  974. "rawSql": "SELECT $__timeEpoch(time), measurement as metric, valueOne, valueTwo FROM metric_values ORDER BY 1",
  975. "refId": "A"
  976. }
  977. ],
  978. "thresholds": [],
  979. "timeFrom": null,
  980. "timeShift": null,
  981. "title": "Multiple series with metric column - stacked percent",
  982. "tooltip": {
  983. "shared": true,
  984. "sort": 0,
  985. "value_type": "individual"
  986. },
  987. "type": "graph",
  988. "xaxis": {
  989. "buckets": null,
  990. "mode": "time",
  991. "name": null,
  992. "show": true,
  993. "values": []
  994. },
  995. "yaxes": [
  996. {
  997. "format": "short",
  998. "label": null,
  999. "logBase": 1,
  1000. "max": null,
  1001. "min": "0",
  1002. "show": true
  1003. },
  1004. {
  1005. "format": "short",
  1006. "label": null,
  1007. "logBase": 1,
  1008. "max": null,
  1009. "min": null,
  1010. "show": true
  1011. }
  1012. ]
  1013. },
  1014. {
  1015. "aliasColors": {},
  1016. "bars": false,
  1017. "dashLength": 10,
  1018. "dashes": false,
  1019. "datasource": "${DS_MSSQL_TEST}",
  1020. "fill": 2,
  1021. "gridPos": {
  1022. "h": 8,
  1023. "w": 12,
  1024. "x": 12,
  1025. "y": 38
  1026. },
  1027. "id": 20,
  1028. "legend": {
  1029. "alignAsTable": true,
  1030. "avg": true,
  1031. "current": true,
  1032. "max": true,
  1033. "min": true,
  1034. "rightSide": true,
  1035. "show": true,
  1036. "total": true,
  1037. "values": true
  1038. },
  1039. "lines": true,
  1040. "linewidth": 2,
  1041. "links": [],
  1042. "nullPointMode": "null",
  1043. "percentage": true,
  1044. "pointradius": 3,
  1045. "points": false,
  1046. "renderer": "flot",
  1047. "seriesOverrides": [],
  1048. "spaceLength": 10,
  1049. "stack": true,
  1050. "steppedLine": false,
  1051. "targets": [
  1052. {
  1053. "alias": "",
  1054. "format": "time_series",
  1055. "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values ORDER BY 1",
  1056. "refId": "A"
  1057. }
  1058. ],
  1059. "thresholds": [],
  1060. "timeFrom": null,
  1061. "timeShift": null,
  1062. "title": "Multiple series without metric column - stacked percent",
  1063. "tooltip": {
  1064. "shared": true,
  1065. "sort": 0,
  1066. "value_type": "individual"
  1067. },
  1068. "type": "graph",
  1069. "xaxis": {
  1070. "buckets": null,
  1071. "mode": "time",
  1072. "name": null,
  1073. "show": true,
  1074. "values": []
  1075. },
  1076. "yaxes": [
  1077. {
  1078. "format": "short",
  1079. "label": null,
  1080. "logBase": 1,
  1081. "max": null,
  1082. "min": "0",
  1083. "show": true
  1084. },
  1085. {
  1086. "format": "short",
  1087. "label": null,
  1088. "logBase": 1,
  1089. "max": null,
  1090. "min": null,
  1091. "show": true
  1092. }
  1093. ]
  1094. },
  1095. {
  1096. "aliasColors": {},
  1097. "bars": true,
  1098. "dashLength": 10,
  1099. "dashes": false,
  1100. "datasource": "${DS_MSSQL_TEST}",
  1101. "fill": 1,
  1102. "gridPos": {
  1103. "h": 8,
  1104. "w": 12,
  1105. "x": 0,
  1106. "y": 46
  1107. },
  1108. "id": 14,
  1109. "legend": {
  1110. "alignAsTable": true,
  1111. "avg": true,
  1112. "current": true,
  1113. "max": true,
  1114. "min": true,
  1115. "rightSide": true,
  1116. "show": true,
  1117. "total": true,
  1118. "values": true
  1119. },
  1120. "lines": false,
  1121. "linewidth": 1,
  1122. "links": [],
  1123. "nullPointMode": "null",
  1124. "percentage": false,
  1125. "pointradius": 5,
  1126. "points": false,
  1127. "renderer": "flot",
  1128. "seriesOverrides": [],
  1129. "spaceLength": 10,
  1130. "stack": false,
  1131. "steppedLine": false,
  1132. "targets": [
  1133. {
  1134. "alias": "",
  1135. "format": "time_series",
  1136. "rawSql": "SELECT $__timeEpoch(time), measurement as metric, valueOne, valueTwo FROM metric_values ORDER BY 1",
  1137. "refId": "A"
  1138. }
  1139. ],
  1140. "thresholds": [],
  1141. "timeFrom": null,
  1142. "timeShift": null,
  1143. "title": "Multiple series with metric column - series mode",
  1144. "tooltip": {
  1145. "shared": false,
  1146. "sort": 0,
  1147. "value_type": "individual"
  1148. },
  1149. "type": "graph",
  1150. "xaxis": {
  1151. "buckets": null,
  1152. "mode": "series",
  1153. "name": null,
  1154. "show": true,
  1155. "values": [
  1156. "total"
  1157. ]
  1158. },
  1159. "yaxes": [
  1160. {
  1161. "decimals": null,
  1162. "format": "short",
  1163. "label": null,
  1164. "logBase": 1,
  1165. "max": null,
  1166. "min": "0",
  1167. "show": true
  1168. },
  1169. {
  1170. "format": "short",
  1171. "label": null,
  1172. "logBase": 1,
  1173. "max": null,
  1174. "min": null,
  1175. "show": true
  1176. }
  1177. ]
  1178. },
  1179. {
  1180. "aliasColors": {},
  1181. "bars": true,
  1182. "dashLength": 10,
  1183. "dashes": false,
  1184. "datasource": "${DS_MSSQL_TEST}",
  1185. "fill": 1,
  1186. "gridPos": {
  1187. "h": 8,
  1188. "w": 12,
  1189. "x": 12,
  1190. "y": 46
  1191. },
  1192. "id": 15,
  1193. "legend": {
  1194. "alignAsTable": true,
  1195. "avg": true,
  1196. "current": true,
  1197. "max": true,
  1198. "min": true,
  1199. "rightSide": true,
  1200. "show": true,
  1201. "total": true,
  1202. "values": true
  1203. },
  1204. "lines": false,
  1205. "linewidth": 1,
  1206. "links": [],
  1207. "nullPointMode": "null",
  1208. "percentage": false,
  1209. "pointradius": 5,
  1210. "points": false,
  1211. "renderer": "flot",
  1212. "seriesOverrides": [],
  1213. "spaceLength": 10,
  1214. "stack": false,
  1215. "steppedLine": false,
  1216. "targets": [
  1217. {
  1218. "alias": "",
  1219. "format": "time_series",
  1220. "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values ORDER BY 1",
  1221. "refId": "A"
  1222. }
  1223. ],
  1224. "thresholds": [],
  1225. "timeFrom": null,
  1226. "timeShift": null,
  1227. "title": "Multiple series without metric column - series mode",
  1228. "tooltip": {
  1229. "shared": false,
  1230. "sort": 0,
  1231. "value_type": "individual"
  1232. },
  1233. "type": "graph",
  1234. "xaxis": {
  1235. "buckets": null,
  1236. "mode": "series",
  1237. "name": null,
  1238. "show": true,
  1239. "values": [
  1240. "total"
  1241. ]
  1242. },
  1243. "yaxes": [
  1244. {
  1245. "format": "short",
  1246. "label": null,
  1247. "logBase": 1,
  1248. "max": null,
  1249. "min": "0",
  1250. "show": true
  1251. },
  1252. {
  1253. "format": "short",
  1254. "label": null,
  1255. "logBase": 1,
  1256. "max": null,
  1257. "min": null,
  1258. "show": true
  1259. }
  1260. ]
  1261. },
  1262. {
  1263. "aliasColors": {},
  1264. "bars": true,
  1265. "dashLength": 10,
  1266. "dashes": false,
  1267. "datasource": "${DS_MSSQL_TEST}",
  1268. "fill": 1,
  1269. "gridPos": {
  1270. "h": 8,
  1271. "w": 12,
  1272. "x": 0,
  1273. "y": 54
  1274. },
  1275. "id": 25,
  1276. "legend": {
  1277. "alignAsTable": true,
  1278. "avg": true,
  1279. "current": true,
  1280. "max": true,
  1281. "min": true,
  1282. "rightSide": true,
  1283. "show": false,
  1284. "total": true,
  1285. "values": true
  1286. },
  1287. "lines": false,
  1288. "linewidth": 1,
  1289. "links": [],
  1290. "nullPointMode": "null",
  1291. "percentage": false,
  1292. "pointradius": 5,
  1293. "points": false,
  1294. "renderer": "flot",
  1295. "seriesOverrides": [],
  1296. "spaceLength": 10,
  1297. "stack": false,
  1298. "steppedLine": false,
  1299. "targets": [
  1300. {
  1301. "alias": "",
  1302. "format": "time_series",
  1303. "rawSql": "SELECT $__timeEpoch(time), measurement as metric, valueOne, valueTwo FROM metric_values ORDER BY 1",
  1304. "refId": "A"
  1305. }
  1306. ],
  1307. "thresholds": [],
  1308. "timeFrom": null,
  1309. "timeShift": null,
  1310. "title": "Multiple series with metric column - histogram",
  1311. "tooltip": {
  1312. "shared": true,
  1313. "sort": 0,
  1314. "value_type": "individual"
  1315. },
  1316. "type": "graph",
  1317. "xaxis": {
  1318. "buckets": 50,
  1319. "mode": "histogram",
  1320. "name": null,
  1321. "show": true,
  1322. "values": [
  1323. "current"
  1324. ]
  1325. },
  1326. "yaxes": [
  1327. {
  1328. "decimals": null,
  1329. "format": "short",
  1330. "label": null,
  1331. "logBase": 1,
  1332. "max": null,
  1333. "min": "0",
  1334. "show": true
  1335. },
  1336. {
  1337. "format": "short",
  1338. "label": null,
  1339. "logBase": 1,
  1340. "max": null,
  1341. "min": null,
  1342. "show": true
  1343. }
  1344. ]
  1345. },
  1346. {
  1347. "aliasColors": {},
  1348. "bars": true,
  1349. "dashLength": 10,
  1350. "dashes": false,
  1351. "datasource": "${DS_MSSQL_TEST}",
  1352. "fill": 1,
  1353. "gridPos": {
  1354. "h": 8,
  1355. "w": 12,
  1356. "x": 12,
  1357. "y": 54
  1358. },
  1359. "id": 22,
  1360. "legend": {
  1361. "alignAsTable": true,
  1362. "avg": true,
  1363. "current": true,
  1364. "max": true,
  1365. "min": true,
  1366. "rightSide": true,
  1367. "show": false,
  1368. "total": true,
  1369. "values": true
  1370. },
  1371. "lines": false,
  1372. "linewidth": 1,
  1373. "links": [],
  1374. "nullPointMode": "null",
  1375. "percentage": false,
  1376. "pointradius": 5,
  1377. "points": false,
  1378. "renderer": "flot",
  1379. "seriesOverrides": [],
  1380. "spaceLength": 10,
  1381. "stack": false,
  1382. "steppedLine": false,
  1383. "targets": [
  1384. {
  1385. "alias": "",
  1386. "format": "time_series",
  1387. "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values ORDER BY 1",
  1388. "refId": "A"
  1389. }
  1390. ],
  1391. "thresholds": [],
  1392. "timeFrom": null,
  1393. "timeShift": null,
  1394. "title": "Multiple series without metric column - histogram",
  1395. "tooltip": {
  1396. "shared": true,
  1397. "sort": 0,
  1398. "value_type": "individual"
  1399. },
  1400. "type": "graph",
  1401. "xaxis": {
  1402. "buckets": 100,
  1403. "mode": "histogram",
  1404. "name": null,
  1405. "show": true,
  1406. "values": [
  1407. "total"
  1408. ]
  1409. },
  1410. "yaxes": [
  1411. {
  1412. "format": "short",
  1413. "label": null,
  1414. "logBase": 1,
  1415. "max": null,
  1416. "min": "0",
  1417. "show": true
  1418. },
  1419. {
  1420. "format": "short",
  1421. "label": null,
  1422. "logBase": 1,
  1423. "max": null,
  1424. "min": null,
  1425. "show": true
  1426. }
  1427. ]
  1428. },
  1429. {
  1430. "aliasColors": {},
  1431. "bars": true,
  1432. "dashLength": 10,
  1433. "dashes": false,
  1434. "datasource": "${DS_MSSQL_TEST}",
  1435. "fill": 1,
  1436. "gridPos": {
  1437. "h": 8,
  1438. "w": 12,
  1439. "x": 0,
  1440. "y": 62
  1441. },
  1442. "id": 21,
  1443. "legend": {
  1444. "alignAsTable": true,
  1445. "avg": true,
  1446. "current": true,
  1447. "max": true,
  1448. "min": true,
  1449. "rightSide": true,
  1450. "show": false,
  1451. "total": true,
  1452. "values": true
  1453. },
  1454. "lines": false,
  1455. "linewidth": 1,
  1456. "links": [],
  1457. "nullPointMode": "null",
  1458. "percentage": false,
  1459. "pointradius": 5,
  1460. "points": false,
  1461. "renderer": "flot",
  1462. "seriesOverrides": [],
  1463. "spaceLength": 10,
  1464. "stack": true,
  1465. "steppedLine": false,
  1466. "targets": [
  1467. {
  1468. "alias": "",
  1469. "format": "time_series",
  1470. "rawSql": "SELECT $__timeEpoch(time), measurement as metric, valueOne, valueTwo FROM metric_values ORDER BY 1",
  1471. "refId": "A"
  1472. }
  1473. ],
  1474. "thresholds": [],
  1475. "timeFrom": null,
  1476. "timeShift": null,
  1477. "title": "Multiple series with metric column - histogram stacked",
  1478. "tooltip": {
  1479. "shared": true,
  1480. "sort": 0,
  1481. "value_type": "individual"
  1482. },
  1483. "type": "graph",
  1484. "xaxis": {
  1485. "buckets": 20,
  1486. "mode": "histogram",
  1487. "name": null,
  1488. "show": true,
  1489. "values": [
  1490. "current"
  1491. ]
  1492. },
  1493. "yaxes": [
  1494. {
  1495. "decimals": null,
  1496. "format": "short",
  1497. "label": null,
  1498. "logBase": 1,
  1499. "max": null,
  1500. "min": "0",
  1501. "show": true
  1502. },
  1503. {
  1504. "format": "short",
  1505. "label": null,
  1506. "logBase": 1,
  1507. "max": null,
  1508. "min": null,
  1509. "show": true
  1510. }
  1511. ]
  1512. },
  1513. {
  1514. "aliasColors": {},
  1515. "bars": true,
  1516. "dashLength": 10,
  1517. "dashes": false,
  1518. "datasource": "${DS_MSSQL_TEST}",
  1519. "fill": 1,
  1520. "gridPos": {
  1521. "h": 8,
  1522. "w": 12,
  1523. "x": 12,
  1524. "y": 62
  1525. },
  1526. "id": 26,
  1527. "legend": {
  1528. "alignAsTable": true,
  1529. "avg": true,
  1530. "current": true,
  1531. "max": true,
  1532. "min": true,
  1533. "rightSide": true,
  1534. "show": false,
  1535. "total": true,
  1536. "values": true
  1537. },
  1538. "lines": false,
  1539. "linewidth": 1,
  1540. "links": [],
  1541. "nullPointMode": "null",
  1542. "percentage": false,
  1543. "pointradius": 5,
  1544. "points": false,
  1545. "renderer": "flot",
  1546. "seriesOverrides": [],
  1547. "spaceLength": 10,
  1548. "stack": true,
  1549. "steppedLine": false,
  1550. "targets": [
  1551. {
  1552. "alias": "",
  1553. "format": "time_series",
  1554. "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values ORDER BY 1",
  1555. "refId": "A"
  1556. }
  1557. ],
  1558. "thresholds": [],
  1559. "timeFrom": null,
  1560. "timeShift": null,
  1561. "title": "Multiple series without metric column - histogram stacked",
  1562. "tooltip": {
  1563. "shared": true,
  1564. "sort": 0,
  1565. "value_type": "individual"
  1566. },
  1567. "type": "graph",
  1568. "xaxis": {
  1569. "buckets": 20,
  1570. "mode": "histogram",
  1571. "name": null,
  1572. "show": true,
  1573. "values": [
  1574. "total"
  1575. ]
  1576. },
  1577. "yaxes": [
  1578. {
  1579. "format": "short",
  1580. "label": null,
  1581. "logBase": 1,
  1582. "max": null,
  1583. "min": "0",
  1584. "show": true
  1585. },
  1586. {
  1587. "format": "short",
  1588. "label": null,
  1589. "logBase": 1,
  1590. "max": null,
  1591. "min": null,
  1592. "show": true
  1593. }
  1594. ]
  1595. },
  1596. {
  1597. "aliasColors": {},
  1598. "bars": true,
  1599. "dashLength": 10,
  1600. "dashes": false,
  1601. "datasource": "${DS_MSSQL_TEST}",
  1602. "fill": 1,
  1603. "gridPos": {
  1604. "h": 8,
  1605. "w": 12,
  1606. "x": 0,
  1607. "y": 70
  1608. },
  1609. "id": 23,
  1610. "legend": {
  1611. "alignAsTable": true,
  1612. "avg": true,
  1613. "current": true,
  1614. "max": true,
  1615. "min": true,
  1616. "rightSide": true,
  1617. "show": false,
  1618. "total": true,
  1619. "values": true
  1620. },
  1621. "lines": false,
  1622. "linewidth": 1,
  1623. "links": [],
  1624. "nullPointMode": "null",
  1625. "percentage": true,
  1626. "pointradius": 5,
  1627. "points": false,
  1628. "renderer": "flot",
  1629. "seriesOverrides": [],
  1630. "spaceLength": 10,
  1631. "stack": true,
  1632. "steppedLine": false,
  1633. "targets": [
  1634. {
  1635. "alias": "",
  1636. "format": "time_series",
  1637. "rawSql": "SELECT $__timeEpoch(time), measurement as metric, valueOne, valueTwo FROM metric_values ORDER BY 1",
  1638. "refId": "A"
  1639. }
  1640. ],
  1641. "thresholds": [],
  1642. "timeFrom": null,
  1643. "timeShift": null,
  1644. "title": "Multiple series with metric column - histogram stacked percent",
  1645. "tooltip": {
  1646. "shared": true,
  1647. "sort": 0,
  1648. "value_type": "individual"
  1649. },
  1650. "type": "graph",
  1651. "xaxis": {
  1652. "buckets": 20,
  1653. "mode": "histogram",
  1654. "name": null,
  1655. "show": true,
  1656. "values": [
  1657. "current"
  1658. ]
  1659. },
  1660. "yaxes": [
  1661. {
  1662. "decimals": null,
  1663. "format": "short",
  1664. "label": null,
  1665. "logBase": 1,
  1666. "max": null,
  1667. "min": "0",
  1668. "show": true
  1669. },
  1670. {
  1671. "format": "short",
  1672. "label": null,
  1673. "logBase": 1,
  1674. "max": null,
  1675. "min": null,
  1676. "show": true
  1677. }
  1678. ]
  1679. },
  1680. {
  1681. "aliasColors": {},
  1682. "bars": true,
  1683. "dashLength": 10,
  1684. "dashes": false,
  1685. "datasource": "${DS_MSSQL_TEST}",
  1686. "fill": 1,
  1687. "gridPos": {
  1688. "h": 8,
  1689. "w": 12,
  1690. "x": 12,
  1691. "y": 70
  1692. },
  1693. "id": 24,
  1694. "legend": {
  1695. "alignAsTable": true,
  1696. "avg": true,
  1697. "current": true,
  1698. "max": true,
  1699. "min": true,
  1700. "rightSide": true,
  1701. "show": false,
  1702. "total": true,
  1703. "values": true
  1704. },
  1705. "lines": false,
  1706. "linewidth": 1,
  1707. "links": [],
  1708. "nullPointMode": "null",
  1709. "percentage": true,
  1710. "pointradius": 5,
  1711. "points": false,
  1712. "renderer": "flot",
  1713. "seriesOverrides": [],
  1714. "spaceLength": 10,
  1715. "stack": true,
  1716. "steppedLine": false,
  1717. "targets": [
  1718. {
  1719. "alias": "",
  1720. "format": "time_series",
  1721. "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values ORDER BY 1",
  1722. "refId": "A"
  1723. }
  1724. ],
  1725. "thresholds": [],
  1726. "timeFrom": null,
  1727. "timeShift": null,
  1728. "title": "Multiple series without metric column - histogram stacked percent",
  1729. "tooltip": {
  1730. "shared": true,
  1731. "sort": 0,
  1732. "value_type": "individual"
  1733. },
  1734. "type": "graph",
  1735. "xaxis": {
  1736. "buckets": 20,
  1737. "mode": "histogram",
  1738. "name": null,
  1739. "show": true,
  1740. "values": [
  1741. "total"
  1742. ]
  1743. },
  1744. "yaxes": [
  1745. {
  1746. "format": "short",
  1747. "label": null,
  1748. "logBase": 1,
  1749. "max": null,
  1750. "min": "0",
  1751. "show": true
  1752. },
  1753. {
  1754. "format": "short",
  1755. "label": null,
  1756. "logBase": 1,
  1757. "max": null,
  1758. "min": null,
  1759. "show": true
  1760. }
  1761. ]
  1762. }
  1763. ],
  1764. "refresh": false,
  1765. "schemaVersion": 16,
  1766. "style": "dark",
  1767. "tags": [],
  1768. "templating": {
  1769. "list": [
  1770. {
  1771. "auto": false,
  1772. "auto_count": 30,
  1773. "auto_min": "10s",
  1774. "current": {
  1775. "text": "5m",
  1776. "value": "5m"
  1777. },
  1778. "hide": 0,
  1779. "label": "Interval",
  1780. "name": "summarize",
  1781. "options": [
  1782. {
  1783. "selected": false,
  1784. "text": "1s",
  1785. "value": "1s"
  1786. },
  1787. {
  1788. "selected": false,
  1789. "text": "10s",
  1790. "value": "10s"
  1791. },
  1792. {
  1793. "selected": false,
  1794. "text": "30s",
  1795. "value": "30s"
  1796. },
  1797. {
  1798. "selected": false,
  1799. "text": "1m",
  1800. "value": "1m"
  1801. },
  1802. {
  1803. "selected": true,
  1804. "text": "5m",
  1805. "value": "5m"
  1806. },
  1807. {
  1808. "selected": false,
  1809. "text": "10m",
  1810. "value": "10m"
  1811. }
  1812. ],
  1813. "query": "1s,10s,30s,1m,5m,10m",
  1814. "refresh": 2,
  1815. "type": "interval"
  1816. }
  1817. ]
  1818. },
  1819. "time": {
  1820. "from": "2018-03-15T12:30:00.000Z",
  1821. "to": "2018-03-15T13:55:00.000Z"
  1822. },
  1823. "timepicker": {
  1824. "refresh_intervals": [
  1825. "5s",
  1826. "10s",
  1827. "30s",
  1828. "1m",
  1829. "5m",
  1830. "15m",
  1831. "30m",
  1832. "1h",
  1833. "2h",
  1834. "1d"
  1835. ],
  1836. "time_options": [
  1837. "5m",
  1838. "15m",
  1839. "1h",
  1840. "6h",
  1841. "12h",
  1842. "24h",
  1843. "2d",
  1844. "7d",
  1845. "30d"
  1846. ]
  1847. },
  1848. "timezone": "",
  1849. "title": "Microsoft SQL Server Data Source Test",
  1850. "uid": "GlAqcPgmz",
  1851. "version": 29
  1852. }