dashboard.json 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016
  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": 1521449511574,
  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, '5m') AS time, avg(value) as value FROM metric WHERE $__timeFilter(time) GROUP BY $__timeGroup(time, '5m') ORDER BY 1",
  169. "refId": "A"
  170. }
  171. ],
  172. "thresholds": [],
  173. "timeFrom": null,
  174. "timeShift": null,
  175. "title": "Metrics - timeGroup macro 5m 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, '5m', NULL) AS time, avg(value) as value FROM metric WHERE $__timeFilter(time) GROUP BY $__timeGroup(time, '5m') ORDER BY 1",
  248. "refId": "A"
  249. }
  250. ],
  251. "thresholds": [],
  252. "timeFrom": null,
  253. "timeShift": null,
  254. "title": "Metrics - timeGroup macro 5m 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, '5m', 10.0) AS time, avg(value) as value FROM metric WHERE $__timeFilter(time) GROUP BY $__timeGroup(time, '5m') ORDER BY 1",
  327. "refId": "A"
  328. }
  329. ],
  330. "thresholds": [],
  331. "timeFrom": null,
  332. "timeShift": null,
  333. "title": "Metrics - timeGroup macro 5m 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": 27,
  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 \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",
  647. "refId": "A"
  648. }
  649. ],
  650. "thresholds": [],
  651. "timeFrom": null,
  652. "timeShift": null,
  653. "title": "Multiple series with metric column using timeGroup macro ($summarize)",
  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 \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",
  728. "refId": "A"
  729. }
  730. ],
  731. "thresholds": [],
  732. "timeFrom": null,
  733. "timeShift": null,
  734. "title": "Multiple series without metric column using timeGroup macro ($summarize)",
  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": 4,
  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": false,
  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",
  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": 28,
  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": false,
  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",
  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": 19,
  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": false,
  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",
  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": 18,
  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": false,
  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",
  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": false,
  1098. "dashLength": 10,
  1099. "dashes": false,
  1100. "datasource": "${DS_MSSQL_TEST}",
  1101. "fill": 2,
  1102. "gridPos": {
  1103. "h": 8,
  1104. "w": 12,
  1105. "x": 0,
  1106. "y": 46
  1107. },
  1108. "id": 17,
  1109. "legend": {
  1110. "alignAsTable": true,
  1111. "avg": true,
  1112. "current": true,
  1113. "hideEmpty": false,
  1114. "hideZero": false,
  1115. "max": true,
  1116. "min": true,
  1117. "rightSide": true,
  1118. "show": true,
  1119. "total": true,
  1120. "values": true
  1121. },
  1122. "lines": true,
  1123. "linewidth": 2,
  1124. "links": [],
  1125. "nullPointMode": "null",
  1126. "percentage": true,
  1127. "pointradius": 3,
  1128. "points": false,
  1129. "renderer": "flot",
  1130. "seriesOverrides": [],
  1131. "spaceLength": 10,
  1132. "stack": true,
  1133. "steppedLine": false,
  1134. "targets": [
  1135. {
  1136. "alias": "",
  1137. "format": "time_series",
  1138. "rawSql": "SELECT $__timeEpoch(time), measurement as metric, valueOne, valueTwo FROM metric_values ORDER BY 1",
  1139. "refId": "A"
  1140. }
  1141. ],
  1142. "thresholds": [],
  1143. "timeFrom": null,
  1144. "timeShift": null,
  1145. "title": "Multiple series with metric column - stacked percent",
  1146. "tooltip": {
  1147. "shared": true,
  1148. "sort": 0,
  1149. "value_type": "individual"
  1150. },
  1151. "type": "graph",
  1152. "xaxis": {
  1153. "buckets": null,
  1154. "mode": "time",
  1155. "name": null,
  1156. "show": true,
  1157. "values": []
  1158. },
  1159. "yaxes": [
  1160. {
  1161. "format": "short",
  1162. "label": null,
  1163. "logBase": 1,
  1164. "max": null,
  1165. "min": "0",
  1166. "show": true
  1167. },
  1168. {
  1169. "format": "short",
  1170. "label": null,
  1171. "logBase": 1,
  1172. "max": null,
  1173. "min": null,
  1174. "show": true
  1175. }
  1176. ]
  1177. },
  1178. {
  1179. "aliasColors": {},
  1180. "bars": false,
  1181. "dashLength": 10,
  1182. "dashes": false,
  1183. "datasource": "${DS_MSSQL_TEST}",
  1184. "fill": 2,
  1185. "gridPos": {
  1186. "h": 8,
  1187. "w": 12,
  1188. "x": 12,
  1189. "y": 46
  1190. },
  1191. "id": 20,
  1192. "legend": {
  1193. "alignAsTable": true,
  1194. "avg": true,
  1195. "current": true,
  1196. "max": true,
  1197. "min": true,
  1198. "rightSide": true,
  1199. "show": true,
  1200. "total": true,
  1201. "values": true
  1202. },
  1203. "lines": true,
  1204. "linewidth": 2,
  1205. "links": [],
  1206. "nullPointMode": "null",
  1207. "percentage": true,
  1208. "pointradius": 3,
  1209. "points": false,
  1210. "renderer": "flot",
  1211. "seriesOverrides": [],
  1212. "spaceLength": 10,
  1213. "stack": true,
  1214. "steppedLine": false,
  1215. "targets": [
  1216. {
  1217. "alias": "",
  1218. "format": "time_series",
  1219. "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values ORDER BY 1",
  1220. "refId": "A"
  1221. }
  1222. ],
  1223. "thresholds": [],
  1224. "timeFrom": null,
  1225. "timeShift": null,
  1226. "title": "Multiple series without metric column - stacked percent",
  1227. "tooltip": {
  1228. "shared": true,
  1229. "sort": 0,
  1230. "value_type": "individual"
  1231. },
  1232. "type": "graph",
  1233. "xaxis": {
  1234. "buckets": null,
  1235. "mode": "time",
  1236. "name": null,
  1237. "show": true,
  1238. "values": []
  1239. },
  1240. "yaxes": [
  1241. {
  1242. "format": "short",
  1243. "label": null,
  1244. "logBase": 1,
  1245. "max": null,
  1246. "min": "0",
  1247. "show": true
  1248. },
  1249. {
  1250. "format": "short",
  1251. "label": null,
  1252. "logBase": 1,
  1253. "max": null,
  1254. "min": null,
  1255. "show": true
  1256. }
  1257. ]
  1258. },
  1259. {
  1260. "aliasColors": {},
  1261. "bars": true,
  1262. "dashLength": 10,
  1263. "dashes": false,
  1264. "datasource": "${DS_MSSQL_TEST}",
  1265. "fill": 1,
  1266. "gridPos": {
  1267. "h": 8,
  1268. "w": 12,
  1269. "x": 0,
  1270. "y": 54
  1271. },
  1272. "id": 14,
  1273. "legend": {
  1274. "alignAsTable": true,
  1275. "avg": true,
  1276. "current": true,
  1277. "max": true,
  1278. "min": true,
  1279. "rightSide": true,
  1280. "show": true,
  1281. "total": true,
  1282. "values": true
  1283. },
  1284. "lines": false,
  1285. "linewidth": 1,
  1286. "links": [],
  1287. "nullPointMode": "null",
  1288. "percentage": false,
  1289. "pointradius": 5,
  1290. "points": false,
  1291. "renderer": "flot",
  1292. "seriesOverrides": [],
  1293. "spaceLength": 10,
  1294. "stack": false,
  1295. "steppedLine": false,
  1296. "targets": [
  1297. {
  1298. "alias": "",
  1299. "format": "time_series",
  1300. "rawSql": "SELECT $__timeEpoch(time), measurement as metric, valueOne, valueTwo FROM metric_values ORDER BY 1",
  1301. "refId": "A"
  1302. }
  1303. ],
  1304. "thresholds": [],
  1305. "timeFrom": null,
  1306. "timeShift": null,
  1307. "title": "Multiple series with metric column - series mode",
  1308. "tooltip": {
  1309. "shared": false,
  1310. "sort": 0,
  1311. "value_type": "individual"
  1312. },
  1313. "type": "graph",
  1314. "xaxis": {
  1315. "buckets": null,
  1316. "mode": "series",
  1317. "name": null,
  1318. "show": true,
  1319. "values": [
  1320. "total"
  1321. ]
  1322. },
  1323. "yaxes": [
  1324. {
  1325. "decimals": null,
  1326. "format": "short",
  1327. "label": null,
  1328. "logBase": 1,
  1329. "max": null,
  1330. "min": "0",
  1331. "show": true
  1332. },
  1333. {
  1334. "format": "short",
  1335. "label": null,
  1336. "logBase": 1,
  1337. "max": null,
  1338. "min": null,
  1339. "show": true
  1340. }
  1341. ]
  1342. },
  1343. {
  1344. "aliasColors": {},
  1345. "bars": true,
  1346. "dashLength": 10,
  1347. "dashes": false,
  1348. "datasource": "${DS_MSSQL_TEST}",
  1349. "fill": 1,
  1350. "gridPos": {
  1351. "h": 8,
  1352. "w": 12,
  1353. "x": 12,
  1354. "y": 54
  1355. },
  1356. "id": 15,
  1357. "legend": {
  1358. "alignAsTable": true,
  1359. "avg": true,
  1360. "current": true,
  1361. "max": true,
  1362. "min": true,
  1363. "rightSide": true,
  1364. "show": true,
  1365. "total": true,
  1366. "values": true
  1367. },
  1368. "lines": false,
  1369. "linewidth": 1,
  1370. "links": [],
  1371. "nullPointMode": "null",
  1372. "percentage": false,
  1373. "pointradius": 5,
  1374. "points": false,
  1375. "renderer": "flot",
  1376. "seriesOverrides": [],
  1377. "spaceLength": 10,
  1378. "stack": false,
  1379. "steppedLine": false,
  1380. "targets": [
  1381. {
  1382. "alias": "",
  1383. "format": "time_series",
  1384. "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values ORDER BY 1",
  1385. "refId": "A"
  1386. }
  1387. ],
  1388. "thresholds": [],
  1389. "timeFrom": null,
  1390. "timeShift": null,
  1391. "title": "Multiple series without metric column - series mode",
  1392. "tooltip": {
  1393. "shared": false,
  1394. "sort": 0,
  1395. "value_type": "individual"
  1396. },
  1397. "type": "graph",
  1398. "xaxis": {
  1399. "buckets": null,
  1400. "mode": "series",
  1401. "name": null,
  1402. "show": true,
  1403. "values": [
  1404. "total"
  1405. ]
  1406. },
  1407. "yaxes": [
  1408. {
  1409. "format": "short",
  1410. "label": null,
  1411. "logBase": 1,
  1412. "max": null,
  1413. "min": "0",
  1414. "show": true
  1415. },
  1416. {
  1417. "format": "short",
  1418. "label": null,
  1419. "logBase": 1,
  1420. "max": null,
  1421. "min": null,
  1422. "show": true
  1423. }
  1424. ]
  1425. },
  1426. {
  1427. "aliasColors": {},
  1428. "bars": true,
  1429. "dashLength": 10,
  1430. "dashes": false,
  1431. "datasource": "${DS_MSSQL_TEST}",
  1432. "fill": 1,
  1433. "gridPos": {
  1434. "h": 8,
  1435. "w": 12,
  1436. "x": 0,
  1437. "y": 62
  1438. },
  1439. "id": 25,
  1440. "legend": {
  1441. "alignAsTable": true,
  1442. "avg": true,
  1443. "current": true,
  1444. "max": true,
  1445. "min": true,
  1446. "rightSide": true,
  1447. "show": false,
  1448. "total": true,
  1449. "values": true
  1450. },
  1451. "lines": false,
  1452. "linewidth": 1,
  1453. "links": [],
  1454. "nullPointMode": "null",
  1455. "percentage": false,
  1456. "pointradius": 5,
  1457. "points": false,
  1458. "renderer": "flot",
  1459. "seriesOverrides": [],
  1460. "spaceLength": 10,
  1461. "stack": false,
  1462. "steppedLine": false,
  1463. "targets": [
  1464. {
  1465. "alias": "",
  1466. "format": "time_series",
  1467. "rawSql": "SELECT $__timeEpoch(time), measurement as metric, valueOne, valueTwo FROM metric_values ORDER BY 1",
  1468. "refId": "A"
  1469. }
  1470. ],
  1471. "thresholds": [],
  1472. "timeFrom": null,
  1473. "timeShift": null,
  1474. "title": "Multiple series with metric column - histogram",
  1475. "tooltip": {
  1476. "shared": true,
  1477. "sort": 0,
  1478. "value_type": "individual"
  1479. },
  1480. "type": "graph",
  1481. "xaxis": {
  1482. "buckets": 50,
  1483. "mode": "histogram",
  1484. "name": null,
  1485. "show": true,
  1486. "values": [
  1487. "current"
  1488. ]
  1489. },
  1490. "yaxes": [
  1491. {
  1492. "decimals": null,
  1493. "format": "short",
  1494. "label": null,
  1495. "logBase": 1,
  1496. "max": null,
  1497. "min": "0",
  1498. "show": true
  1499. },
  1500. {
  1501. "format": "short",
  1502. "label": null,
  1503. "logBase": 1,
  1504. "max": null,
  1505. "min": null,
  1506. "show": true
  1507. }
  1508. ]
  1509. },
  1510. {
  1511. "aliasColors": {},
  1512. "bars": true,
  1513. "dashLength": 10,
  1514. "dashes": false,
  1515. "datasource": "${DS_MSSQL_TEST}",
  1516. "fill": 1,
  1517. "gridPos": {
  1518. "h": 8,
  1519. "w": 12,
  1520. "x": 12,
  1521. "y": 62
  1522. },
  1523. "id": 22,
  1524. "legend": {
  1525. "alignAsTable": true,
  1526. "avg": true,
  1527. "current": true,
  1528. "max": true,
  1529. "min": true,
  1530. "rightSide": true,
  1531. "show": false,
  1532. "total": true,
  1533. "values": true
  1534. },
  1535. "lines": false,
  1536. "linewidth": 1,
  1537. "links": [],
  1538. "nullPointMode": "null",
  1539. "percentage": false,
  1540. "pointradius": 5,
  1541. "points": false,
  1542. "renderer": "flot",
  1543. "seriesOverrides": [],
  1544. "spaceLength": 10,
  1545. "stack": false,
  1546. "steppedLine": false,
  1547. "targets": [
  1548. {
  1549. "alias": "",
  1550. "format": "time_series",
  1551. "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values ORDER BY 1",
  1552. "refId": "A"
  1553. }
  1554. ],
  1555. "thresholds": [],
  1556. "timeFrom": null,
  1557. "timeShift": null,
  1558. "title": "Multiple series without metric column - histogram",
  1559. "tooltip": {
  1560. "shared": true,
  1561. "sort": 0,
  1562. "value_type": "individual"
  1563. },
  1564. "type": "graph",
  1565. "xaxis": {
  1566. "buckets": 100,
  1567. "mode": "histogram",
  1568. "name": null,
  1569. "show": true,
  1570. "values": [
  1571. "total"
  1572. ]
  1573. },
  1574. "yaxes": [
  1575. {
  1576. "format": "short",
  1577. "label": null,
  1578. "logBase": 1,
  1579. "max": null,
  1580. "min": "0",
  1581. "show": true
  1582. },
  1583. {
  1584. "format": "short",
  1585. "label": null,
  1586. "logBase": 1,
  1587. "max": null,
  1588. "min": null,
  1589. "show": true
  1590. }
  1591. ]
  1592. },
  1593. {
  1594. "aliasColors": {},
  1595. "bars": true,
  1596. "dashLength": 10,
  1597. "dashes": false,
  1598. "datasource": "${DS_MSSQL_TEST}",
  1599. "fill": 1,
  1600. "gridPos": {
  1601. "h": 8,
  1602. "w": 12,
  1603. "x": 0,
  1604. "y": 70
  1605. },
  1606. "id": 21,
  1607. "legend": {
  1608. "alignAsTable": true,
  1609. "avg": true,
  1610. "current": true,
  1611. "max": true,
  1612. "min": true,
  1613. "rightSide": true,
  1614. "show": false,
  1615. "total": true,
  1616. "values": true
  1617. },
  1618. "lines": false,
  1619. "linewidth": 1,
  1620. "links": [],
  1621. "nullPointMode": "null",
  1622. "percentage": false,
  1623. "pointradius": 5,
  1624. "points": false,
  1625. "renderer": "flot",
  1626. "seriesOverrides": [],
  1627. "spaceLength": 10,
  1628. "stack": true,
  1629. "steppedLine": false,
  1630. "targets": [
  1631. {
  1632. "alias": "",
  1633. "format": "time_series",
  1634. "rawSql": "SELECT $__timeEpoch(time), measurement as metric, valueOne, valueTwo FROM metric_values ORDER BY 1",
  1635. "refId": "A"
  1636. }
  1637. ],
  1638. "thresholds": [],
  1639. "timeFrom": null,
  1640. "timeShift": null,
  1641. "title": "Multiple series with metric column - histogram stacked",
  1642. "tooltip": {
  1643. "shared": true,
  1644. "sort": 0,
  1645. "value_type": "individual"
  1646. },
  1647. "type": "graph",
  1648. "xaxis": {
  1649. "buckets": 20,
  1650. "mode": "histogram",
  1651. "name": null,
  1652. "show": true,
  1653. "values": [
  1654. "current"
  1655. ]
  1656. },
  1657. "yaxes": [
  1658. {
  1659. "decimals": null,
  1660. "format": "short",
  1661. "label": null,
  1662. "logBase": 1,
  1663. "max": null,
  1664. "min": "0",
  1665. "show": true
  1666. },
  1667. {
  1668. "format": "short",
  1669. "label": null,
  1670. "logBase": 1,
  1671. "max": null,
  1672. "min": null,
  1673. "show": true
  1674. }
  1675. ]
  1676. },
  1677. {
  1678. "aliasColors": {},
  1679. "bars": true,
  1680. "dashLength": 10,
  1681. "dashes": false,
  1682. "datasource": "${DS_MSSQL_TEST}",
  1683. "fill": 1,
  1684. "gridPos": {
  1685. "h": 8,
  1686. "w": 12,
  1687. "x": 12,
  1688. "y": 70
  1689. },
  1690. "id": 26,
  1691. "legend": {
  1692. "alignAsTable": true,
  1693. "avg": true,
  1694. "current": true,
  1695. "max": true,
  1696. "min": true,
  1697. "rightSide": true,
  1698. "show": false,
  1699. "total": true,
  1700. "values": true
  1701. },
  1702. "lines": false,
  1703. "linewidth": 1,
  1704. "links": [],
  1705. "nullPointMode": "null",
  1706. "percentage": false,
  1707. "pointradius": 5,
  1708. "points": false,
  1709. "renderer": "flot",
  1710. "seriesOverrides": [],
  1711. "spaceLength": 10,
  1712. "stack": true,
  1713. "steppedLine": false,
  1714. "targets": [
  1715. {
  1716. "alias": "",
  1717. "format": "time_series",
  1718. "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values ORDER BY 1",
  1719. "refId": "A"
  1720. }
  1721. ],
  1722. "thresholds": [],
  1723. "timeFrom": null,
  1724. "timeShift": null,
  1725. "title": "Multiple series without metric column - histogram stacked",
  1726. "tooltip": {
  1727. "shared": true,
  1728. "sort": 0,
  1729. "value_type": "individual"
  1730. },
  1731. "type": "graph",
  1732. "xaxis": {
  1733. "buckets": 20,
  1734. "mode": "histogram",
  1735. "name": null,
  1736. "show": true,
  1737. "values": [
  1738. "total"
  1739. ]
  1740. },
  1741. "yaxes": [
  1742. {
  1743. "format": "short",
  1744. "label": null,
  1745. "logBase": 1,
  1746. "max": null,
  1747. "min": "0",
  1748. "show": true
  1749. },
  1750. {
  1751. "format": "short",
  1752. "label": null,
  1753. "logBase": 1,
  1754. "max": null,
  1755. "min": null,
  1756. "show": true
  1757. }
  1758. ]
  1759. },
  1760. {
  1761. "aliasColors": {},
  1762. "bars": true,
  1763. "dashLength": 10,
  1764. "dashes": false,
  1765. "datasource": "${DS_MSSQL_TEST}",
  1766. "fill": 1,
  1767. "gridPos": {
  1768. "h": 8,
  1769. "w": 12,
  1770. "x": 0,
  1771. "y": 78
  1772. },
  1773. "id": 23,
  1774. "legend": {
  1775. "alignAsTable": true,
  1776. "avg": true,
  1777. "current": true,
  1778. "max": true,
  1779. "min": true,
  1780. "rightSide": true,
  1781. "show": false,
  1782. "total": true,
  1783. "values": true
  1784. },
  1785. "lines": false,
  1786. "linewidth": 1,
  1787. "links": [],
  1788. "nullPointMode": "null",
  1789. "percentage": true,
  1790. "pointradius": 5,
  1791. "points": false,
  1792. "renderer": "flot",
  1793. "seriesOverrides": [],
  1794. "spaceLength": 10,
  1795. "stack": true,
  1796. "steppedLine": false,
  1797. "targets": [
  1798. {
  1799. "alias": "",
  1800. "format": "time_series",
  1801. "rawSql": "SELECT $__timeEpoch(time), measurement as metric, valueOne, valueTwo FROM metric_values ORDER BY 1",
  1802. "refId": "A"
  1803. }
  1804. ],
  1805. "thresholds": [],
  1806. "timeFrom": null,
  1807. "timeShift": null,
  1808. "title": "Multiple series with metric column - histogram stacked percent",
  1809. "tooltip": {
  1810. "shared": true,
  1811. "sort": 0,
  1812. "value_type": "individual"
  1813. },
  1814. "type": "graph",
  1815. "xaxis": {
  1816. "buckets": 20,
  1817. "mode": "histogram",
  1818. "name": null,
  1819. "show": true,
  1820. "values": [
  1821. "current"
  1822. ]
  1823. },
  1824. "yaxes": [
  1825. {
  1826. "decimals": null,
  1827. "format": "short",
  1828. "label": null,
  1829. "logBase": 1,
  1830. "max": null,
  1831. "min": "0",
  1832. "show": true
  1833. },
  1834. {
  1835. "format": "short",
  1836. "label": null,
  1837. "logBase": 1,
  1838. "max": null,
  1839. "min": null,
  1840. "show": true
  1841. }
  1842. ]
  1843. },
  1844. {
  1845. "aliasColors": {},
  1846. "bars": true,
  1847. "dashLength": 10,
  1848. "dashes": false,
  1849. "datasource": "${DS_MSSQL_TEST}",
  1850. "fill": 1,
  1851. "gridPos": {
  1852. "h": 8,
  1853. "w": 12,
  1854. "x": 12,
  1855. "y": 78
  1856. },
  1857. "id": 24,
  1858. "legend": {
  1859. "alignAsTable": true,
  1860. "avg": true,
  1861. "current": true,
  1862. "max": true,
  1863. "min": true,
  1864. "rightSide": true,
  1865. "show": false,
  1866. "total": true,
  1867. "values": true
  1868. },
  1869. "lines": false,
  1870. "linewidth": 1,
  1871. "links": [],
  1872. "nullPointMode": "null",
  1873. "percentage": true,
  1874. "pointradius": 5,
  1875. "points": false,
  1876. "renderer": "flot",
  1877. "seriesOverrides": [],
  1878. "spaceLength": 10,
  1879. "stack": true,
  1880. "steppedLine": false,
  1881. "targets": [
  1882. {
  1883. "alias": "",
  1884. "format": "time_series",
  1885. "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values ORDER BY 1",
  1886. "refId": "A"
  1887. }
  1888. ],
  1889. "thresholds": [],
  1890. "timeFrom": null,
  1891. "timeShift": null,
  1892. "title": "Multiple series without metric column - histogram stacked percent",
  1893. "tooltip": {
  1894. "shared": true,
  1895. "sort": 0,
  1896. "value_type": "individual"
  1897. },
  1898. "type": "graph",
  1899. "xaxis": {
  1900. "buckets": 20,
  1901. "mode": "histogram",
  1902. "name": null,
  1903. "show": true,
  1904. "values": [
  1905. "total"
  1906. ]
  1907. },
  1908. "yaxes": [
  1909. {
  1910. "format": "short",
  1911. "label": null,
  1912. "logBase": 1,
  1913. "max": null,
  1914. "min": "0",
  1915. "show": true
  1916. },
  1917. {
  1918. "format": "short",
  1919. "label": null,
  1920. "logBase": 1,
  1921. "max": null,
  1922. "min": null,
  1923. "show": true
  1924. }
  1925. ]
  1926. }
  1927. ],
  1928. "refresh": false,
  1929. "schemaVersion": 16,
  1930. "style": "dark",
  1931. "tags": [],
  1932. "templating": {
  1933. "list": [
  1934. {
  1935. "auto": false,
  1936. "auto_count": 30,
  1937. "auto_min": "10s",
  1938. "current": {
  1939. "text": "10m",
  1940. "value": "10m"
  1941. },
  1942. "hide": 0,
  1943. "label": "Interval",
  1944. "name": "summarize",
  1945. "options": [
  1946. {
  1947. "selected": false,
  1948. "text": "1s",
  1949. "value": "1s"
  1950. },
  1951. {
  1952. "selected": false,
  1953. "text": "10s",
  1954. "value": "10s"
  1955. },
  1956. {
  1957. "selected": false,
  1958. "text": "30s",
  1959. "value": "30s"
  1960. },
  1961. {
  1962. "selected": false,
  1963. "text": "1m",
  1964. "value": "1m"
  1965. },
  1966. {
  1967. "selected": false,
  1968. "text": "5m",
  1969. "value": "5m"
  1970. },
  1971. {
  1972. "selected": true,
  1973. "text": "10m",
  1974. "value": "10m"
  1975. }
  1976. ],
  1977. "query": "1s,10s,30s,1m,5m,10m",
  1978. "refresh": 2,
  1979. "type": "interval"
  1980. }
  1981. ]
  1982. },
  1983. "time": {
  1984. "from": "2018-03-15T12:30:00.000Z",
  1985. "to": "2018-03-15T13:55:00.000Z"
  1986. },
  1987. "timepicker": {
  1988. "refresh_intervals": [
  1989. "5s",
  1990. "10s",
  1991. "30s",
  1992. "1m",
  1993. "5m",
  1994. "15m",
  1995. "30m",
  1996. "1h",
  1997. "2h",
  1998. "1d"
  1999. ],
  2000. "time_options": [
  2001. "5m",
  2002. "15m",
  2003. "1h",
  2004. "6h",
  2005. "12h",
  2006. "24h",
  2007. "2d",
  2008. "7d",
  2009. "30d"
  2010. ]
  2011. },
  2012. "timezone": "",
  2013. "title": "Microsoft SQL Server Data Source Test",
  2014. "uid": "GlAqcPgmz",
  2015. "version": 31
  2016. }