You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

grafana_dashboard.json 24KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065
  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": "-- Grafana --",
  7. "enable": true,
  8. "hide": true,
  9. "iconColor": "rgba(0, 211, 255, 1)",
  10. "name": "Annotations & Alerts",
  11. "type": "dashboard"
  12. }
  13. ]
  14. },
  15. "editable": true,
  16. "gnetId": null,
  17. "graphTooltip": 0,
  18. "id": 1,
  19. "iteration": 1590414938713,
  20. "links": [],
  21. "panels": [
  22. {
  23. "datasource": null,
  24. "description": "",
  25. "fieldConfig": {
  26. "defaults": {
  27. "custom": {},
  28. "mappings": [],
  29. "thresholds": {
  30. "mode": "absolute",
  31. "steps": [
  32. {
  33. "color": "green",
  34. "value": null
  35. }
  36. ]
  37. },
  38. "unit": "percent"
  39. },
  40. "overrides": []
  41. },
  42. "gridPos": {
  43. "h": 8,
  44. "w": 6,
  45. "x": 1,
  46. "y": 0
  47. },
  48. "id": 6,
  49. "options": {
  50. "orientation": "auto",
  51. "reduceOptions": {
  52. "calcs": [
  53. "last"
  54. ],
  55. "values": false
  56. },
  57. "showThresholdLabels": false,
  58. "showThresholdMarkers": true
  59. },
  60. "pluginVersion": "7.0.0",
  61. "targets": [
  62. {
  63. "format": "time_series",
  64. "group": [],
  65. "metricColumn": "none",
  66. "rawQuery": true,
  67. "rawSql": "select TIMESTAMP(date,time) AS time, rel_hum as \"Humidity\" FROM weather\nWHERE $__timeFilter(Date) AND station_name = \"$Station\"\nORDER BY time ASC\n",
  68. "refId": "A",
  69. "select": [
  70. [
  71. {
  72. "params": [
  73. "value"
  74. ],
  75. "type": "column"
  76. }
  77. ]
  78. ],
  79. "timeColumn": "date",
  80. "where": [
  81. {
  82. "name": "$__timeFilter",
  83. "params": [],
  84. "type": "macro"
  85. }
  86. ]
  87. }
  88. ],
  89. "timeFrom": null,
  90. "timeShift": null,
  91. "title": "Current relative humidity",
  92. "transparent": true,
  93. "type": "gauge"
  94. },
  95. {
  96. "datasource": null,
  97. "description": "",
  98. "fieldConfig": {
  99. "defaults": {
  100. "custom": {},
  101. "mappings": [],
  102. "thresholds": {
  103. "mode": "absolute",
  104. "steps": [
  105. {
  106. "color": "blue",
  107. "value": null
  108. },
  109. {
  110. "color": "green",
  111. "value": 0
  112. },
  113. {
  114. "color": "#EAB839",
  115. "value": 15
  116. },
  117. {
  118. "color": "orange",
  119. "value": 25
  120. },
  121. {
  122. "color": "red",
  123. "value": 35
  124. }
  125. ]
  126. },
  127. "unit": "celsius"
  128. },
  129. "overrides": []
  130. },
  131. "gridPos": {
  132. "h": 8,
  133. "w": 5,
  134. "x": 9,
  135. "y": 0
  136. },
  137. "id": 7,
  138. "options": {
  139. "orientation": "auto",
  140. "reduceOptions": {
  141. "calcs": [
  142. "last"
  143. ],
  144. "values": false
  145. },
  146. "showThresholdLabels": false,
  147. "showThresholdMarkers": true
  148. },
  149. "pluginVersion": "7.0.0",
  150. "targets": [
  151. {
  152. "format": "time_series",
  153. "group": [],
  154. "metricColumn": "none",
  155. "rawQuery": true,
  156. "rawSql": "select TIMESTAMP(date,time) AS time, temp as \"Temperature\" FROM weather\nWHERE $__timeFilter(Date) AND station_name = \"$Station\"\nORDER BY time ASC\n",
  157. "refId": "A",
  158. "select": [
  159. [
  160. {
  161. "params": [
  162. "value"
  163. ],
  164. "type": "column"
  165. }
  166. ]
  167. ],
  168. "timeColumn": "date",
  169. "where": [
  170. {
  171. "name": "$__timeFilter",
  172. "params": [],
  173. "type": "macro"
  174. }
  175. ]
  176. }
  177. ],
  178. "timeFrom": null,
  179. "timeShift": null,
  180. "title": "Current temperature",
  181. "transparent": true,
  182. "type": "gauge"
  183. },
  184. {
  185. "datasource": "MySQL",
  186. "description": "",
  187. "fieldConfig": {
  188. "defaults": {
  189. "custom": {},
  190. "mappings": [],
  191. "thresholds": {
  192. "mode": "absolute",
  193. "steps": [
  194. {
  195. "color": "green",
  196. "value": null
  197. }
  198. ]
  199. },
  200. "unit": "degree"
  201. },
  202. "overrides": []
  203. },
  204. "gridPos": {
  205. "h": 8,
  206. "w": 6,
  207. "x": 17,
  208. "y": 0
  209. },
  210. "id": 9,
  211. "options": {
  212. "orientation": "auto",
  213. "reduceOptions": {
  214. "calcs": [
  215. "last"
  216. ],
  217. "values": false
  218. },
  219. "showThresholdLabels": false,
  220. "showThresholdMarkers": true
  221. },
  222. "pluginVersion": "7.0.0",
  223. "targets": [
  224. {
  225. "format": "time_series",
  226. "group": [],
  227. "metricColumn": "none",
  228. "rawQuery": true,
  229. "rawSql": "SELECT\n TIMESTAMP(date,time) as time,\n winddir as \"Direction\"\nFROM weather\nWHERE $__timeFilter(time) AND station_name = \"$Station\"\nORDER BY time ASC\n",
  230. "refId": "A",
  231. "select": [
  232. [
  233. {
  234. "params": [
  235. "value"
  236. ],
  237. "type": "column"
  238. }
  239. ]
  240. ],
  241. "timeColumn": "time",
  242. "where": [
  243. {
  244. "name": "$__timeFilter",
  245. "params": [],
  246. "type": "macro"
  247. }
  248. ]
  249. }
  250. ],
  251. "timeFrom": null,
  252. "timeShift": null,
  253. "title": "Current wind direction",
  254. "transparent": true,
  255. "type": "gauge"
  256. },
  257. {
  258. "aliasColors": {},
  259. "bars": true,
  260. "dashLength": 10,
  261. "dashes": false,
  262. "datasource": null,
  263. "description": "",
  264. "fieldConfig": {
  265. "defaults": {
  266. "custom": {},
  267. "mappings": [],
  268. "thresholds": {
  269. "mode": "absolute",
  270. "steps": [
  271. {
  272. "color": "green",
  273. "value": null
  274. },
  275. {
  276. "color": "red",
  277. "value": 80
  278. }
  279. ]
  280. }
  281. },
  282. "overrides": []
  283. },
  284. "fill": 1,
  285. "fillGradient": 0,
  286. "gridPos": {
  287. "h": 8,
  288. "w": 12,
  289. "x": 0,
  290. "y": 8
  291. },
  292. "hiddenSeries": false,
  293. "id": 12,
  294. "interval": "1h",
  295. "legend": {
  296. "avg": false,
  297. "current": false,
  298. "max": false,
  299. "min": false,
  300. "show": true,
  301. "total": false,
  302. "values": false
  303. },
  304. "lines": false,
  305. "linewidth": 1,
  306. "nullPointMode": "null",
  307. "options": {
  308. "dataLinks": []
  309. },
  310. "percentage": false,
  311. "pluginVersion": "7.0.0",
  312. "pointradius": 2,
  313. "points": false,
  314. "renderer": "flot",
  315. "seriesOverrides": [],
  316. "spaceLength": 10,
  317. "stack": false,
  318. "steppedLine": false,
  319. "targets": [
  320. {
  321. "format": "time_series",
  322. "group": [],
  323. "metricColumn": "none",
  324. "rawQuery": true,
  325. "rawSql": "SELECT\n TIMESTAMP(date,time) as time,\n Rainfall\nFROM weather\nWHERE $__timeFilter(time) and station_name = \"$Station\"\nORDER BY time ASC\n",
  326. "refId": "A",
  327. "select": [
  328. [
  329. {
  330. "params": [
  331. "value"
  332. ],
  333. "type": "column"
  334. }
  335. ]
  336. ],
  337. "timeColumn": "time",
  338. "where": [
  339. {
  340. "name": "$__timeFilter",
  341. "params": [],
  342. "type": "macro"
  343. }
  344. ]
  345. }
  346. ],
  347. "thresholds": [],
  348. "timeFrom": null,
  349. "timeRegions": [],
  350. "timeShift": null,
  351. "title": "Rainfall",
  352. "tooltip": {
  353. "shared": true,
  354. "sort": 0,
  355. "value_type": "individual"
  356. },
  357. "type": "graph",
  358. "xaxis": {
  359. "buckets": null,
  360. "mode": "time",
  361. "name": null,
  362. "show": true,
  363. "values": []
  364. },
  365. "yaxes": [
  366. {
  367. "format": "lengthmm",
  368. "label": null,
  369. "logBase": 1,
  370. "max": null,
  371. "min": null,
  372. "show": true
  373. },
  374. {
  375. "format": "short",
  376. "label": null,
  377. "logBase": 1,
  378. "max": null,
  379. "min": null,
  380. "show": true
  381. }
  382. ],
  383. "yaxis": {
  384. "align": false,
  385. "alignLevel": null
  386. }
  387. },
  388. {
  389. "aliasColors": {
  390. "ETo": "dark-orange",
  391. "Rainfall": "dark-blue"
  392. },
  393. "bars": false,
  394. "dashLength": 10,
  395. "dashes": false,
  396. "datasource": null,
  397. "description": "",
  398. "fieldConfig": {
  399. "defaults": {
  400. "custom": {},
  401. "mappings": [],
  402. "thresholds": {
  403. "mode": "absolute",
  404. "steps": [
  405. {
  406. "color": "green",
  407. "value": null
  408. },
  409. {
  410. "color": "red",
  411. "value": 80
  412. }
  413. ]
  414. },
  415. "unit": "lengthmm"
  416. },
  417. "overrides": []
  418. },
  419. "fill": 1,
  420. "fillGradient": 0,
  421. "gridPos": {
  422. "h": 8,
  423. "w": 12,
  424. "x": 12,
  425. "y": 8
  426. },
  427. "hiddenSeries": false,
  428. "id": 11,
  429. "interval": "1h",
  430. "legend": {
  431. "avg": false,
  432. "current": false,
  433. "max": false,
  434. "min": false,
  435. "show": true,
  436. "total": false,
  437. "values": false
  438. },
  439. "lines": true,
  440. "linewidth": 1,
  441. "nullPointMode": "null",
  442. "options": {
  443. "dataLinks": []
  444. },
  445. "percentage": false,
  446. "pluginVersion": "7.0.0",
  447. "pointradius": 2,
  448. "points": false,
  449. "renderer": "flot",
  450. "seriesOverrides": [],
  451. "spaceLength": 10,
  452. "stack": false,
  453. "steppedLine": false,
  454. "targets": [
  455. {
  456. "format": "time_series",
  457. "group": [],
  458. "metricColumn": "none",
  459. "rawQuery": true,
  460. "rawSql": "with data as (\n select\n date as time,\n rainfall\n from aggregated_weather where $__timeFilter(date) and station_name = \"$Station\"\n group by time\n) select time, sum(rainfall) over (order by time) as Rainfall from data;\n",
  461. "refId": "A",
  462. "select": [
  463. [
  464. {
  465. "params": [
  466. "value"
  467. ],
  468. "type": "column"
  469. }
  470. ]
  471. ],
  472. "timeColumn": "time",
  473. "where": [
  474. {
  475. "name": "$__timeFilter",
  476. "params": [],
  477. "type": "macro"
  478. }
  479. ]
  480. },
  481. {
  482. "format": "time_series",
  483. "group": [],
  484. "metricColumn": "none",
  485. "rawQuery": true,
  486. "rawSql": "with data as (\n select\n date as time,\n ETo\n from aggregated_weather where $__timeFilter(date) and station_name = \"$Station\"\n group by time\n) select time, sum(ETo) over (order by time) as ETo from data;",
  487. "refId": "B",
  488. "select": [
  489. [
  490. {
  491. "params": [
  492. "value"
  493. ],
  494. "type": "column"
  495. }
  496. ]
  497. ],
  498. "timeColumn": "time",
  499. "where": [
  500. {
  501. "name": "$__timeFilter",
  502. "params": [],
  503. "type": "macro"
  504. }
  505. ]
  506. }
  507. ],
  508. "thresholds": [],
  509. "timeFrom": null,
  510. "timeRegions": [],
  511. "timeShift": null,
  512. "title": "Cumulative rainfall and evapotranspiration",
  513. "tooltip": {
  514. "shared": true,
  515. "sort": 0,
  516. "value_type": "individual"
  517. },
  518. "type": "graph",
  519. "xaxis": {
  520. "buckets": null,
  521. "mode": "time",
  522. "name": null,
  523. "show": true,
  524. "values": []
  525. },
  526. "yaxes": [
  527. {
  528. "format": "lengthmm",
  529. "label": null,
  530. "logBase": 1,
  531. "max": null,
  532. "min": null,
  533. "show": true
  534. },
  535. {
  536. "format": "short",
  537. "label": null,
  538. "logBase": 1,
  539. "max": null,
  540. "min": null,
  541. "show": true
  542. }
  543. ],
  544. "yaxis": {
  545. "align": false,
  546. "alignLevel": null
  547. }
  548. },
  549. {
  550. "aliasColors": {
  551. "Difference": "dark-purple",
  552. "Evapotranspiration": "dark-orange",
  553. "Rainfall": "dark-blue"
  554. },
  555. "bars": false,
  556. "dashLength": 10,
  557. "dashes": false,
  558. "datasource": null,
  559. "description": "",
  560. "fieldConfig": {
  561. "defaults": {
  562. "custom": {}
  563. },
  564. "overrides": []
  565. },
  566. "fill": 1,
  567. "fillGradient": 0,
  568. "gridPos": {
  569. "h": 9,
  570. "w": 24,
  571. "x": 0,
  572. "y": 16
  573. },
  574. "hiddenSeries": false,
  575. "id": 2,
  576. "legend": {
  577. "avg": false,
  578. "current": false,
  579. "max": false,
  580. "min": false,
  581. "show": true,
  582. "total": false,
  583. "values": false
  584. },
  585. "lines": true,
  586. "linewidth": 1,
  587. "nullPointMode": "null",
  588. "options": {
  589. "dataLinks": []
  590. },
  591. "percentage": false,
  592. "pointradius": 2,
  593. "points": false,
  594. "renderer": "flot",
  595. "seriesOverrides": [],
  596. "spaceLength": 10,
  597. "stack": false,
  598. "steppedLine": false,
  599. "targets": [
  600. {
  601. "format": "time_series",
  602. "group": [],
  603. "metricColumn": "none",
  604. "rawQuery": true,
  605. "rawSql": "SELECT TIMESTAMP(Date,'YYYY-MM-DD') as time, (Rainfall - ETo) as Difference FROM aggregated_weather\nWHERE $__timeFilter(Date) AND station_name = \"$Station\"\nORDER BY time ASC\n",
  606. "refId": "A",
  607. "select": [
  608. [
  609. {
  610. "params": [
  611. "value"
  612. ],
  613. "type": "column"
  614. }
  615. ]
  616. ],
  617. "timeColumn": "time",
  618. "where": [
  619. {
  620. "name": "$__timeFilter",
  621. "params": [],
  622. "type": "macro"
  623. }
  624. ]
  625. }
  626. ],
  627. "thresholds": [
  628. {
  629. "colorMode": "ok",
  630. "fill": true,
  631. "line": false,
  632. "op": "gt",
  633. "value": 0,
  634. "yaxis": "left"
  635. },
  636. {
  637. "colorMode": "warning",
  638. "fill": true,
  639. "line": false,
  640. "op": "lt",
  641. "value": 0,
  642. "yaxis": "left"
  643. },
  644. {
  645. "colorMode": "critical",
  646. "fill": true,
  647. "line": false,
  648. "op": "lt",
  649. "value": -3,
  650. "yaxis": "left"
  651. }
  652. ],
  653. "timeFrom": null,
  654. "timeRegions": [],
  655. "timeShift": null,
  656. "title": "Daily rainfall vs Evapotranspiration",
  657. "tooltip": {
  658. "shared": true,
  659. "sort": 0,
  660. "value_type": "individual"
  661. },
  662. "transparent": true,
  663. "type": "graph",
  664. "xaxis": {
  665. "buckets": null,
  666. "mode": "time",
  667. "name": null,
  668. "show": true,
  669. "values": []
  670. },
  671. "yaxes": [
  672. {
  673. "decimals": null,
  674. "format": "lengthmm",
  675. "label": null,
  676. "logBase": 1,
  677. "max": null,
  678. "min": null,
  679. "show": true
  680. },
  681. {
  682. "format": "short",
  683. "label": null,
  684. "logBase": 1,
  685. "max": null,
  686. "min": null,
  687. "show": true
  688. }
  689. ],
  690. "yaxis": {
  691. "align": false,
  692. "alignLevel": null
  693. }
  694. },
  695. {
  696. "aliasColors": {},
  697. "bars": false,
  698. "dashLength": 10,
  699. "dashes": false,
  700. "datasource": null,
  701. "description": "",
  702. "fieldConfig": {
  703. "defaults": {
  704. "custom": {},
  705. "mappings": [],
  706. "thresholds": {
  707. "mode": "absolute",
  708. "steps": [
  709. {
  710. "color": "green",
  711. "value": null
  712. },
  713. {
  714. "color": "red",
  715. "value": 80
  716. }
  717. ]
  718. }
  719. },
  720. "overrides": []
  721. },
  722. "fill": 1,
  723. "fillGradient": 0,
  724. "gridPos": {
  725. "h": 9,
  726. "w": 24,
  727. "x": 0,
  728. "y": 25
  729. },
  730. "hiddenSeries": false,
  731. "id": 3,
  732. "legend": {
  733. "avg": false,
  734. "current": false,
  735. "max": false,
  736. "min": false,
  737. "show": true,
  738. "total": false,
  739. "values": false
  740. },
  741. "lines": true,
  742. "linewidth": 1,
  743. "nullPointMode": "null",
  744. "options": {
  745. "dataLinks": []
  746. },
  747. "percentage": false,
  748. "pluginVersion": "7.0.0",
  749. "pointradius": 2,
  750. "points": false,
  751. "renderer": "flot",
  752. "seriesOverrides": [],
  753. "spaceLength": 10,
  754. "stack": false,
  755. "steppedLine": false,
  756. "targets": [
  757. {
  758. "format": "time_series",
  759. "group": [],
  760. "metricColumn": "none",
  761. "rawQuery": true,
  762. "rawSql": "select TIMESTAMP(date,time) as time, temp as \"Temperature\" from weather\nWHERE $__timeFilter(Date) AND station_name = \"$Station\"\nORDER BY time ASC\n",
  763. "refId": "A",
  764. "select": [
  765. [
  766. {
  767. "params": [
  768. "value"
  769. ],
  770. "type": "column"
  771. }
  772. ]
  773. ],
  774. "timeColumn": "time",
  775. "where": [
  776. {
  777. "name": "$__timeFilter",
  778. "params": [],
  779. "type": "macro"
  780. }
  781. ]
  782. }
  783. ],
  784. "thresholds": [
  785. {
  786. "colorMode": "ok",
  787. "fill": true,
  788. "line": true,
  789. "op": "gt",
  790. "value": 3,
  791. "yaxis": "left"
  792. },
  793. {
  794. "colorMode": "warning",
  795. "fill": true,
  796. "line": true,
  797. "op": "lt",
  798. "value": 3,
  799. "yaxis": "left"
  800. },
  801. {
  802. "colorMode": "critical",
  803. "fill": true,
  804. "line": true,
  805. "op": "lt",
  806. "value": 0,
  807. "yaxis": "left"
  808. }
  809. ],
  810. "timeFrom": null,
  811. "timeRegions": [],
  812. "timeShift": null,
  813. "title": "Temperature",
  814. "tooltip": {
  815. "shared": true,
  816. "sort": 0,
  817. "value_type": "individual"
  818. },
  819. "transparent": true,
  820. "type": "graph",
  821. "xaxis": {
  822. "buckets": null,
  823. "mode": "time",
  824. "name": null,
  825. "show": true,
  826. "values": []
  827. },
  828. "yaxes": [
  829. {
  830. "format": "celsius",
  831. "label": null,
  832. "logBase": 1,
  833. "max": null,
  834. "min": null,
  835. "show": true
  836. },
  837. {
  838. "format": "short",
  839. "label": null,
  840. "logBase": 1,
  841. "max": null,
  842. "min": null,
  843. "show": true
  844. }
  845. ],
  846. "yaxis": {
  847. "align": false,
  848. "alignLevel": null
  849. }
  850. },
  851. {
  852. "aliasColors": {},
  853. "bars": false,
  854. "dashLength": 10,
  855. "dashes": false,
  856. "datasource": null,
  857. "description": "",
  858. "fieldConfig": {
  859. "defaults": {
  860. "custom": {
  861. "align": null
  862. },
  863. "mappings": [],
  864. "thresholds": {
  865. "mode": "absolute",
  866. "steps": [
  867. {
  868. "color": "green",
  869. "value": null
  870. },
  871. {
  872. "color": "red",
  873. "value": 80
  874. }
  875. ]
  876. }
  877. },
  878. "overrides": []
  879. },
  880. "fill": 1,
  881. "fillGradient": 0,
  882. "gridPos": {
  883. "h": 9,
  884. "w": 24,
  885. "x": 0,
  886. "y": 34
  887. },
  888. "hiddenSeries": false,
  889. "id": 4,
  890. "legend": {
  891. "avg": false,
  892. "current": false,
  893. "max": false,
  894. "min": false,
  895. "show": true,
  896. "total": false,
  897. "values": false
  898. },
  899. "lines": true,
  900. "linewidth": 1,
  901. "nullPointMode": "null",
  902. "options": {
  903. "dataLinks": []
  904. },
  905. "percentage": false,
  906. "pluginVersion": "7.0.0",
  907. "pointradius": 2,
  908. "points": false,
  909. "renderer": "flot",
  910. "seriesOverrides": [],
  911. "spaceLength": 10,
  912. "stack": false,
  913. "steppedLine": false,
  914. "targets": [
  915. {
  916. "format": "time_series",
  917. "group": [],
  918. "metricColumn": "none",
  919. "rawQuery": true,
  920. "rawSql": "select TIMESTAMP(date,time) as time, windspeed as \"Windspeed\" from weather\nWHERE $__timeFilter(Date) AND station_name = \"$Station\"\nORDER BY time ASC\n",
  921. "refId": "A",
  922. "select": [
  923. [
  924. {
  925. "params": [
  926. "value"
  927. ],
  928. "type": "column"
  929. }
  930. ]
  931. ],
  932. "timeColumn": "time",
  933. "where": [
  934. {
  935. "name": "$__timeFilter",
  936. "params": [],
  937. "type": "macro"
  938. }
  939. ]
  940. }
  941. ],
  942. "thresholds": [
  943. {
  944. "colorMode": "ok",
  945. "fill": true,
  946. "line": true,
  947. "op": "lt",
  948. "value": 15,
  949. "yaxis": "left"
  950. },
  951. {
  952. "colorMode": "warning",
  953. "fill": true,
  954. "line": true,
  955. "op": "gt",
  956. "value": 15,
  957. "yaxis": "left"
  958. },
  959. {
  960. "colorMode": "critical",
  961. "fill": true,
  962. "line": true,
  963. "op": "gt",
  964. "value": 25,
  965. "yaxis": "left"
  966. }
  967. ],
  968. "timeFrom": null,
  969. "timeRegions": [],
  970. "timeShift": null,
  971. "title": "Wind",
  972. "tooltip": {
  973. "shared": true,
  974. "sort": 0,
  975. "value_type": "individual"
  976. },
  977. "transparent": true,
  978. "type": "graph",
  979. "xaxis": {
  980. "buckets": null,
  981. "mode": "time",
  982. "name": null,
  983. "show": true,
  984. "values": []
  985. },
  986. "yaxes": [
  987. {
  988. "format": "velocityms",
  989. "label": null,
  990. "logBase": 1,
  991. "max": null,
  992. "min": null,
  993. "show": true
  994. },
  995. {
  996. "format": "short",
  997. "label": null,
  998. "logBase": 1,
  999. "max": null,
  1000. "min": null,
  1001. "show": true
  1002. }
  1003. ],
  1004. "yaxis": {
  1005. "align": false,
  1006. "alignLevel": null
  1007. }
  1008. }
  1009. ],
  1010. "refresh": false,
  1011. "schemaVersion": 25,
  1012. "style": "dark",
  1013. "tags": [],
  1014. "templating": {
  1015. "list": [
  1016. {
  1017. "allValue": null,
  1018. "current": {
  1019. "selected": true,
  1020. "text": "Tullinge A",
  1021. "value": "Tullinge A"
  1022. },
  1023. "datasource": "MySQL",
  1024. "definition": "SELECT DISTINCT station_name from weather",
  1025. "hide": 0,
  1026. "includeAll": false,
  1027. "label": null,
  1028. "multi": false,
  1029. "name": "Station",
  1030. "options": [],
  1031. "query": "SELECT DISTINCT station_name from weather",
  1032. "refresh": 1,
  1033. "regex": "",
  1034. "skipUrlSync": false,
  1035. "sort": 3,
  1036. "tagValuesQuery": "",
  1037. "tags": [],
  1038. "tagsQuery": "",
  1039. "type": "query",
  1040. "useTags": false
  1041. }
  1042. ]
  1043. },
  1044. "time": {
  1045. "from": "now-6M",
  1046. "to": "now"
  1047. },
  1048. "timepicker": {
  1049. "refresh_intervals": [
  1050. "10s",
  1051. "30s",
  1052. "1m",
  1053. "5m",
  1054. "15m",
  1055. "30m",
  1056. "1h",
  1057. "2h",
  1058. "1d"
  1059. ]
  1060. },
  1061. "timezone": "",
  1062. "title": "Weather",
  1063. "uid": "jMywAWkGz",
  1064. "version": 23
  1065. }