dashboard.json 55 KB

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