dashboard.json 45 KB

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