dashboard.json 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412
  1. {
  2. "__inputs": [
  3. {
  4. "name": "DS_POSTGRES_TEST",
  5. "label": "Postgres TEST",
  6. "description": "",
  7. "type": "datasource",
  8. "pluginId": "postgres",
  9. "pluginName": "PostgreSQL"
  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": "postgres",
  28. "name": "PostgreSQL",
  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_POSTGRES_TEST}",
  51. "enable": false,
  52. "hide": false,
  53. "iconColor": "#6ed0e0",
  54. "limit": 100,
  55. "name": "Deploys",
  56. "rawQuery": "SELECT \"time_sec\" as time, description as text, tags FROM event WHERE $__unixEpochFilter(time_sec) AND tags='deploy' ORDER BY 1 ASC",
  57. "showIn": 0,
  58. "tags": [],
  59. "type": "tags"
  60. },
  61. {
  62. "datasource": "${DS_POSTGRES_TEST}",
  63. "enable": false,
  64. "hide": false,
  65. "iconColor": "rgba(255, 96, 96, 1)",
  66. "limit": 100,
  67. "name": "Tickets",
  68. "rawQuery": "SELECT \"time_sec\" as time, description as text, tags FROM event WHERE $__unixEpochFilter(time_sec) AND tags='ticket' ORDER BY 1 ASC",
  69. "showIn": 0,
  70. "tags": [],
  71. "type": "tags"
  72. },
  73. {
  74. "datasource": "${DS_POSTGRES_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_POSTGRES_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": 1523320929325,
  104. "links": [],
  105. "panels": [
  106. {
  107. "columns": [],
  108. "datasource": "${DS_POSTGRES_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": 1,
  123. "desc": false
  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 postgres_types",
  146. "refId": "A"
  147. }
  148. ],
  149. "title": "Data types",
  150. "transform": "table",
  151. "type": "table"
  152. },
  153. {
  154. "columns": [],
  155. "datasource": "${DS_POSTGRES_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",
  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 bigint) as time",
  199. "refId": "A",
  200. "target": ""
  201. }
  202. ],
  203. "title": "cast(null as bigint) as time",
  204. "transform": "table",
  205. "type": "table"
  206. },
  207. {
  208. "columns": [],
  209. "datasource": "${DS_POSTGRES_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",
  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 timestamp) as time",
  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_POSTGRES_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",
  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 localtimestamp as time",
  307. "refId": "A",
  308. "target": ""
  309. }
  310. ],
  311. "title": "localtimestamp as time",
  312. "transform": "table",
  313. "type": "table"
  314. },
  315. {
  316. "columns": [],
  317. "datasource": "${DS_POSTGRES_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_POSTGRES_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'), 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_POSTGRES_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), 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_POSTGRES_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), 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_POSTGRES_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'), 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_POSTGRES_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), 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_POSTGRES_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), 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_POSTGRES_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'), \n 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'), \n 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_POSTGRES_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. "spaceLength": 10,
  995. "stack": false,
  996. "steppedLine": false,
  997. "targets": [
  998. {
  999. "alias": "",
  1000. "format": "time_series",
  1001. "rawSql": "SELECT \n $__timeGroup(time, '$summarize'), \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",
  1002. "refId": "A"
  1003. }
  1004. ],
  1005. "thresholds": [],
  1006. "timeFrom": null,
  1007. "timeShift": null,
  1008. "title": "Multiple series without metric column using timeGroup macro ($summarize)",
  1009. "tooltip": {
  1010. "shared": true,
  1011. "sort": 0,
  1012. "value_type": "individual"
  1013. },
  1014. "type": "graph",
  1015. "xaxis": {
  1016. "buckets": null,
  1017. "mode": "time",
  1018. "name": null,
  1019. "show": true,
  1020. "values": []
  1021. },
  1022. "yaxes": [
  1023. {
  1024. "format": "short",
  1025. "label": null,
  1026. "logBase": 1,
  1027. "max": null,
  1028. "min": "0",
  1029. "show": true
  1030. },
  1031. {
  1032. "format": "short",
  1033. "label": null,
  1034. "logBase": 1,
  1035. "max": null,
  1036. "min": null,
  1037. "show": true
  1038. }
  1039. ],
  1040. "yaxis": {
  1041. "align": false,
  1042. "alignLevel": null
  1043. }
  1044. },
  1045. {
  1046. "aliasColors": {},
  1047. "bars": false,
  1048. "dashLength": 10,
  1049. "dashes": false,
  1050. "datasource": "${DS_POSTGRES_TEST}",
  1051. "fill": 2,
  1052. "gridPos": {
  1053. "h": 8,
  1054. "w": 12,
  1055. "x": 0,
  1056. "y": 33
  1057. },
  1058. "id": 4,
  1059. "legend": {
  1060. "alignAsTable": true,
  1061. "avg": true,
  1062. "current": true,
  1063. "hideEmpty": false,
  1064. "hideZero": false,
  1065. "max": true,
  1066. "min": true,
  1067. "rightSide": true,
  1068. "show": true,
  1069. "total": true,
  1070. "values": true
  1071. },
  1072. "lines": true,
  1073. "linewidth": 2,
  1074. "links": [],
  1075. "nullPointMode": "null",
  1076. "percentage": false,
  1077. "pointradius": 3,
  1078. "points": false,
  1079. "renderer": "flot",
  1080. "seriesOverrides": [],
  1081. "spaceLength": 10,
  1082. "stack": false,
  1083. "steppedLine": false,
  1084. "targets": [
  1085. {
  1086. "alias": "",
  1087. "format": "time_series",
  1088. "rawSql": "SELECT $__timeEpoch(time), measurement || ' - value one' as metric, \"valueOne\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1089. "refId": "A"
  1090. },
  1091. {
  1092. "alias": "",
  1093. "format": "time_series",
  1094. "rawSql": "SELECT $__timeEpoch(time), measurement || ' - value two' as metric, \"valueTwo\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1095. "refId": "B"
  1096. }
  1097. ],
  1098. "thresholds": [],
  1099. "timeFrom": null,
  1100. "timeShift": null,
  1101. "title": "Multiple series with metric column",
  1102. "tooltip": {
  1103. "shared": true,
  1104. "sort": 0,
  1105. "value_type": "individual"
  1106. },
  1107. "type": "graph",
  1108. "xaxis": {
  1109. "buckets": null,
  1110. "mode": "time",
  1111. "name": null,
  1112. "show": true,
  1113. "values": []
  1114. },
  1115. "yaxes": [
  1116. {
  1117. "format": "short",
  1118. "label": null,
  1119. "logBase": 1,
  1120. "max": null,
  1121. "min": "0",
  1122. "show": true
  1123. },
  1124. {
  1125. "format": "short",
  1126. "label": null,
  1127. "logBase": 1,
  1128. "max": null,
  1129. "min": null,
  1130. "show": true
  1131. }
  1132. ],
  1133. "yaxis": {
  1134. "align": false,
  1135. "alignLevel": null
  1136. }
  1137. },
  1138. {
  1139. "aliasColors": {},
  1140. "bars": false,
  1141. "dashLength": 10,
  1142. "dashes": false,
  1143. "datasource": "${DS_POSTGRES_TEST}",
  1144. "fill": 2,
  1145. "gridPos": {
  1146. "h": 8,
  1147. "w": 12,
  1148. "x": 12,
  1149. "y": 33
  1150. },
  1151. "id": 28,
  1152. "legend": {
  1153. "alignAsTable": true,
  1154. "avg": true,
  1155. "current": true,
  1156. "max": true,
  1157. "min": true,
  1158. "rightSide": true,
  1159. "show": true,
  1160. "total": true,
  1161. "values": true
  1162. },
  1163. "lines": true,
  1164. "linewidth": 2,
  1165. "links": [],
  1166. "nullPointMode": "null",
  1167. "percentage": false,
  1168. "pointradius": 3,
  1169. "points": false,
  1170. "renderer": "flot",
  1171. "seriesOverrides": [],
  1172. "spaceLength": 10,
  1173. "stack": false,
  1174. "steppedLine": false,
  1175. "targets": [
  1176. {
  1177. "alias": "",
  1178. "format": "time_series",
  1179. "rawSql": "SELECT $__timeEpoch(time), \"valueOne\", \"valueTwo\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1180. "refId": "A"
  1181. }
  1182. ],
  1183. "thresholds": [],
  1184. "timeFrom": null,
  1185. "timeShift": null,
  1186. "title": "Multiple series without metric column",
  1187. "tooltip": {
  1188. "shared": true,
  1189. "sort": 0,
  1190. "value_type": "individual"
  1191. },
  1192. "type": "graph",
  1193. "xaxis": {
  1194. "buckets": null,
  1195. "mode": "time",
  1196. "name": null,
  1197. "show": true,
  1198. "values": []
  1199. },
  1200. "yaxes": [
  1201. {
  1202. "format": "short",
  1203. "label": null,
  1204. "logBase": 1,
  1205. "max": null,
  1206. "min": "0",
  1207. "show": true
  1208. },
  1209. {
  1210. "format": "short",
  1211. "label": null,
  1212. "logBase": 1,
  1213. "max": null,
  1214. "min": null,
  1215. "show": true
  1216. }
  1217. ],
  1218. "yaxis": {
  1219. "align": false,
  1220. "alignLevel": null
  1221. }
  1222. },
  1223. {
  1224. "aliasColors": {},
  1225. "bars": false,
  1226. "dashLength": 10,
  1227. "dashes": false,
  1228. "datasource": "${DS_POSTGRES_TEST}",
  1229. "fill": 2,
  1230. "gridPos": {
  1231. "h": 8,
  1232. "w": 12,
  1233. "x": 0,
  1234. "y": 41
  1235. },
  1236. "id": 19,
  1237. "legend": {
  1238. "alignAsTable": true,
  1239. "avg": true,
  1240. "current": true,
  1241. "hideEmpty": false,
  1242. "hideZero": false,
  1243. "max": true,
  1244. "min": true,
  1245. "rightSide": true,
  1246. "show": true,
  1247. "total": true,
  1248. "values": true
  1249. },
  1250. "lines": true,
  1251. "linewidth": 2,
  1252. "links": [],
  1253. "nullPointMode": "null",
  1254. "percentage": false,
  1255. "pointradius": 3,
  1256. "points": false,
  1257. "renderer": "flot",
  1258. "seriesOverrides": [],
  1259. "spaceLength": 10,
  1260. "stack": true,
  1261. "steppedLine": false,
  1262. "targets": [
  1263. {
  1264. "alias": "",
  1265. "format": "time_series",
  1266. "rawSql": "SELECT $__timeEpoch(time), measurement || ' - value one' as metric, \"valueOne\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1267. "refId": "A"
  1268. },
  1269. {
  1270. "alias": "",
  1271. "format": "time_series",
  1272. "rawSql": "SELECT $__timeEpoch(time), measurement || ' - value two' as metric, \"valueTwo\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1273. "refId": "B"
  1274. }
  1275. ],
  1276. "thresholds": [],
  1277. "timeFrom": null,
  1278. "timeShift": null,
  1279. "title": "Multiple series with metric column - stacked",
  1280. "tooltip": {
  1281. "shared": true,
  1282. "sort": 0,
  1283. "value_type": "individual"
  1284. },
  1285. "type": "graph",
  1286. "xaxis": {
  1287. "buckets": null,
  1288. "mode": "time",
  1289. "name": null,
  1290. "show": true,
  1291. "values": []
  1292. },
  1293. "yaxes": [
  1294. {
  1295. "format": "short",
  1296. "label": null,
  1297. "logBase": 1,
  1298. "max": null,
  1299. "min": "0",
  1300. "show": true
  1301. },
  1302. {
  1303. "format": "short",
  1304. "label": null,
  1305. "logBase": 1,
  1306. "max": null,
  1307. "min": null,
  1308. "show": true
  1309. }
  1310. ],
  1311. "yaxis": {
  1312. "align": false,
  1313. "alignLevel": null
  1314. }
  1315. },
  1316. {
  1317. "aliasColors": {},
  1318. "bars": false,
  1319. "dashLength": 10,
  1320. "dashes": false,
  1321. "datasource": "${DS_POSTGRES_TEST}",
  1322. "fill": 2,
  1323. "gridPos": {
  1324. "h": 8,
  1325. "w": 12,
  1326. "x": 12,
  1327. "y": 41
  1328. },
  1329. "id": 18,
  1330. "legend": {
  1331. "alignAsTable": true,
  1332. "avg": true,
  1333. "current": true,
  1334. "max": true,
  1335. "min": true,
  1336. "rightSide": true,
  1337. "show": true,
  1338. "total": true,
  1339. "values": true
  1340. },
  1341. "lines": true,
  1342. "linewidth": 2,
  1343. "links": [],
  1344. "nullPointMode": "null",
  1345. "percentage": false,
  1346. "pointradius": 3,
  1347. "points": false,
  1348. "renderer": "flot",
  1349. "seriesOverrides": [],
  1350. "spaceLength": 10,
  1351. "stack": true,
  1352. "steppedLine": false,
  1353. "targets": [
  1354. {
  1355. "alias": "",
  1356. "format": "time_series",
  1357. "rawSql": "SELECT $__timeEpoch(time), \"valueOne\", \"valueTwo\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1358. "refId": "A"
  1359. }
  1360. ],
  1361. "thresholds": [],
  1362. "timeFrom": null,
  1363. "timeShift": null,
  1364. "title": "Multiple series without metric column - stacked",
  1365. "tooltip": {
  1366. "shared": true,
  1367. "sort": 0,
  1368. "value_type": "individual"
  1369. },
  1370. "type": "graph",
  1371. "xaxis": {
  1372. "buckets": null,
  1373. "mode": "time",
  1374. "name": null,
  1375. "show": true,
  1376. "values": []
  1377. },
  1378. "yaxes": [
  1379. {
  1380. "format": "short",
  1381. "label": null,
  1382. "logBase": 1,
  1383. "max": null,
  1384. "min": "0",
  1385. "show": true
  1386. },
  1387. {
  1388. "format": "short",
  1389. "label": null,
  1390. "logBase": 1,
  1391. "max": null,
  1392. "min": null,
  1393. "show": true
  1394. }
  1395. ],
  1396. "yaxis": {
  1397. "align": false,
  1398. "alignLevel": null
  1399. }
  1400. },
  1401. {
  1402. "aliasColors": {},
  1403. "bars": false,
  1404. "dashLength": 10,
  1405. "dashes": false,
  1406. "datasource": "${DS_POSTGRES_TEST}",
  1407. "fill": 2,
  1408. "gridPos": {
  1409. "h": 8,
  1410. "w": 12,
  1411. "x": 0,
  1412. "y": 49
  1413. },
  1414. "id": 17,
  1415. "legend": {
  1416. "alignAsTable": true,
  1417. "avg": true,
  1418. "current": true,
  1419. "hideEmpty": false,
  1420. "hideZero": false,
  1421. "max": true,
  1422. "min": true,
  1423. "rightSide": true,
  1424. "show": true,
  1425. "total": true,
  1426. "values": true
  1427. },
  1428. "lines": true,
  1429. "linewidth": 2,
  1430. "links": [],
  1431. "nullPointMode": "null",
  1432. "percentage": true,
  1433. "pointradius": 3,
  1434. "points": false,
  1435. "renderer": "flot",
  1436. "seriesOverrides": [],
  1437. "spaceLength": 10,
  1438. "stack": true,
  1439. "steppedLine": false,
  1440. "targets": [
  1441. {
  1442. "alias": "",
  1443. "format": "time_series",
  1444. "rawSql": "SELECT $__timeEpoch(time), measurement || ' - value one' as metric, \"valueOne\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1445. "refId": "A"
  1446. },
  1447. {
  1448. "alias": "",
  1449. "format": "time_series",
  1450. "rawSql": "SELECT $__timeEpoch(time), measurement || ' - value two' as metric, \"valueTwo\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1451. "refId": "B"
  1452. }
  1453. ],
  1454. "thresholds": [],
  1455. "timeFrom": null,
  1456. "timeShift": null,
  1457. "title": "Multiple series with metric column - stacked percent",
  1458. "tooltip": {
  1459. "shared": true,
  1460. "sort": 0,
  1461. "value_type": "individual"
  1462. },
  1463. "type": "graph",
  1464. "xaxis": {
  1465. "buckets": null,
  1466. "mode": "time",
  1467. "name": null,
  1468. "show": true,
  1469. "values": []
  1470. },
  1471. "yaxes": [
  1472. {
  1473. "format": "short",
  1474. "label": null,
  1475. "logBase": 1,
  1476. "max": null,
  1477. "min": "0",
  1478. "show": true
  1479. },
  1480. {
  1481. "format": "short",
  1482. "label": null,
  1483. "logBase": 1,
  1484. "max": null,
  1485. "min": null,
  1486. "show": true
  1487. }
  1488. ],
  1489. "yaxis": {
  1490. "align": false,
  1491. "alignLevel": null
  1492. }
  1493. },
  1494. {
  1495. "aliasColors": {},
  1496. "bars": false,
  1497. "dashLength": 10,
  1498. "dashes": false,
  1499. "datasource": "${DS_POSTGRES_TEST}",
  1500. "fill": 2,
  1501. "gridPos": {
  1502. "h": 8,
  1503. "w": 12,
  1504. "x": 12,
  1505. "y": 49
  1506. },
  1507. "id": 20,
  1508. "legend": {
  1509. "alignAsTable": true,
  1510. "avg": true,
  1511. "current": true,
  1512. "max": true,
  1513. "min": true,
  1514. "rightSide": true,
  1515. "show": true,
  1516. "total": true,
  1517. "values": true
  1518. },
  1519. "lines": true,
  1520. "linewidth": 2,
  1521. "links": [],
  1522. "nullPointMode": "null",
  1523. "percentage": true,
  1524. "pointradius": 3,
  1525. "points": false,
  1526. "renderer": "flot",
  1527. "seriesOverrides": [],
  1528. "spaceLength": 10,
  1529. "stack": true,
  1530. "steppedLine": false,
  1531. "targets": [
  1532. {
  1533. "alias": "",
  1534. "format": "time_series",
  1535. "rawSql": "SELECT $__timeEpoch(time), \"valueOne\", \"valueTwo\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1536. "refId": "A"
  1537. }
  1538. ],
  1539. "thresholds": [],
  1540. "timeFrom": null,
  1541. "timeShift": null,
  1542. "title": "Multiple series without metric column - stacked percent",
  1543. "tooltip": {
  1544. "shared": true,
  1545. "sort": 0,
  1546. "value_type": "individual"
  1547. },
  1548. "type": "graph",
  1549. "xaxis": {
  1550. "buckets": null,
  1551. "mode": "time",
  1552. "name": null,
  1553. "show": true,
  1554. "values": []
  1555. },
  1556. "yaxes": [
  1557. {
  1558. "format": "short",
  1559. "label": null,
  1560. "logBase": 1,
  1561. "max": null,
  1562. "min": "0",
  1563. "show": true
  1564. },
  1565. {
  1566. "format": "short",
  1567. "label": null,
  1568. "logBase": 1,
  1569. "max": null,
  1570. "min": null,
  1571. "show": true
  1572. }
  1573. ],
  1574. "yaxis": {
  1575. "align": false,
  1576. "alignLevel": null
  1577. }
  1578. },
  1579. {
  1580. "aliasColors": {},
  1581. "bars": true,
  1582. "dashLength": 10,
  1583. "dashes": false,
  1584. "datasource": "${DS_POSTGRES_TEST}",
  1585. "fill": 1,
  1586. "gridPos": {
  1587. "h": 8,
  1588. "w": 12,
  1589. "x": 0,
  1590. "y": 57
  1591. },
  1592. "id": 14,
  1593. "legend": {
  1594. "alignAsTable": true,
  1595. "avg": true,
  1596. "current": true,
  1597. "max": true,
  1598. "min": true,
  1599. "rightSide": true,
  1600. "show": true,
  1601. "total": true,
  1602. "values": true
  1603. },
  1604. "lines": false,
  1605. "linewidth": 1,
  1606. "links": [],
  1607. "nullPointMode": "null",
  1608. "percentage": false,
  1609. "pointradius": 5,
  1610. "points": false,
  1611. "renderer": "flot",
  1612. "seriesOverrides": [],
  1613. "spaceLength": 10,
  1614. "stack": false,
  1615. "steppedLine": false,
  1616. "targets": [
  1617. {
  1618. "alias": "",
  1619. "format": "time_series",
  1620. "rawSql": "SELECT $__timeEpoch(time), measurement || ' - value one' as metric, \"valueOne\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1621. "refId": "A"
  1622. },
  1623. {
  1624. "alias": "",
  1625. "format": "time_series",
  1626. "rawSql": "SELECT $__timeEpoch(time), measurement || ' - value two' as metric, \"valueTwo\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1627. "refId": "B"
  1628. }
  1629. ],
  1630. "thresholds": [],
  1631. "timeFrom": null,
  1632. "timeShift": null,
  1633. "title": "Multiple series with metric column - series mode",
  1634. "tooltip": {
  1635. "shared": false,
  1636. "sort": 0,
  1637. "value_type": "individual"
  1638. },
  1639. "type": "graph",
  1640. "xaxis": {
  1641. "buckets": null,
  1642. "mode": "series",
  1643. "name": null,
  1644. "show": true,
  1645. "values": [
  1646. "total"
  1647. ]
  1648. },
  1649. "yaxes": [
  1650. {
  1651. "decimals": null,
  1652. "format": "short",
  1653. "label": null,
  1654. "logBase": 1,
  1655. "max": null,
  1656. "min": "0",
  1657. "show": true
  1658. },
  1659. {
  1660. "format": "short",
  1661. "label": null,
  1662. "logBase": 1,
  1663. "max": null,
  1664. "min": null,
  1665. "show": true
  1666. }
  1667. ],
  1668. "yaxis": {
  1669. "align": false,
  1670. "alignLevel": null
  1671. }
  1672. },
  1673. {
  1674. "aliasColors": {},
  1675. "bars": true,
  1676. "dashLength": 10,
  1677. "dashes": false,
  1678. "datasource": "${DS_POSTGRES_TEST}",
  1679. "fill": 1,
  1680. "gridPos": {
  1681. "h": 8,
  1682. "w": 12,
  1683. "x": 12,
  1684. "y": 57
  1685. },
  1686. "id": 15,
  1687. "legend": {
  1688. "alignAsTable": true,
  1689. "avg": true,
  1690. "current": true,
  1691. "max": true,
  1692. "min": true,
  1693. "rightSide": true,
  1694. "show": true,
  1695. "total": true,
  1696. "values": true
  1697. },
  1698. "lines": false,
  1699. "linewidth": 1,
  1700. "links": [],
  1701. "nullPointMode": "null",
  1702. "percentage": false,
  1703. "pointradius": 5,
  1704. "points": false,
  1705. "renderer": "flot",
  1706. "seriesOverrides": [],
  1707. "spaceLength": 10,
  1708. "stack": false,
  1709. "steppedLine": false,
  1710. "targets": [
  1711. {
  1712. "alias": "",
  1713. "format": "time_series",
  1714. "rawSql": "SELECT $__timeEpoch(time), \"valueOne\", \"valueTwo\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1715. "refId": "A"
  1716. }
  1717. ],
  1718. "thresholds": [],
  1719. "timeFrom": null,
  1720. "timeShift": null,
  1721. "title": "Multiple series without metric column - series mode",
  1722. "tooltip": {
  1723. "shared": false,
  1724. "sort": 0,
  1725. "value_type": "individual"
  1726. },
  1727. "type": "graph",
  1728. "xaxis": {
  1729. "buckets": null,
  1730. "mode": "series",
  1731. "name": null,
  1732. "show": true,
  1733. "values": [
  1734. "total"
  1735. ]
  1736. },
  1737. "yaxes": [
  1738. {
  1739. "format": "short",
  1740. "label": null,
  1741. "logBase": 1,
  1742. "max": null,
  1743. "min": "0",
  1744. "show": true
  1745. },
  1746. {
  1747. "format": "short",
  1748. "label": null,
  1749. "logBase": 1,
  1750. "max": null,
  1751. "min": null,
  1752. "show": true
  1753. }
  1754. ],
  1755. "yaxis": {
  1756. "align": false,
  1757. "alignLevel": null
  1758. }
  1759. },
  1760. {
  1761. "aliasColors": {},
  1762. "bars": true,
  1763. "dashLength": 10,
  1764. "dashes": false,
  1765. "datasource": "${DS_POSTGRES_TEST}",
  1766. "fill": 1,
  1767. "gridPos": {
  1768. "h": 8,
  1769. "w": 12,
  1770. "x": 0,
  1771. "y": 65
  1772. },
  1773. "id": 25,
  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": false,
  1790. "pointradius": 5,
  1791. "points": false,
  1792. "renderer": "flot",
  1793. "seriesOverrides": [],
  1794. "spaceLength": 10,
  1795. "stack": false,
  1796. "steppedLine": false,
  1797. "targets": [
  1798. {
  1799. "alias": "",
  1800. "format": "time_series",
  1801. "rawSql": "SELECT $__timeEpoch(time), measurement || ' - value one' as metric, \"valueOne\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1802. "refId": "A"
  1803. },
  1804. {
  1805. "alias": "",
  1806. "format": "time_series",
  1807. "rawSql": "SELECT $__timeEpoch(time), measurement || ' - value two' as metric, \"valueTwo\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1808. "refId": "B"
  1809. }
  1810. ],
  1811. "thresholds": [],
  1812. "timeFrom": null,
  1813. "timeShift": null,
  1814. "title": "Multiple series with metric column - histogram",
  1815. "tooltip": {
  1816. "shared": true,
  1817. "sort": 0,
  1818. "value_type": "individual"
  1819. },
  1820. "type": "graph",
  1821. "xaxis": {
  1822. "buckets": 50,
  1823. "mode": "histogram",
  1824. "name": null,
  1825. "show": true,
  1826. "values": [
  1827. "current"
  1828. ]
  1829. },
  1830. "yaxes": [
  1831. {
  1832. "decimals": null,
  1833. "format": "short",
  1834. "label": null,
  1835. "logBase": 1,
  1836. "max": null,
  1837. "min": "0",
  1838. "show": true
  1839. },
  1840. {
  1841. "format": "short",
  1842. "label": null,
  1843. "logBase": 1,
  1844. "max": null,
  1845. "min": null,
  1846. "show": true
  1847. }
  1848. ],
  1849. "yaxis": {
  1850. "align": false,
  1851. "alignLevel": null
  1852. }
  1853. },
  1854. {
  1855. "aliasColors": {},
  1856. "bars": true,
  1857. "dashLength": 10,
  1858. "dashes": false,
  1859. "datasource": "${DS_POSTGRES_TEST}",
  1860. "fill": 1,
  1861. "gridPos": {
  1862. "h": 8,
  1863. "w": 12,
  1864. "x": 12,
  1865. "y": 65
  1866. },
  1867. "id": 22,
  1868. "legend": {
  1869. "alignAsTable": true,
  1870. "avg": true,
  1871. "current": true,
  1872. "max": true,
  1873. "min": true,
  1874. "rightSide": true,
  1875. "show": false,
  1876. "total": true,
  1877. "values": true
  1878. },
  1879. "lines": false,
  1880. "linewidth": 1,
  1881. "links": [],
  1882. "nullPointMode": "null",
  1883. "percentage": false,
  1884. "pointradius": 5,
  1885. "points": false,
  1886. "renderer": "flot",
  1887. "seriesOverrides": [],
  1888. "spaceLength": 10,
  1889. "stack": false,
  1890. "steppedLine": false,
  1891. "targets": [
  1892. {
  1893. "alias": "",
  1894. "format": "time_series",
  1895. "rawSql": "SELECT $__timeEpoch(time), \"valueOne\", \"valueTwo\" FROM metric_values\nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1896. "refId": "A"
  1897. }
  1898. ],
  1899. "thresholds": [],
  1900. "timeFrom": null,
  1901. "timeShift": null,
  1902. "title": "Multiple series without metric column - histogram",
  1903. "tooltip": {
  1904. "shared": true,
  1905. "sort": 0,
  1906. "value_type": "individual"
  1907. },
  1908. "type": "graph",
  1909. "xaxis": {
  1910. "buckets": 100,
  1911. "mode": "histogram",
  1912. "name": null,
  1913. "show": true,
  1914. "values": [
  1915. "total"
  1916. ]
  1917. },
  1918. "yaxes": [
  1919. {
  1920. "format": "short",
  1921. "label": null,
  1922. "logBase": 1,
  1923. "max": null,
  1924. "min": "0",
  1925. "show": true
  1926. },
  1927. {
  1928. "format": "short",
  1929. "label": null,
  1930. "logBase": 1,
  1931. "max": null,
  1932. "min": null,
  1933. "show": true
  1934. }
  1935. ],
  1936. "yaxis": {
  1937. "align": false,
  1938. "alignLevel": null
  1939. }
  1940. },
  1941. {
  1942. "aliasColors": {},
  1943. "bars": true,
  1944. "dashLength": 10,
  1945. "dashes": false,
  1946. "datasource": "${DS_POSTGRES_TEST}",
  1947. "fill": 1,
  1948. "gridPos": {
  1949. "h": 8,
  1950. "w": 12,
  1951. "x": 0,
  1952. "y": 73
  1953. },
  1954. "id": 21,
  1955. "legend": {
  1956. "alignAsTable": true,
  1957. "avg": true,
  1958. "current": true,
  1959. "max": true,
  1960. "min": true,
  1961. "rightSide": true,
  1962. "show": false,
  1963. "total": true,
  1964. "values": true
  1965. },
  1966. "lines": false,
  1967. "linewidth": 1,
  1968. "links": [],
  1969. "nullPointMode": "null",
  1970. "percentage": false,
  1971. "pointradius": 5,
  1972. "points": false,
  1973. "renderer": "flot",
  1974. "seriesOverrides": [],
  1975. "spaceLength": 10,
  1976. "stack": true,
  1977. "steppedLine": false,
  1978. "targets": [
  1979. {
  1980. "alias": "",
  1981. "format": "time_series",
  1982. "rawSql": "SELECT $__timeEpoch(time), measurement || ' - value one' as metric, \"valueOne\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1983. "refId": "A"
  1984. },
  1985. {
  1986. "alias": "",
  1987. "format": "time_series",
  1988. "rawSql": "SELECT $__timeEpoch(time), measurement || ' - value two' as metric, \"valueTwo\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  1989. "refId": "B"
  1990. }
  1991. ],
  1992. "thresholds": [],
  1993. "timeFrom": null,
  1994. "timeShift": null,
  1995. "title": "Multiple series with metric column - histogram stacked",
  1996. "tooltip": {
  1997. "shared": true,
  1998. "sort": 0,
  1999. "value_type": "individual"
  2000. },
  2001. "type": "graph",
  2002. "xaxis": {
  2003. "buckets": 20,
  2004. "mode": "histogram",
  2005. "name": null,
  2006. "show": true,
  2007. "values": [
  2008. "current"
  2009. ]
  2010. },
  2011. "yaxes": [
  2012. {
  2013. "decimals": null,
  2014. "format": "short",
  2015. "label": null,
  2016. "logBase": 1,
  2017. "max": null,
  2018. "min": "0",
  2019. "show": true
  2020. },
  2021. {
  2022. "format": "short",
  2023. "label": null,
  2024. "logBase": 1,
  2025. "max": null,
  2026. "min": null,
  2027. "show": true
  2028. }
  2029. ],
  2030. "yaxis": {
  2031. "align": false,
  2032. "alignLevel": null
  2033. }
  2034. },
  2035. {
  2036. "aliasColors": {},
  2037. "bars": true,
  2038. "dashLength": 10,
  2039. "dashes": false,
  2040. "datasource": "${DS_POSTGRES_TEST}",
  2041. "fill": 1,
  2042. "gridPos": {
  2043. "h": 8,
  2044. "w": 12,
  2045. "x": 12,
  2046. "y": 73
  2047. },
  2048. "id": 26,
  2049. "legend": {
  2050. "alignAsTable": true,
  2051. "avg": true,
  2052. "current": true,
  2053. "max": true,
  2054. "min": true,
  2055. "rightSide": true,
  2056. "show": false,
  2057. "total": true,
  2058. "values": true
  2059. },
  2060. "lines": false,
  2061. "linewidth": 1,
  2062. "links": [],
  2063. "nullPointMode": "null",
  2064. "percentage": false,
  2065. "pointradius": 5,
  2066. "points": false,
  2067. "renderer": "flot",
  2068. "seriesOverrides": [],
  2069. "spaceLength": 10,
  2070. "stack": true,
  2071. "steppedLine": false,
  2072. "targets": [
  2073. {
  2074. "alias": "",
  2075. "format": "time_series",
  2076. "rawSql": "SELECT $__timeEpoch(time), \"valueOne\", \"valueTwo\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  2077. "refId": "A"
  2078. }
  2079. ],
  2080. "thresholds": [],
  2081. "timeFrom": null,
  2082. "timeShift": null,
  2083. "title": "Multiple series without metric column - histogram stacked",
  2084. "tooltip": {
  2085. "shared": true,
  2086. "sort": 0,
  2087. "value_type": "individual"
  2088. },
  2089. "type": "graph",
  2090. "xaxis": {
  2091. "buckets": 20,
  2092. "mode": "histogram",
  2093. "name": null,
  2094. "show": true,
  2095. "values": [
  2096. "total"
  2097. ]
  2098. },
  2099. "yaxes": [
  2100. {
  2101. "format": "short",
  2102. "label": null,
  2103. "logBase": 1,
  2104. "max": null,
  2105. "min": "0",
  2106. "show": true
  2107. },
  2108. {
  2109. "format": "short",
  2110. "label": null,
  2111. "logBase": 1,
  2112. "max": null,
  2113. "min": null,
  2114. "show": true
  2115. }
  2116. ],
  2117. "yaxis": {
  2118. "align": false,
  2119. "alignLevel": null
  2120. }
  2121. },
  2122. {
  2123. "aliasColors": {},
  2124. "bars": true,
  2125. "dashLength": 10,
  2126. "dashes": false,
  2127. "datasource": "${DS_POSTGRES_TEST}",
  2128. "fill": 1,
  2129. "gridPos": {
  2130. "h": 8,
  2131. "w": 12,
  2132. "x": 0,
  2133. "y": 81
  2134. },
  2135. "id": 23,
  2136. "legend": {
  2137. "alignAsTable": true,
  2138. "avg": true,
  2139. "current": true,
  2140. "max": true,
  2141. "min": true,
  2142. "rightSide": true,
  2143. "show": false,
  2144. "total": true,
  2145. "values": true
  2146. },
  2147. "lines": false,
  2148. "linewidth": 1,
  2149. "links": [],
  2150. "nullPointMode": "null",
  2151. "percentage": true,
  2152. "pointradius": 5,
  2153. "points": false,
  2154. "renderer": "flot",
  2155. "seriesOverrides": [],
  2156. "spaceLength": 10,
  2157. "stack": true,
  2158. "steppedLine": false,
  2159. "targets": [
  2160. {
  2161. "alias": "",
  2162. "format": "time_series",
  2163. "rawSql": "SELECT $__timeEpoch(time), measurement || ' - value one' as metric, \"valueOne\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  2164. "refId": "A"
  2165. },
  2166. {
  2167. "alias": "",
  2168. "format": "time_series",
  2169. "rawSql": "SELECT $__timeEpoch(time), measurement || ' - value two' as metric, \"valueTwo\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  2170. "refId": "B"
  2171. }
  2172. ],
  2173. "thresholds": [],
  2174. "timeFrom": null,
  2175. "timeShift": null,
  2176. "title": "Multiple series with metric column - histogram stacked percent",
  2177. "tooltip": {
  2178. "shared": true,
  2179. "sort": 0,
  2180. "value_type": "individual"
  2181. },
  2182. "type": "graph",
  2183. "xaxis": {
  2184. "buckets": 20,
  2185. "mode": "histogram",
  2186. "name": null,
  2187. "show": true,
  2188. "values": [
  2189. "current"
  2190. ]
  2191. },
  2192. "yaxes": [
  2193. {
  2194. "decimals": null,
  2195. "format": "short",
  2196. "label": null,
  2197. "logBase": 1,
  2198. "max": null,
  2199. "min": "0",
  2200. "show": true
  2201. },
  2202. {
  2203. "format": "short",
  2204. "label": null,
  2205. "logBase": 1,
  2206. "max": null,
  2207. "min": null,
  2208. "show": true
  2209. }
  2210. ],
  2211. "yaxis": {
  2212. "align": false,
  2213. "alignLevel": null
  2214. }
  2215. },
  2216. {
  2217. "aliasColors": {},
  2218. "bars": true,
  2219. "dashLength": 10,
  2220. "dashes": false,
  2221. "datasource": "${DS_POSTGRES_TEST}",
  2222. "fill": 1,
  2223. "gridPos": {
  2224. "h": 8,
  2225. "w": 12,
  2226. "x": 12,
  2227. "y": 81
  2228. },
  2229. "id": 24,
  2230. "legend": {
  2231. "alignAsTable": true,
  2232. "avg": true,
  2233. "current": true,
  2234. "max": true,
  2235. "min": true,
  2236. "rightSide": true,
  2237. "show": false,
  2238. "total": true,
  2239. "values": true
  2240. },
  2241. "lines": false,
  2242. "linewidth": 1,
  2243. "links": [],
  2244. "nullPointMode": "null",
  2245. "percentage": true,
  2246. "pointradius": 5,
  2247. "points": false,
  2248. "renderer": "flot",
  2249. "seriesOverrides": [],
  2250. "spaceLength": 10,
  2251. "stack": true,
  2252. "steppedLine": false,
  2253. "targets": [
  2254. {
  2255. "alias": "",
  2256. "format": "time_series",
  2257. "rawSql": "SELECT $__timeEpoch(time), \"valueOne\", \"valueTwo\" FROM metric_values \nWHERE $__timeFilter(time) AND measurement in($metric) ORDER BY 1",
  2258. "refId": "A"
  2259. }
  2260. ],
  2261. "thresholds": [],
  2262. "timeFrom": null,
  2263. "timeShift": null,
  2264. "title": "Multiple series without metric column - histogram stacked percent",
  2265. "tooltip": {
  2266. "shared": true,
  2267. "sort": 0,
  2268. "value_type": "individual"
  2269. },
  2270. "type": "graph",
  2271. "xaxis": {
  2272. "buckets": 20,
  2273. "mode": "histogram",
  2274. "name": null,
  2275. "show": true,
  2276. "values": [
  2277. "total"
  2278. ]
  2279. },
  2280. "yaxes": [
  2281. {
  2282. "format": "short",
  2283. "label": null,
  2284. "logBase": 1,
  2285. "max": null,
  2286. "min": "0",
  2287. "show": true
  2288. },
  2289. {
  2290. "format": "short",
  2291. "label": null,
  2292. "logBase": 1,
  2293. "max": null,
  2294. "min": null,
  2295. "show": true
  2296. }
  2297. ],
  2298. "yaxis": {
  2299. "align": false,
  2300. "alignLevel": null
  2301. }
  2302. }
  2303. ],
  2304. "refresh": false,
  2305. "schemaVersion": 16,
  2306. "style": "dark",
  2307. "tags": [],
  2308. "templating": {
  2309. "list": [
  2310. {
  2311. "allValue": null,
  2312. "current": {},
  2313. "datasource": "${DS_POSTGRES_TEST}",
  2314. "hide": 0,
  2315. "includeAll": true,
  2316. "label": "Metric",
  2317. "multi": true,
  2318. "name": "metric",
  2319. "options": [],
  2320. "query": "SELECT DISTINCT measurement FROM metric_values",
  2321. "refresh": 1,
  2322. "regex": "",
  2323. "sort": 1,
  2324. "tagValuesQuery": "",
  2325. "tags": [],
  2326. "tagsQuery": "",
  2327. "type": "query",
  2328. "useTags": false
  2329. },
  2330. {
  2331. "auto": false,
  2332. "auto_count": 30,
  2333. "auto_min": "10s",
  2334. "current": {
  2335. "text": "10m",
  2336. "value": "10m"
  2337. },
  2338. "hide": 0,
  2339. "label": "Interval",
  2340. "name": "summarize",
  2341. "options": [
  2342. {
  2343. "selected": false,
  2344. "text": "1s",
  2345. "value": "1s"
  2346. },
  2347. {
  2348. "selected": false,
  2349. "text": "10s",
  2350. "value": "10s"
  2351. },
  2352. {
  2353. "selected": false,
  2354. "text": "30s",
  2355. "value": "30s"
  2356. },
  2357. {
  2358. "selected": false,
  2359. "text": "1m",
  2360. "value": "1m"
  2361. },
  2362. {
  2363. "selected": false,
  2364. "text": "5m",
  2365. "value": "5m"
  2366. },
  2367. {
  2368. "selected": true,
  2369. "text": "10m",
  2370. "value": "10m"
  2371. }
  2372. ],
  2373. "query": "1s,10s,30s,1m,5m,10m",
  2374. "refresh": 2,
  2375. "type": "interval"
  2376. }
  2377. ]
  2378. },
  2379. "time": {
  2380. "from": "2018-03-15T12:30:00.000Z",
  2381. "to": "2018-03-15T13:55:01.000Z"
  2382. },
  2383. "timepicker": {
  2384. "refresh_intervals": [
  2385. "5s",
  2386. "10s",
  2387. "30s",
  2388. "1m",
  2389. "5m",
  2390. "15m",
  2391. "30m",
  2392. "1h",
  2393. "2h",
  2394. "1d"
  2395. ],
  2396. "time_options": [
  2397. "5m",
  2398. "15m",
  2399. "1h",
  2400. "6h",
  2401. "12h",
  2402. "24h",
  2403. "2d",
  2404. "7d",
  2405. "30d"
  2406. ]
  2407. },
  2408. "timezone": "",
  2409. "title": "Postgres Data Source Test",
  2410. "uid": "vHQdlVziz",
  2411. "version": 14
  2412. }