Advertisement
Guest User

Glances - 2021

a guest
Aug 23rd, 2021
1,783
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 77.33 KB | None | 0 0
  1. {
  2. "__inputs": [
  3. {
  4. "name": "DS_GLANCES",
  5. "label": "Glances",
  6. "description": "",
  7. "type": "datasource",
  8. "pluginId": "influxdb",
  9. "pluginName": "InfluxDB"
  10. }
  11. ],
  12. "__requires": [
  13. {
  14. "type": "grafana",
  15. "id": "grafana",
  16. "name": "Grafana",
  17. "version": "8.0.6"
  18. },
  19. {
  20. "type": "panel",
  21. "id": "graph",
  22. "name": "Graph (old)",
  23. "version": ""
  24. },
  25. {
  26. "type": "panel",
  27. "id": "heatmap",
  28. "name": "Heatmap",
  29. "version": ""
  30. },
  31. {
  32. "type": "datasource",
  33. "id": "influxdb",
  34. "name": "InfluxDB",
  35. "version": "1.0.0"
  36. },
  37. {
  38. "type": "panel",
  39. "id": "stat",
  40. "name": "Stat",
  41. "version": ""
  42. },
  43. {
  44. "type": "panel",
  45. "id": "text",
  46. "name": "Text",
  47. "version": ""
  48. }
  49. ],
  50. "annotations": {
  51. "list": [
  52. {
  53. "builtIn": 1,
  54. "datasource": "-- Grafana --",
  55. "enable": true,
  56. "hide": true,
  57. "iconColor": "rgba(0, 211, 255, 1)",
  58. "name": "Annotations & Alerts",
  59. "type": "dashboard"
  60. }
  61. ]
  62. },
  63. "description": "This dashboard displays Glances stats. Monitor yours local or remote server at a glance! (original work - Glances by nicolargo)",
  64. "editable": true,
  65. "gnetId": 2387,
  66. "graphTooltip": 0,
  67. "id": null,
  68. "iteration": 1629765595819,
  69. "links": [],
  70. "panels": [
  71. {
  72. "cacheTimeout": null,
  73. "datasource": "${DS_GLANCES}",
  74. "fieldConfig": {
  75. "defaults": {
  76. "color": {
  77. "mode": "thresholds"
  78. },
  79. "mappings": [
  80. {
  81. "options": {
  82. "match": "null",
  83. "result": {
  84. "text": "N/A"
  85. }
  86. },
  87. "type": "special"
  88. }
  89. ],
  90. "thresholds": {
  91. "mode": "absolute",
  92. "steps": [
  93. {
  94. "color": "green",
  95. "value": null
  96. },
  97. {
  98. "color": "red",
  99. "value": 80
  100. }
  101. ]
  102. },
  103. "unit": "none"
  104. },
  105. "overrides": []
  106. },
  107. "gridPos": {
  108. "h": 6,
  109. "w": 2,
  110. "x": 0,
  111. "y": 0
  112. },
  113. "id": 5,
  114. "interval": null,
  115. "links": [],
  116. "maxDataPoints": 100,
  117. "options": {
  118. "colorMode": "none",
  119. "graphMode": "none",
  120. "justifyMode": "auto",
  121. "orientation": "horizontal",
  122. "reduceOptions": {
  123. "calcs": [
  124. "mean"
  125. ],
  126. "fields": "",
  127. "values": false
  128. },
  129. "text": {},
  130. "textMode": "auto"
  131. },
  132. "pluginVersion": "8.0.6",
  133. "targets": [
  134. {
  135. "column": "cpucore",
  136. "dsType": "influxdb",
  137. "function": "mean",
  138. "groupBy": [
  139. {
  140. "params": [
  141. "auto"
  142. ],
  143. "type": "time"
  144. }
  145. ],
  146. "measurement": "localhost.load",
  147. "query": "SELECT mean(\"cpucore\") FROM \"localhost.load\" WHERE $timeFilter GROUP BY time($interval)",
  148. "refId": "A",
  149. "resultFormat": "time_series",
  150. "select": [
  151. [
  152. {
  153. "params": [
  154. "cpucore"
  155. ],
  156. "type": "field"
  157. },
  158. {
  159. "params": [],
  160. "type": "mean"
  161. }
  162. ]
  163. ],
  164. "series": "load",
  165. "tags": []
  166. }
  167. ],
  168. "title": "Core",
  169. "type": "stat"
  170. },
  171. {
  172. "aliasColors": {},
  173. "annotate": {
  174. "enable": false
  175. },
  176. "bars": false,
  177. "dashLength": 10,
  178. "dashes": false,
  179. "datasource": "${DS_GLANCES}",
  180. "fill": 1,
  181. "fillGradient": 0,
  182. "grid": {
  183. "max": null,
  184. "min": null
  185. },
  186. "gridPos": {
  187. "h": 6,
  188. "w": 20,
  189. "x": 2,
  190. "y": 0
  191. },
  192. "hiddenSeries": false,
  193. "id": 4,
  194. "interactive": true,
  195. "legend": {
  196. "alignAsTable": true,
  197. "avg": true,
  198. "current": false,
  199. "max": true,
  200. "min": true,
  201. "rightSide": true,
  202. "show": true,
  203. "total": false,
  204. "values": true
  205. },
  206. "legend_counts": true,
  207. "lines": true,
  208. "linewidth": 2,
  209. "links": [],
  210. "nullPointMode": "null",
  211. "options": {
  212. "alertThreshold": true
  213. },
  214. "percentage": false,
  215. "pluginVersion": "8.0.6",
  216. "pointradius": 5,
  217. "points": false,
  218. "renderer": "flot",
  219. "resolution": 100,
  220. "scale": 1,
  221. "seriesOverrides": [],
  222. "spaceLength": 10,
  223. "spyable": true,
  224. "stack": true,
  225. "steppedLine": false,
  226. "targets": [
  227. {
  228. "alias": "1min",
  229. "column": "min1",
  230. "dsType": "influxdb",
  231. "function": "mean",
  232. "groupBy": [
  233. {
  234. "params": [
  235. "auto"
  236. ],
  237. "type": "time"
  238. },
  239. {
  240. "params": [
  241. "none"
  242. ],
  243. "type": "fill"
  244. }
  245. ],
  246. "measurement": "localhost.load",
  247. "orderByTime": "ASC",
  248. "policy": "default",
  249. "query": "SELECT mean(\"min1\") FROM \"localhost.load\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
  250. "refId": "A",
  251. "resultFormat": "time_series",
  252. "select": [
  253. [
  254. {
  255. "params": [
  256. "min1"
  257. ],
  258. "type": "field"
  259. },
  260. {
  261. "params": [],
  262. "type": "mean"
  263. }
  264. ]
  265. ],
  266. "series": "load",
  267. "tags": [],
  268. "target": "randomWalk('random walk')"
  269. },
  270. {
  271. "alias": "5mins",
  272. "column": "min5",
  273. "dsType": "influxdb",
  274. "function": "mean",
  275. "groupBy": [
  276. {
  277. "params": [
  278. "auto"
  279. ],
  280. "type": "time"
  281. },
  282. {
  283. "params": [
  284. "none"
  285. ],
  286. "type": "fill"
  287. }
  288. ],
  289. "measurement": "localhost.load",
  290. "orderByTime": "ASC",
  291. "policy": "default",
  292. "query": "SELECT mean(\"min5\") FROM \"localhost.load\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
  293. "refId": "B",
  294. "resultFormat": "time_series",
  295. "select": [
  296. [
  297. {
  298. "params": [
  299. "min5"
  300. ],
  301. "type": "field"
  302. },
  303. {
  304. "params": [],
  305. "type": "mean"
  306. }
  307. ]
  308. ],
  309. "series": "load",
  310. "tags": [],
  311. "target": ""
  312. },
  313. {
  314. "alias": "15mins",
  315. "column": "min15",
  316. "dsType": "influxdb",
  317. "function": "mean",
  318. "groupBy": [
  319. {
  320. "params": [
  321. "auto"
  322. ],
  323. "type": "time"
  324. },
  325. {
  326. "params": [
  327. "none"
  328. ],
  329. "type": "fill"
  330. }
  331. ],
  332. "measurement": "localhost.load",
  333. "orderByTime": "ASC",
  334. "policy": "default",
  335. "query": "SELECT mean(\"min15\") FROM \"localhost.load\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
  336. "refId": "C",
  337. "resultFormat": "time_series",
  338. "select": [
  339. [
  340. {
  341. "params": [
  342. "min15"
  343. ],
  344. "type": "field"
  345. },
  346. {
  347. "params": [],
  348. "type": "mean"
  349. }
  350. ]
  351. ],
  352. "series": "load",
  353. "tags": [],
  354. "target": ""
  355. }
  356. ],
  357. "thresholds": [],
  358. "timeFrom": null,
  359. "timeRegions": [],
  360. "timeShift": null,
  361. "timezone": "browser",
  362. "title": "Load",
  363. "tooltip": {
  364. "query_as_alias": true,
  365. "shared": false,
  366. "sort": 0,
  367. "value_type": "cumulative"
  368. },
  369. "type": "graph",
  370. "xaxis": {
  371. "buckets": null,
  372. "mode": "time",
  373. "name": null,
  374. "show": true,
  375. "values": []
  376. },
  377. "yaxes": [
  378. {
  379. "format": "short",
  380. "logBase": 1,
  381. "max": null,
  382. "min": null,
  383. "show": true
  384. },
  385. {
  386. "format": "short",
  387. "logBase": 1,
  388. "max": null,
  389. "min": null,
  390. "show": true
  391. }
  392. ],
  393. "yaxis": {
  394. "align": false,
  395. "alignLevel": null
  396. }
  397. },
  398. {
  399. "cacheTimeout": null,
  400. "datasource": "${DS_GLANCES}",
  401. "fieldConfig": {
  402. "defaults": {
  403. "color": {
  404. "fixedColor": "rgb(31, 120, 193)",
  405. "mode": "fixed"
  406. },
  407. "mappings": [
  408. {
  409. "options": {
  410. "match": "null",
  411. "result": {
  412. "text": "N/A"
  413. }
  414. },
  415. "type": "special"
  416. }
  417. ],
  418. "thresholds": {
  419. "mode": "absolute",
  420. "steps": [
  421. {
  422. "color": "green",
  423. "value": null
  424. },
  425. {
  426. "color": "red",
  427. "value": 80
  428. }
  429. ]
  430. },
  431. "unit": "none"
  432. },
  433. "overrides": []
  434. },
  435. "gridPos": {
  436. "h": 6,
  437. "w": 2,
  438. "x": 22,
  439. "y": 0
  440. },
  441. "id": 18,
  442. "interval": null,
  443. "links": [],
  444. "maxDataPoints": 100,
  445. "options": {
  446. "colorMode": "none",
  447. "graphMode": "area",
  448. "justifyMode": "auto",
  449. "orientation": "horizontal",
  450. "reduceOptions": {
  451. "calcs": [
  452. "mean"
  453. ],
  454. "fields": "",
  455. "values": false
  456. },
  457. "text": {},
  458. "textMode": "auto"
  459. },
  460. "pluginVersion": "8.0.6",
  461. "targets": [
  462. {
  463. "column": "total",
  464. "dsType": "influxdb",
  465. "function": "mean",
  466. "groupBy": [
  467. {
  468. "params": [
  469. "$__interval"
  470. ],
  471. "type": "time"
  472. }
  473. ],
  474. "measurement": "localhost.processcount",
  475. "orderByTime": "ASC",
  476. "policy": "default",
  477. "query": "SELECT mean(\"total\") FROM \"localhost.processcount\" WHERE $timeFilter GROUP BY time($interval)",
  478. "refId": "A",
  479. "resultFormat": "time_series",
  480. "select": [
  481. [
  482. {
  483. "params": [
  484. "total"
  485. ],
  486. "type": "field"
  487. },
  488. {
  489. "params": [],
  490. "type": "last"
  491. }
  492. ]
  493. ],
  494. "series": "processcount",
  495. "tags": []
  496. }
  497. ],
  498. "title": "Processes",
  499. "type": "stat"
  500. },
  501. {
  502. "aliasColors": {},
  503. "bars": false,
  504. "dashLength": 10,
  505. "dashes": false,
  506. "datasource": "${DS_GLANCES}",
  507. "editable": true,
  508. "error": false,
  509. "fill": 0,
  510. "fillGradient": 0,
  511. "grid": {},
  512. "gridPos": {
  513. "h": 7,
  514. "w": 12,
  515. "x": 0,
  516. "y": 6
  517. },
  518. "hiddenSeries": false,
  519. "id": 6,
  520. "legend": {
  521. "avg": true,
  522. "current": false,
  523. "max": true,
  524. "min": true,
  525. "rightSide": false,
  526. "show": true,
  527. "total": false,
  528. "values": false
  529. },
  530. "lines": true,
  531. "linewidth": 1,
  532. "links": [],
  533. "nullPointMode": "null",
  534. "options": {
  535. "alertThreshold": true
  536. },
  537. "percentage": false,
  538. "pluginVersion": "8.0.6",
  539. "pointradius": 5,
  540. "points": false,
  541. "renderer": "flot",
  542. "seriesOverrides": [],
  543. "spaceLength": 10,
  544. "stack": false,
  545. "steppedLine": false,
  546. "targets": [
  547. {
  548. "alias": "User",
  549. "column": "user",
  550. "dsType": "influxdb",
  551. "function": "mean",
  552. "groupBy": [
  553. {
  554. "params": [
  555. "auto"
  556. ],
  557. "type": "time"
  558. },
  559. {
  560. "params": [
  561. "none"
  562. ],
  563. "type": "fill"
  564. }
  565. ],
  566. "measurement": "localhost.cpu",
  567. "orderByTime": "ASC",
  568. "policy": "default",
  569. "query": "SELECT mean(\"user\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
  570. "refId": "A",
  571. "resultFormat": "time_series",
  572. "select": [
  573. [
  574. {
  575. "params": [
  576. "user"
  577. ],
  578. "type": "field"
  579. },
  580. {
  581. "params": [],
  582. "type": "mean"
  583. }
  584. ]
  585. ],
  586. "series": "cpu",
  587. "tags": []
  588. },
  589. {
  590. "alias": "System",
  591. "column": "system",
  592. "dsType": "influxdb",
  593. "function": "mean",
  594. "groupBy": [
  595. {
  596. "params": [
  597. "auto"
  598. ],
  599. "type": "time"
  600. },
  601. {
  602. "params": [
  603. "none"
  604. ],
  605. "type": "fill"
  606. }
  607. ],
  608. "measurement": "localhost.cpu",
  609. "orderByTime": "ASC",
  610. "policy": "default",
  611. "query": "SELECT mean(\"system\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
  612. "refId": "B",
  613. "resultFormat": "time_series",
  614. "select": [
  615. [
  616. {
  617. "params": [
  618. "system"
  619. ],
  620. "type": "field"
  621. },
  622. {
  623. "params": [],
  624. "type": "mean"
  625. }
  626. ]
  627. ],
  628. "series": "cpu",
  629. "tags": [],
  630. "target": ""
  631. },
  632. {
  633. "alias": "IoWait",
  634. "column": "iowait",
  635. "dsType": "influxdb",
  636. "function": "mean",
  637. "groupBy": [
  638. {
  639. "params": [
  640. "auto"
  641. ],
  642. "type": "time"
  643. },
  644. {
  645. "params": [
  646. "none"
  647. ],
  648. "type": "fill"
  649. }
  650. ],
  651. "measurement": "localhost.cpu",
  652. "orderByTime": "ASC",
  653. "policy": "default",
  654. "query": "SELECT mean(\"iowait\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
  655. "refId": "C",
  656. "resultFormat": "time_series",
  657. "select": [
  658. [
  659. {
  660. "params": [
  661. "iowait"
  662. ],
  663. "type": "field"
  664. },
  665. {
  666. "params": [],
  667. "type": "mean"
  668. }
  669. ]
  670. ],
  671. "series": "cpu",
  672. "tags": [],
  673. "target": ""
  674. }
  675. ],
  676. "thresholds": [],
  677. "timeFrom": null,
  678. "timeRegions": [],
  679. "timeShift": null,
  680. "title": "CPU (%)",
  681. "tooltip": {
  682. "shared": false,
  683. "sort": 0,
  684. "value_type": "cumulative"
  685. },
  686. "type": "graph",
  687. "xaxis": {
  688. "buckets": null,
  689. "mode": "time",
  690. "name": null,
  691. "show": true,
  692. "values": []
  693. },
  694. "yaxes": [
  695. {
  696. "format": "percent",
  697. "logBase": 1,
  698. "max": null,
  699. "min": null,
  700. "show": true
  701. },
  702. {
  703. "format": "short",
  704. "logBase": 1,
  705. "max": null,
  706. "min": null,
  707. "show": true
  708. }
  709. ],
  710. "yaxis": {
  711. "align": false,
  712. "alignLevel": null
  713. }
  714. },
  715. {
  716. "cards": {
  717. "cardPadding": null,
  718. "cardRound": null
  719. },
  720. "color": {
  721. "cardColor": "rgb(255, 0, 0)",
  722. "colorScale": "sqrt",
  723. "colorScheme": "interpolateOranges",
  724. "exponent": 1,
  725. "mode": "opacity"
  726. },
  727. "dataFormat": "timeseries",
  728. "datasource": "${DS_GLANCES}",
  729. "gridPos": {
  730. "h": 6,
  731. "w": 6,
  732. "x": 12,
  733. "y": 6
  734. },
  735. "heatmap": {},
  736. "hideZeroBuckets": false,
  737. "highlightCards": true,
  738. "id": 23,
  739. "legend": {
  740. "show": false
  741. },
  742. "links": [],
  743. "reverseYBuckets": false,
  744. "targets": [
  745. {
  746. "alias": "CpuTemperature",
  747. "dsType": "influxdb",
  748. "groupBy": [
  749. {
  750. "params": [
  751. "$__interval"
  752. ],
  753. "type": "time"
  754. },
  755. {
  756. "params": [
  757. "null"
  758. ],
  759. "type": "fill"
  760. }
  761. ],
  762. "measurement": "localhost.sensors",
  763. "orderByTime": "ASC",
  764. "policy": "default",
  765. "refId": "A",
  766. "resultFormat": "time_series",
  767. "select": [
  768. [
  769. {
  770. "params": [
  771. "value"
  772. ],
  773. "type": "field"
  774. },
  775. {
  776. "params": [],
  777. "type": "mean"
  778. }
  779. ]
  780. ],
  781. "tags": []
  782. }
  783. ],
  784. "title": "Cpu Temperature",
  785. "tooltip": {
  786. "show": true,
  787. "showHistogram": false
  788. },
  789. "type": "heatmap",
  790. "xAxis": {
  791. "show": true
  792. },
  793. "xBucketNumber": null,
  794. "xBucketSize": null,
  795. "yAxis": {
  796. "decimals": null,
  797. "format": "celsius",
  798. "logBase": 1,
  799. "max": null,
  800. "min": "0",
  801. "show": true,
  802. "splitFactor": null
  803. },
  804. "yBucketBound": "auto",
  805. "yBucketNumber": null,
  806. "yBucketSize": null
  807. },
  808. {
  809. "aliasColors": {
  810. "Max": "#BF1B00"
  811. },
  812. "bars": false,
  813. "dashLength": 10,
  814. "dashes": false,
  815. "datasource": "${DS_GLANCES}",
  816. "editable": true,
  817. "error": false,
  818. "fill": 0,
  819. "fillGradient": 0,
  820. "grid": {},
  821. "gridPos": {
  822. "h": 6,
  823. "w": 6,
  824. "x": 18,
  825. "y": 6
  826. },
  827. "hiddenSeries": false,
  828. "id": 7,
  829. "legend": {
  830. "avg": false,
  831. "current": false,
  832. "max": false,
  833. "min": false,
  834. "show": true,
  835. "total": false,
  836. "values": false
  837. },
  838. "lines": true,
  839. "linewidth": 1,
  840. "links": [],
  841. "nullPointMode": "null",
  842. "options": {
  843. "alertThreshold": true
  844. },
  845. "percentage": false,
  846. "pluginVersion": "8.0.6",
  847. "pointradius": 5,
  848. "points": false,
  849. "renderer": "flot",
  850. "seriesOverrides": [],
  851. "spaceLength": 10,
  852. "stack": false,
  853. "steppedLine": false,
  854. "targets": [
  855. {
  856. "alias": "Used",
  857. "column": "used",
  858. "dsType": "influxdb",
  859. "function": "mean",
  860. "groupBy": [
  861. {
  862. "params": [
  863. "$__interval"
  864. ],
  865. "type": "time"
  866. }
  867. ],
  868. "measurement": "localhost.mem",
  869. "orderByTime": "ASC",
  870. "policy": "default",
  871. "query": "SELECT mean(\"used\") FROM \"localhost.mem\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
  872. "rawQuery": true,
  873. "refId": "A",
  874. "resultFormat": "time_series",
  875. "select": [
  876. [
  877. {
  878. "params": [
  879. "used"
  880. ],
  881. "type": "field"
  882. },
  883. {
  884. "params": [],
  885. "type": "mean"
  886. }
  887. ]
  888. ],
  889. "series": "mem",
  890. "tags": []
  891. },
  892. {
  893. "alias": "Max",
  894. "column": "total",
  895. "dsType": "influxdb",
  896. "function": "mean",
  897. "groupBy": [
  898. {
  899. "params": [
  900. "$__interval"
  901. ],
  902. "type": "time"
  903. }
  904. ],
  905. "measurement": "localhost.mem",
  906. "orderByTime": "ASC",
  907. "policy": "default",
  908. "query": "SELECT mean(\"total\") FROM \"localhost.mem\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
  909. "rawQuery": true,
  910. "refId": "B",
  911. "resultFormat": "time_series",
  912. "select": [
  913. [
  914. {
  915. "params": [
  916. "total"
  917. ],
  918. "type": "field"
  919. },
  920. {
  921. "params": [],
  922. "type": "mean"
  923. }
  924. ]
  925. ],
  926. "series": "mem",
  927. "tags": [],
  928. "target": ""
  929. }
  930. ],
  931. "thresholds": [],
  932. "timeFrom": null,
  933. "timeRegions": [],
  934. "timeShift": null,
  935. "title": "MEM",
  936. "tooltip": {
  937. "shared": false,
  938. "sort": 0,
  939. "value_type": "cumulative"
  940. },
  941. "type": "graph",
  942. "xaxis": {
  943. "buckets": null,
  944. "mode": "time",
  945. "name": null,
  946. "show": true,
  947. "values": []
  948. },
  949. "yaxes": [
  950. {
  951. "format": "bytes",
  952. "logBase": 1,
  953. "max": null,
  954. "min": null,
  955. "show": true
  956. },
  957. {
  958. "format": "short",
  959. "logBase": 1,
  960. "max": null,
  961. "min": null,
  962. "show": true
  963. }
  964. ],
  965. "yaxis": {
  966. "align": false,
  967. "alignLevel": null
  968. }
  969. },
  970. {
  971. "aliasColors": {
  972. "Max": "#BF1B00"
  973. },
  974. "bars": false,
  975. "dashLength": 10,
  976. "dashes": false,
  977. "datasource": "${DS_GLANCES}",
  978. "editable": true,
  979. "error": false,
  980. "fill": 0,
  981. "fillGradient": 0,
  982. "grid": {},
  983. "gridPos": {
  984. "h": 7,
  985. "w": 12,
  986. "x": 12,
  987. "y": 12
  988. },
  989. "hiddenSeries": false,
  990. "id": 8,
  991. "legend": {
  992. "avg": false,
  993. "current": false,
  994. "max": false,
  995. "min": false,
  996. "show": true,
  997. "total": false,
  998. "values": false
  999. },
  1000. "lines": true,
  1001. "linewidth": 1,
  1002. "links": [],
  1003. "nullPointMode": "null",
  1004. "options": {
  1005. "alertThreshold": true
  1006. },
  1007. "percentage": false,
  1008. "pluginVersion": "8.0.6",
  1009. "pointradius": 5,
  1010. "points": false,
  1011. "renderer": "flot",
  1012. "seriesOverrides": [],
  1013. "spaceLength": 10,
  1014. "stack": false,
  1015. "steppedLine": false,
  1016. "targets": [
  1017. {
  1018. "alias": "Used",
  1019. "column": "used",
  1020. "dsType": "influxdb",
  1021. "function": "mean",
  1022. "groupBy": [
  1023. {
  1024. "params": [
  1025. "$__interval"
  1026. ],
  1027. "type": "time"
  1028. }
  1029. ],
  1030. "measurement": "localhost.memswap",
  1031. "orderByTime": "ASC",
  1032. "policy": "default",
  1033. "query": "SELECT mean(\"used\") FROM \"localhost.memswap\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
  1034. "rawQuery": true,
  1035. "refId": "A",
  1036. "resultFormat": "time_series",
  1037. "select": [
  1038. [
  1039. {
  1040. "params": [
  1041. "used"
  1042. ],
  1043. "type": "field"
  1044. },
  1045. {
  1046. "params": [],
  1047. "type": "mean"
  1048. }
  1049. ]
  1050. ],
  1051. "series": "memswap",
  1052. "tags": []
  1053. },
  1054. {
  1055. "alias": "Max",
  1056. "column": "total",
  1057. "dsType": "influxdb",
  1058. "function": "mean",
  1059. "groupBy": [
  1060. {
  1061. "params": [
  1062. "$__interval"
  1063. ],
  1064. "type": "time"
  1065. }
  1066. ],
  1067. "measurement": "localhost.memswap",
  1068. "orderByTime": "ASC",
  1069. "policy": "default",
  1070. "query": "SELECT mean(\"total\") FROM \"localhost.memswap\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
  1071. "rawQuery": true,
  1072. "refId": "B",
  1073. "resultFormat": "time_series",
  1074. "select": [
  1075. [
  1076. {
  1077. "params": [
  1078. "total"
  1079. ],
  1080. "type": "field"
  1081. },
  1082. {
  1083. "params": [],
  1084. "type": "mean"
  1085. }
  1086. ]
  1087. ],
  1088. "series": "memswap",
  1089. "tags": [],
  1090. "target": ""
  1091. }
  1092. ],
  1093. "thresholds": [],
  1094. "timeFrom": null,
  1095. "timeRegions": [],
  1096. "timeShift": null,
  1097. "title": "SWAP",
  1098. "tooltip": {
  1099. "shared": false,
  1100. "sort": 0,
  1101. "value_type": "cumulative"
  1102. },
  1103. "type": "graph",
  1104. "xaxis": {
  1105. "buckets": null,
  1106. "mode": "time",
  1107. "name": null,
  1108. "show": true,
  1109. "values": []
  1110. },
  1111. "yaxes": [
  1112. {
  1113. "format": "bytes",
  1114. "logBase": 1,
  1115. "max": null,
  1116. "min": null,
  1117. "show": true
  1118. },
  1119. {
  1120. "format": "short",
  1121. "logBase": 1,
  1122. "max": null,
  1123. "min": null,
  1124. "show": true
  1125. }
  1126. ],
  1127. "yaxis": {
  1128. "align": false,
  1129. "alignLevel": null
  1130. }
  1131. },
  1132. {
  1133. "aliasColors": {},
  1134. "bars": false,
  1135. "dashLength": 10,
  1136. "dashes": false,
  1137. "datasource": "${DS_GLANCES}",
  1138. "editable": true,
  1139. "error": false,
  1140. "fill": 3,
  1141. "fillGradient": 0,
  1142. "grid": {},
  1143. "gridPos": {
  1144. "h": 7,
  1145. "w": 12,
  1146. "x": 0,
  1147. "y": 13
  1148. },
  1149. "hiddenSeries": false,
  1150. "id": 9,
  1151. "legend": {
  1152. "avg": true,
  1153. "current": false,
  1154. "max": true,
  1155. "min": true,
  1156. "show": true,
  1157. "total": false,
  1158. "values": true
  1159. },
  1160. "lines": true,
  1161. "linewidth": 1,
  1162. "links": [],
  1163. "nullPointMode": "null",
  1164. "options": {
  1165. "alertThreshold": true
  1166. },
  1167. "percentage": false,
  1168. "pluginVersion": "8.0.6",
  1169. "pointradius": 5,
  1170. "points": false,
  1171. "renderer": "flot",
  1172. "seriesOverrides": [
  1173. {
  1174. "alias": "Tx",
  1175. "yaxis": 1
  1176. }
  1177. ],
  1178. "spaceLength": 10,
  1179. "stack": false,
  1180. "steppedLine": false,
  1181. "targets": [
  1182. {
  1183. "alias": "In",
  1184. "column": "enp0s25.rx",
  1185. "dsType": "influxdb",
  1186. "function": "mean",
  1187. "groupBy": [
  1188. {
  1189. "params": [
  1190. "auto"
  1191. ],
  1192. "type": "time"
  1193. },
  1194. {
  1195. "params": [
  1196. "null"
  1197. ],
  1198. "type": "fill"
  1199. }
  1200. ],
  1201. "interval": "",
  1202. "measurement": "localhost.network",
  1203. "orderByTime": "ASC",
  1204. "policy": "default",
  1205. "query": "SELECT mean(\"rx\")/mean(\"time_since_update\")*8 FROM \"localhost.network\" WHERE (\"interface_name\" =~ /^$interface$/) AND $timeFilter GROUP BY time($interval) fill(none)",
  1206. "rawQuery": true,
  1207. "refId": "A",
  1208. "resultFormat": "time_series",
  1209. "select": [
  1210. [
  1211. {
  1212. "params": [
  1213. "eth0.rx"
  1214. ],
  1215. "type": "field"
  1216. },
  1217. {
  1218. "params": [],
  1219. "type": "mean"
  1220. }
  1221. ]
  1222. ],
  1223. "series": "network",
  1224. "tags": []
  1225. },
  1226. {
  1227. "alias": "Out",
  1228. "column": "eth0.tx*-1",
  1229. "dsType": "influxdb",
  1230. "function": "mean",
  1231. "groupBy": [
  1232. {
  1233. "params": [
  1234. "auto"
  1235. ],
  1236. "type": "time"
  1237. },
  1238. {
  1239. "params": [
  1240. "null"
  1241. ],
  1242. "type": "fill"
  1243. }
  1244. ],
  1245. "measurement": "localhost.network",
  1246. "orderByTime": "ASC",
  1247. "policy": "default",
  1248. "query": "SELECT mean(\"tx\")/mean(\"time_since_update\")*-8 FROM \"localhost.network\" WHERE (\"interface_name\" =~ /^$interface$/) AND $timeFilter GROUP BY time($interval) fill(none)",
  1249. "rawQuery": true,
  1250. "refId": "B",
  1251. "resultFormat": "time_series",
  1252. "select": [
  1253. [
  1254. {
  1255. "params": [
  1256. "eth0.tx"
  1257. ],
  1258. "type": "field"
  1259. },
  1260. {
  1261. "params": [],
  1262. "type": "mean"
  1263. }
  1264. ]
  1265. ],
  1266. "series": "network",
  1267. "tags": [],
  1268. "target": ""
  1269. }
  1270. ],
  1271. "thresholds": [],
  1272. "timeFrom": null,
  1273. "timeRegions": [],
  1274. "timeShift": null,
  1275. "title": "$interface network interface",
  1276. "tooltip": {
  1277. "shared": false,
  1278. "sort": 0,
  1279. "value_type": "cumulative"
  1280. },
  1281. "type": "graph",
  1282. "xaxis": {
  1283. "buckets": null,
  1284. "mode": "time",
  1285. "name": null,
  1286. "show": true,
  1287. "values": []
  1288. },
  1289. "yaxes": [
  1290. {
  1291. "format": "bps",
  1292. "logBase": 1,
  1293. "max": null,
  1294. "min": null,
  1295. "show": true
  1296. },
  1297. {
  1298. "format": "short",
  1299. "logBase": 1,
  1300. "max": null,
  1301. "min": null,
  1302. "show": true
  1303. }
  1304. ],
  1305. "yaxis": {
  1306. "align": false,
  1307. "alignLevel": null
  1308. }
  1309. },
  1310. {
  1311. "aliasColors": {
  1312. "Max": "#BF1B00"
  1313. },
  1314. "bars": false,
  1315. "dashLength": 10,
  1316. "dashes": false,
  1317. "datasource": "${DS_GLANCES}",
  1318. "editable": true,
  1319. "error": false,
  1320. "fill": 0,
  1321. "fillGradient": 0,
  1322. "grid": {},
  1323. "gridPos": {
  1324. "h": 7,
  1325. "w": 8,
  1326. "x": 12,
  1327. "y": 19
  1328. },
  1329. "hiddenSeries": false,
  1330. "id": 11,
  1331. "legend": {
  1332. "avg": false,
  1333. "current": false,
  1334. "max": false,
  1335. "min": false,
  1336. "show": true,
  1337. "total": false,
  1338. "values": false
  1339. },
  1340. "lines": true,
  1341. "linewidth": 3,
  1342. "links": [],
  1343. "nullPointMode": "null",
  1344. "options": {
  1345. "alertThreshold": true
  1346. },
  1347. "percentage": false,
  1348. "pluginVersion": "8.0.6",
  1349. "pointradius": 5,
  1350. "points": false,
  1351. "renderer": "flot",
  1352. "seriesOverrides": [
  1353. {
  1354. "alias": "Used",
  1355. "fill": 10
  1356. }
  1357. ],
  1358. "spaceLength": 10,
  1359. "stack": false,
  1360. "steppedLine": false,
  1361. "targets": [
  1362. {
  1363. "alias": "Used",
  1364. "column": "\"/.used\"",
  1365. "dsType": "influxdb",
  1366. "function": "mean",
  1367. "groupBy": [
  1368. {
  1369. "params": [
  1370. "$__interval"
  1371. ],
  1372. "type": "time"
  1373. },
  1374. {
  1375. "params": [
  1376. "none"
  1377. ],
  1378. "type": "fill"
  1379. }
  1380. ],
  1381. "measurement": "localhost.fs",
  1382. "orderByTime": "ASC",
  1383. "policy": "default",
  1384. "query": "SELECT mean(\"/.used\") FROM \"localhost.fs\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
  1385. "refId": "A",
  1386. "resultFormat": "time_series",
  1387. "select": [
  1388. [
  1389. {
  1390. "params": [
  1391. "used"
  1392. ],
  1393. "type": "field"
  1394. },
  1395. {
  1396. "params": [],
  1397. "type": "mean"
  1398. }
  1399. ]
  1400. ],
  1401. "series": "fs",
  1402. "tags": []
  1403. },
  1404. {
  1405. "alias": "Max",
  1406. "column": "\"/.size\"",
  1407. "dsType": "influxdb",
  1408. "function": "mean",
  1409. "groupBy": [
  1410. {
  1411. "params": [
  1412. "$__interval"
  1413. ],
  1414. "type": "time"
  1415. },
  1416. {
  1417. "params": [
  1418. "none"
  1419. ],
  1420. "type": "fill"
  1421. }
  1422. ],
  1423. "measurement": "localhost.fs",
  1424. "orderByTime": "ASC",
  1425. "policy": "default",
  1426. "query": "SELECT mean(\"/.size\") FROM \"localhost.fs\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
  1427. "refId": "B",
  1428. "resultFormat": "time_series",
  1429. "select": [
  1430. [
  1431. {
  1432. "params": [
  1433. "size"
  1434. ],
  1435. "type": "field"
  1436. },
  1437. {
  1438. "params": [],
  1439. "type": "mean"
  1440. }
  1441. ]
  1442. ],
  1443. "series": "fs",
  1444. "tags": [],
  1445. "target": ""
  1446. }
  1447. ],
  1448. "thresholds": [],
  1449. "timeFrom": null,
  1450. "timeRegions": [],
  1451. "timeShift": null,
  1452. "title": "/ Size",
  1453. "tooltip": {
  1454. "shared": false,
  1455. "sort": 0,
  1456. "value_type": "cumulative"
  1457. },
  1458. "type": "graph",
  1459. "xaxis": {
  1460. "buckets": null,
  1461. "mode": "time",
  1462. "name": null,
  1463. "show": true,
  1464. "values": []
  1465. },
  1466. "yaxes": [
  1467. {
  1468. "format": "bytes",
  1469. "logBase": 1,
  1470. "max": null,
  1471. "min": 0,
  1472. "show": true
  1473. },
  1474. {
  1475. "format": "short",
  1476. "logBase": 1,
  1477. "max": null,
  1478. "min": null,
  1479. "show": true
  1480. }
  1481. ],
  1482. "yaxis": {
  1483. "align": false,
  1484. "alignLevel": null
  1485. }
  1486. },
  1487. {
  1488. "cacheTimeout": null,
  1489. "datasource": "${DS_GLANCES}",
  1490. "fieldConfig": {
  1491. "defaults": {
  1492. "color": {
  1493. "mode": "thresholds"
  1494. },
  1495. "mappings": [
  1496. {
  1497. "options": {
  1498. "match": "null",
  1499. "result": {
  1500. "text": "N/A"
  1501. }
  1502. },
  1503. "type": "special"
  1504. }
  1505. ],
  1506. "thresholds": {
  1507. "mode": "absolute",
  1508. "steps": [
  1509. {
  1510. "color": "rgba(71, 212, 59, 0.4)",
  1511. "value": null
  1512. },
  1513. {
  1514. "color": "rgba(245, 150, 40, 0.73)",
  1515. "value": 70
  1516. },
  1517. {
  1518. "color": "rgba(225, 40, 40, 0.59)",
  1519. "value": 90
  1520. }
  1521. ]
  1522. },
  1523. "unit": "percent"
  1524. },
  1525. "overrides": []
  1526. },
  1527. "gridPos": {
  1528. "h": 7,
  1529. "w": 2,
  1530. "x": 20,
  1531. "y": 19
  1532. },
  1533. "id": 16,
  1534. "interval": null,
  1535. "links": [],
  1536. "maxDataPoints": 100,
  1537. "options": {
  1538. "colorMode": "background",
  1539. "graphMode": "area",
  1540. "justifyMode": "auto",
  1541. "orientation": "horizontal",
  1542. "reduceOptions": {
  1543. "calcs": [
  1544. "mean"
  1545. ],
  1546. "fields": "",
  1547. "values": false
  1548. },
  1549. "text": {},
  1550. "textMode": "auto"
  1551. },
  1552. "pluginVersion": "8.0.6",
  1553. "targets": [
  1554. {
  1555. "column": "\"/.percent\"",
  1556. "dsType": "influxdb",
  1557. "function": "mean",
  1558. "groupBy": [
  1559. {
  1560. "params": [
  1561. "auto"
  1562. ],
  1563. "type": "time"
  1564. }
  1565. ],
  1566. "measurement": "localhost.fs",
  1567. "orderByTime": "ASC",
  1568. "policy": "default",
  1569. "query": "SELECT mean(\"/.percent\") FROM \"localhost.fs\" WHERE $timeFilter GROUP BY time($interval)",
  1570. "refId": "A",
  1571. "resultFormat": "time_series",
  1572. "select": [
  1573. [
  1574. {
  1575. "params": [
  1576. "percent"
  1577. ],
  1578. "type": "field"
  1579. },
  1580. {
  1581. "params": [],
  1582. "type": "mean"
  1583. }
  1584. ]
  1585. ],
  1586. "series": "fs",
  1587. "tags": []
  1588. }
  1589. ],
  1590. "title": "fs.used",
  1591. "type": "stat"
  1592. },
  1593. {
  1594. "cacheTimeout": null,
  1595. "datasource": "${DS_GLANCES}",
  1596. "fieldConfig": {
  1597. "defaults": {
  1598. "color": {
  1599. "mode": "thresholds"
  1600. },
  1601. "mappings": [
  1602. {
  1603. "options": {
  1604. "match": "null",
  1605. "result": {
  1606. "text": "N/A"
  1607. }
  1608. },
  1609. "type": "special"
  1610. }
  1611. ],
  1612. "thresholds": {
  1613. "mode": "absolute",
  1614. "steps": [
  1615. {
  1616. "color": "rgba(71, 212, 59, 0.4)",
  1617. "value": null
  1618. },
  1619. {
  1620. "color": "rgba(245, 150, 40, 0.73)",
  1621. "value": 70
  1622. },
  1623. {
  1624. "color": "rgba(225, 40, 40, 0.59)",
  1625. "value": 90
  1626. }
  1627. ]
  1628. },
  1629. "unit": "percent"
  1630. },
  1631. "overrides": []
  1632. },
  1633. "gridPos": {
  1634. "h": 7,
  1635. "w": 2,
  1636. "x": 22,
  1637. "y": 19
  1638. },
  1639. "id": 17,
  1640. "interval": null,
  1641. "links": [],
  1642. "maxDataPoints": 100,
  1643. "options": {
  1644. "colorMode": "background",
  1645. "graphMode": "area",
  1646. "justifyMode": "auto",
  1647. "orientation": "horizontal",
  1648. "reduceOptions": {
  1649. "calcs": [
  1650. "mean"
  1651. ],
  1652. "fields": "",
  1653. "values": false
  1654. },
  1655. "text": {},
  1656. "textMode": "auto"
  1657. },
  1658. "pluginVersion": "8.0.6",
  1659. "targets": [
  1660. {
  1661. "column": "\"/home.percent\"",
  1662. "dsType": "influxdb",
  1663. "function": "mean",
  1664. "groupBy": [
  1665. {
  1666. "params": [
  1667. "auto"
  1668. ],
  1669. "type": "time"
  1670. }
  1671. ],
  1672. "measurement": "localhost.fs",
  1673. "orderByTime": "ASC",
  1674. "policy": "default",
  1675. "query": "SELECT mean(\"/boot/efi.percent\") FROM \"localhost.fs\" WHERE $timeFilter GROUP BY time($interval)",
  1676. "refId": "A",
  1677. "resultFormat": "time_series",
  1678. "select": [
  1679. [
  1680. {
  1681. "params": [
  1682. "conf.percent"
  1683. ],
  1684. "type": "field"
  1685. },
  1686. {
  1687. "params": [],
  1688. "type": "mean"
  1689. }
  1690. ]
  1691. ],
  1692. "series": "fs",
  1693. "tags": []
  1694. }
  1695. ],
  1696. "title": "fs.conf.used",
  1697. "type": "stat"
  1698. },
  1699. {
  1700. "aliasColors": {},
  1701. "bars": false,
  1702. "dashLength": 10,
  1703. "dashes": false,
  1704. "datasource": "${DS_GLANCES}",
  1705. "editable": true,
  1706. "error": false,
  1707. "fill": 0,
  1708. "fillGradient": 0,
  1709. "grid": {},
  1710. "gridPos": {
  1711. "h": 7,
  1712. "w": 12,
  1713. "x": 0,
  1714. "y": 20
  1715. },
  1716. "hiddenSeries": false,
  1717. "id": 10,
  1718. "legend": {
  1719. "avg": true,
  1720. "current": false,
  1721. "max": true,
  1722. "min": true,
  1723. "show": true,
  1724. "total": false,
  1725. "values": true
  1726. },
  1727. "lines": true,
  1728. "linewidth": 1,
  1729. "links": [],
  1730. "nullPointMode": "null",
  1731. "options": {
  1732. "alertThreshold": true
  1733. },
  1734. "percentage": false,
  1735. "pluginVersion": "8.0.6",
  1736. "pointradius": 5,
  1737. "points": false,
  1738. "renderer": "flot",
  1739. "seriesOverrides": [
  1740. {
  1741. "alias": "Write",
  1742. "yaxis": 2
  1743. }
  1744. ],
  1745. "spaceLength": 10,
  1746. "stack": false,
  1747. "steppedLine": false,
  1748. "targets": [
  1749. {
  1750. "alias": "Read",
  1751. "column": "sda2.read_bytes",
  1752. "dsType": "influxdb",
  1753. "function": "mean",
  1754. "groupBy": [
  1755. {
  1756. "params": [
  1757. "auto"
  1758. ],
  1759. "type": "time"
  1760. },
  1761. {
  1762. "params": [
  1763. "none"
  1764. ],
  1765. "type": "fill"
  1766. }
  1767. ],
  1768. "measurement": "localhost.diskio",
  1769. "orderByTime": "ASC",
  1770. "policy": "default",
  1771. "query": "SELECT mean(\"read_bytes\") FROM \"localhost.diskio\" WHERE (\"disk_name\" =~ /^$disk$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
  1772. "rawQuery": true,
  1773. "refId": "A",
  1774. "resultFormat": "time_series",
  1775. "select": [
  1776. [
  1777. {
  1778. "params": [
  1779. "sda2.read_bytes"
  1780. ],
  1781. "type": "field"
  1782. },
  1783. {
  1784. "params": [],
  1785. "type": "mean"
  1786. }
  1787. ]
  1788. ],
  1789. "series": "diskio",
  1790. "tags": []
  1791. },
  1792. {
  1793. "alias": "Write",
  1794. "column": "sda2.write_bytes",
  1795. "dsType": "influxdb",
  1796. "function": "mean",
  1797. "groupBy": [
  1798. {
  1799. "params": [
  1800. "auto"
  1801. ],
  1802. "type": "time"
  1803. },
  1804. {
  1805. "params": [
  1806. "none"
  1807. ],
  1808. "type": "fill"
  1809. }
  1810. ],
  1811. "measurement": "localhost.diskio",
  1812. "orderByTime": "ASC",
  1813. "policy": "default",
  1814. "query": "SELECT mean(\"write_bytes\") FROM \"localhost.diskio\" WHERE (\"disk_name\" =~ /^$disk$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
  1815. "rawQuery": true,
  1816. "refId": "B",
  1817. "resultFormat": "time_series",
  1818. "select": [
  1819. [
  1820. {
  1821. "params": [
  1822. "sda2.write_bytes"
  1823. ],
  1824. "type": "field"
  1825. },
  1826. {
  1827. "params": [],
  1828. "type": "mean"
  1829. }
  1830. ]
  1831. ],
  1832. "series": "diskio",
  1833. "tags": [],
  1834. "target": ""
  1835. },
  1836. {
  1837. "groupBy": [
  1838. {
  1839. "params": [
  1840. "$__interval"
  1841. ],
  1842. "type": "time"
  1843. },
  1844. {
  1845. "params": [
  1846. "null"
  1847. ],
  1848. "type": "fill"
  1849. }
  1850. ],
  1851. "hide": false,
  1852. "measurement": "localhost.diskio",
  1853. "orderByTime": "ASC",
  1854. "policy": "default",
  1855. "query": "SELECT mean(\"read_bytes\") FROM \"localhost.diskio\" WHERE (\"disk_name\" =~ /^$disk$/) AND $timeFilter GROUP BY time($__interval) fill(null)",
  1856. "rawQuery": true,
  1857. "refId": "C",
  1858. "resultFormat": "time_series",
  1859. "select": [
  1860. [
  1861. {
  1862. "params": [
  1863. "read_bytes"
  1864. ],
  1865. "type": "field"
  1866. },
  1867. {
  1868. "params": [],
  1869. "type": "mean"
  1870. }
  1871. ]
  1872. ],
  1873. "tags": [
  1874. {
  1875. "key": "disk_name",
  1876. "operator": "=~",
  1877. "value": "/^$disk$/"
  1878. }
  1879. ]
  1880. }
  1881. ],
  1882. "thresholds": [],
  1883. "timeFrom": null,
  1884. "timeRegions": [],
  1885. "timeShift": null,
  1886. "title": "$disk disk IO",
  1887. "tooltip": {
  1888. "shared": false,
  1889. "sort": 0,
  1890. "value_type": "cumulative"
  1891. },
  1892. "type": "graph",
  1893. "xaxis": {
  1894. "buckets": null,
  1895. "mode": "time",
  1896. "name": null,
  1897. "show": true,
  1898. "values": []
  1899. },
  1900. "yaxes": [
  1901. {
  1902. "format": "bytes",
  1903. "logBase": 1,
  1904. "max": null,
  1905. "min": null,
  1906. "show": true
  1907. },
  1908. {
  1909. "format": "short",
  1910. "logBase": 1,
  1911. "max": null,
  1912. "min": null,
  1913. "show": true
  1914. }
  1915. ],
  1916. "yaxis": {
  1917. "align": false,
  1918. "alignLevel": null
  1919. }
  1920. },
  1921. {
  1922. "datasource": null,
  1923. "editable": true,
  1924. "error": false,
  1925. "gridPos": {
  1926. "h": 3,
  1927. "w": 24,
  1928. "x": 0,
  1929. "y": 27
  1930. },
  1931. "id": 13,
  1932. "links": [],
  1933. "options": {
  1934. "content": "",
  1935. "mode": "markdown"
  1936. },
  1937. "pluginVersion": "8.0.6",
  1938. "style": {},
  1939. "title": "Containers",
  1940. "type": "text"
  1941. },
  1942. {
  1943. "aliasColors": {
  1944. "CPU%": "#cca300",
  1945. "MEM": "#2f575e",
  1946. "localhost.docker.mean": "#ba43a9"
  1947. },
  1948. "bars": false,
  1949. "dashLength": 10,
  1950. "dashes": false,
  1951. "datasource": "${DS_GLANCES}",
  1952. "fill": 0,
  1953. "fillGradient": 0,
  1954. "gridPos": {
  1955. "h": 8,
  1956. "w": 24,
  1957. "x": 0,
  1958. "y": 30
  1959. },
  1960. "hiddenSeries": false,
  1961. "id": 25,
  1962. "legend": {
  1963. "avg": false,
  1964. "current": false,
  1965. "max": false,
  1966. "min": false,
  1967. "show": true,
  1968. "total": false,
  1969. "values": false
  1970. },
  1971. "lines": true,
  1972. "linewidth": 2,
  1973. "links": [],
  1974. "nullPointMode": "null",
  1975. "options": {
  1976. "alertThreshold": true
  1977. },
  1978. "percentage": false,
  1979. "pluginVersion": "8.0.6",
  1980. "pointradius": 5,
  1981. "points": false,
  1982. "renderer": "flot",
  1983. "repeat": "container",
  1984. "repeatDirection": "v",
  1985. "seriesOverrides": [
  1986. {
  1987. "alias": "localhost.docker.mean",
  1988. "fill": 0
  1989. },
  1990. {
  1991. "alias": "MEM",
  1992. "yaxis": 2
  1993. },
  1994. {
  1995. "alias": "MEM",
  1996. "fill": 10,
  1997. "steppedLine": true,
  1998. "zindex": -3
  1999. }
  2000. ],
  2001. "spaceLength": 10,
  2002. "stack": false,
  2003. "steppedLine": false,
  2004. "targets": [
  2005. {
  2006. "alias": "CPU%",
  2007. "groupBy": [
  2008. {
  2009. "params": [
  2010. "$__interval"
  2011. ],
  2012. "type": "time"
  2013. },
  2014. {
  2015. "params": [
  2016. "none"
  2017. ],
  2018. "type": "fill"
  2019. }
  2020. ],
  2021. "hide": false,
  2022. "measurement": "localhost.docker",
  2023. "orderByTime": "ASC",
  2024. "policy": "default",
  2025. "query": "SELECT mean(\"cpu_percent\") FROM \"localhost.docker\" WHERE (\"name\" =~ /^$container$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
  2026. "rawQuery": true,
  2027. "refId": "A",
  2028. "resultFormat": "time_series",
  2029. "select": [
  2030. [
  2031. {
  2032. "params": [
  2033. "grafana.cpu_percent"
  2034. ],
  2035. "type": "field"
  2036. },
  2037. {
  2038. "params": [],
  2039. "type": "mean"
  2040. }
  2041. ]
  2042. ],
  2043. "tags": []
  2044. },
  2045. {
  2046. "alias": "MEM",
  2047. "groupBy": [
  2048. {
  2049. "params": [
  2050. "$__interval"
  2051. ],
  2052. "type": "time"
  2053. },
  2054. {
  2055. "params": [
  2056. "null"
  2057. ],
  2058. "type": "fill"
  2059. }
  2060. ],
  2061. "orderByTime": "ASC",
  2062. "policy": "default",
  2063. "query": "SELECT mean(\"memory_usage\") FROM \"localhost.docker\" WHERE (\"name\" =~ /^$container$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
  2064. "rawQuery": true,
  2065. "refId": "B",
  2066. "resultFormat": "time_series",
  2067. "select": [
  2068. [
  2069. {
  2070. "params": [
  2071. "value"
  2072. ],
  2073. "type": "field"
  2074. },
  2075. {
  2076. "params": [],
  2077. "type": "mean"
  2078. }
  2079. ]
  2080. ],
  2081. "tags": []
  2082. }
  2083. ],
  2084. "thresholds": [],
  2085. "timeFrom": null,
  2086. "timeRegions": [],
  2087. "timeShift": null,
  2088. "title": "$container container CPU consumption",
  2089. "tooltip": {
  2090. "shared": true,
  2091. "sort": 0,
  2092. "value_type": "individual"
  2093. },
  2094. "type": "graph",
  2095. "xaxis": {
  2096. "buckets": null,
  2097. "mode": "time",
  2098. "name": null,
  2099. "show": true,
  2100. "values": []
  2101. },
  2102. "yaxes": [
  2103. {
  2104. "format": "short",
  2105. "label": null,
  2106. "logBase": 1,
  2107. "max": null,
  2108. "min": null,
  2109. "show": true
  2110. },
  2111. {
  2112. "format": "short",
  2113. "label": null,
  2114. "logBase": 1,
  2115. "max": null,
  2116. "min": null,
  2117. "show": true
  2118. }
  2119. ],
  2120. "yaxis": {
  2121. "align": false,
  2122. "alignLevel": null
  2123. }
  2124. },
  2125. {
  2126. "datasource": null,
  2127. "editable": true,
  2128. "error": false,
  2129. "gridPos": {
  2130. "h": 3,
  2131. "w": 24,
  2132. "x": 0,
  2133. "y": 374
  2134. },
  2135. "id": 26,
  2136. "links": [],
  2137. "options": {
  2138. "content": "",
  2139. "mode": "markdown"
  2140. },
  2141. "pluginVersion": "8.0.6",
  2142. "style": {},
  2143. "title": "CPU details",
  2144. "type": "text"
  2145. },
  2146. {
  2147. "aliasColors": {
  2148. "max": "#890F02"
  2149. },
  2150. "bars": false,
  2151. "dashLength": 10,
  2152. "dashes": false,
  2153. "datasource": "${DS_GLANCES}",
  2154. "editable": true,
  2155. "error": false,
  2156. "fill": 0,
  2157. "fillGradient": 0,
  2158. "grid": {},
  2159. "gridPos": {
  2160. "h": 4,
  2161. "w": 24,
  2162. "x": 0,
  2163. "y": 377
  2164. },
  2165. "hiddenSeries": false,
  2166. "id": 12,
  2167. "legend": {
  2168. "avg": false,
  2169. "current": false,
  2170. "max": false,
  2171. "min": false,
  2172. "show": false,
  2173. "total": false,
  2174. "values": false
  2175. },
  2176. "lines": true,
  2177. "linewidth": 1,
  2178. "links": [],
  2179. "nullPointMode": "null",
  2180. "options": {
  2181. "alertThreshold": true
  2182. },
  2183. "percentage": false,
  2184. "pluginVersion": "8.0.6",
  2185. "pointradius": 5,
  2186. "points": false,
  2187. "renderer": "flot",
  2188. "seriesOverrides": [
  2189. {
  2190. "alias": "max",
  2191. "fillBelowTo": "min",
  2192. "lines": false
  2193. },
  2194. {
  2195. "alias": "min",
  2196. "lines": false
  2197. },
  2198. {
  2199. "alias": "mean",
  2200. "linewidth": 2,
  2201. "zindex": 3
  2202. }
  2203. ],
  2204. "spaceLength": 10,
  2205. "stack": false,
  2206. "steppedLine": false,
  2207. "targets": [
  2208. {
  2209. "alias": "mean",
  2210. "column": "user",
  2211. "dsType": "influxdb",
  2212. "function": "mean",
  2213. "groupBy": [
  2214. {
  2215. "params": [
  2216. "auto"
  2217. ],
  2218. "type": "time"
  2219. },
  2220. {
  2221. "params": [
  2222. "none"
  2223. ],
  2224. "type": "fill"
  2225. }
  2226. ],
  2227. "interval": "60s",
  2228. "measurement": "localhost.cpu",
  2229. "orderByTime": "ASC",
  2230. "policy": "default",
  2231. "query": "SELECT mean(\"user\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
  2232. "rawQuery": false,
  2233. "refId": "A",
  2234. "resultFormat": "time_series",
  2235. "select": [
  2236. [
  2237. {
  2238. "params": [
  2239. "user"
  2240. ],
  2241. "type": "field"
  2242. },
  2243. {
  2244. "params": [],
  2245. "type": "mean"
  2246. }
  2247. ]
  2248. ],
  2249. "series": "cpu",
  2250. "tags": []
  2251. },
  2252. {
  2253. "alias": "min",
  2254. "column": "user",
  2255. "dsType": "influxdb",
  2256. "function": "min",
  2257. "groupBy": [
  2258. {
  2259. "params": [
  2260. "auto"
  2261. ],
  2262. "type": "time"
  2263. },
  2264. {
  2265. "params": [
  2266. "none"
  2267. ],
  2268. "type": "fill"
  2269. }
  2270. ],
  2271. "interval": "60s",
  2272. "measurement": "localhost.cpu",
  2273. "orderByTime": "ASC",
  2274. "policy": "default",
  2275. "query": "SELECT min(\"user\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
  2276. "rawQuery": false,
  2277. "refId": "B",
  2278. "resultFormat": "time_series",
  2279. "select": [
  2280. [
  2281. {
  2282. "params": [
  2283. "user"
  2284. ],
  2285. "type": "field"
  2286. },
  2287. {
  2288. "params": [],
  2289. "type": "min"
  2290. }
  2291. ]
  2292. ],
  2293. "series": "cpu",
  2294. "tags": [],
  2295. "target": ""
  2296. },
  2297. {
  2298. "alias": "max",
  2299. "column": "user",
  2300. "dsType": "influxdb",
  2301. "function": "max",
  2302. "groupBy": [
  2303. {
  2304. "params": [
  2305. "auto"
  2306. ],
  2307. "type": "time"
  2308. },
  2309. {
  2310. "params": [
  2311. "null"
  2312. ],
  2313. "type": "fill"
  2314. }
  2315. ],
  2316. "interval": "60s",
  2317. "measurement": "localhost.cpu",
  2318. "orderByTime": "ASC",
  2319. "policy": "default",
  2320. "query": "SELECT max(\"user\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
  2321. "rawQuery": false,
  2322. "refId": "C",
  2323. "resultFormat": "time_series",
  2324. "select": [
  2325. [
  2326. {
  2327. "params": [
  2328. "user"
  2329. ],
  2330. "type": "field"
  2331. },
  2332. {
  2333. "params": [],
  2334. "type": "max"
  2335. }
  2336. ]
  2337. ],
  2338. "series": "cpu",
  2339. "tags": [],
  2340. "target": ""
  2341. }
  2342. ],
  2343. "thresholds": [],
  2344. "timeFrom": null,
  2345. "timeRegions": [],
  2346. "timeShift": null,
  2347. "title": "CPU user",
  2348. "tooltip": {
  2349. "shared": false,
  2350. "sort": 0,
  2351. "value_type": "cumulative"
  2352. },
  2353. "transparent": true,
  2354. "type": "graph",
  2355. "xaxis": {
  2356. "buckets": null,
  2357. "mode": "time",
  2358. "name": null,
  2359. "show": true,
  2360. "values": []
  2361. },
  2362. "yaxes": [
  2363. {
  2364. "format": "percent",
  2365. "logBase": 1,
  2366. "max": null,
  2367. "min": null,
  2368. "show": true
  2369. },
  2370. {
  2371. "format": "short",
  2372. "logBase": 1,
  2373. "max": null,
  2374. "min": null,
  2375. "show": true
  2376. }
  2377. ],
  2378. "yaxis": {
  2379. "align": false,
  2380. "alignLevel": null
  2381. }
  2382. },
  2383. {
  2384. "aliasColors": {
  2385. "max": "#890F02"
  2386. },
  2387. "bars": false,
  2388. "dashLength": 10,
  2389. "dashes": false,
  2390. "datasource": "${DS_GLANCES}",
  2391. "editable": true,
  2392. "error": false,
  2393. "fill": 0,
  2394. "fillGradient": 0,
  2395. "grid": {},
  2396. "gridPos": {
  2397. "h": 4,
  2398. "w": 24,
  2399. "x": 0,
  2400. "y": 381
  2401. },
  2402. "hiddenSeries": false,
  2403. "id": 14,
  2404. "legend": {
  2405. "avg": false,
  2406. "current": false,
  2407. "max": false,
  2408. "min": false,
  2409. "show": false,
  2410. "total": false,
  2411. "values": false
  2412. },
  2413. "lines": true,
  2414. "linewidth": 1,
  2415. "links": [],
  2416. "nullPointMode": "null",
  2417. "options": {
  2418. "alertThreshold": true
  2419. },
  2420. "percentage": false,
  2421. "pluginVersion": "8.0.6",
  2422. "pointradius": 5,
  2423. "points": false,
  2424. "renderer": "flot",
  2425. "seriesOverrides": [
  2426. {
  2427. "alias": "max",
  2428. "fillBelowTo": "min",
  2429. "lines": false
  2430. },
  2431. {
  2432. "alias": "min",
  2433. "lines": false
  2434. },
  2435. {
  2436. "alias": "mean",
  2437. "linewidth": 2,
  2438. "zindex": 3
  2439. }
  2440. ],
  2441. "spaceLength": 10,
  2442. "stack": false,
  2443. "steppedLine": false,
  2444. "targets": [
  2445. {
  2446. "alias": "mean",
  2447. "column": "system",
  2448. "dsType": "influxdb",
  2449. "function": "mean",
  2450. "groupBy": [
  2451. {
  2452. "params": [
  2453. "auto"
  2454. ],
  2455. "type": "time"
  2456. },
  2457. {
  2458. "params": [
  2459. "none"
  2460. ],
  2461. "type": "fill"
  2462. }
  2463. ],
  2464. "interval": "60s",
  2465. "measurement": "localhost.cpu",
  2466. "orderByTime": "ASC",
  2467. "policy": "default",
  2468. "query": "SELECT mean(\"system\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
  2469. "rawQuery": false,
  2470. "refId": "A",
  2471. "resultFormat": "time_series",
  2472. "select": [
  2473. [
  2474. {
  2475. "params": [
  2476. "system"
  2477. ],
  2478. "type": "field"
  2479. },
  2480. {
  2481. "params": [],
  2482. "type": "mean"
  2483. }
  2484. ]
  2485. ],
  2486. "series": "cpu",
  2487. "tags": []
  2488. },
  2489. {
  2490. "alias": "min",
  2491. "column": "system",
  2492. "dsType": "influxdb",
  2493. "function": "min",
  2494. "groupBy": [
  2495. {
  2496. "params": [
  2497. "auto"
  2498. ],
  2499. "type": "time"
  2500. },
  2501. {
  2502. "params": [
  2503. "none"
  2504. ],
  2505. "type": "fill"
  2506. }
  2507. ],
  2508. "interval": "60s",
  2509. "measurement": "localhost.cpu",
  2510. "orderByTime": "ASC",
  2511. "policy": "default",
  2512. "query": "SELECT min(\"system\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
  2513. "rawQuery": false,
  2514. "refId": "B",
  2515. "resultFormat": "time_series",
  2516. "select": [
  2517. [
  2518. {
  2519. "params": [
  2520. "system"
  2521. ],
  2522. "type": "field"
  2523. },
  2524. {
  2525. "params": [],
  2526. "type": "min"
  2527. }
  2528. ]
  2529. ],
  2530. "series": "cpu",
  2531. "tags": [],
  2532. "target": ""
  2533. },
  2534. {
  2535. "alias": "max",
  2536. "column": "system",
  2537. "dsType": "influxdb",
  2538. "function": "max",
  2539. "groupBy": [
  2540. {
  2541. "params": [
  2542. "auto"
  2543. ],
  2544. "type": "time"
  2545. },
  2546. {
  2547. "params": [
  2548. "none"
  2549. ],
  2550. "type": "fill"
  2551. }
  2552. ],
  2553. "interval": "60s",
  2554. "measurement": "localhost.cpu",
  2555. "orderByTime": "ASC",
  2556. "policy": "default",
  2557. "query": "SELECT max(\"system\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
  2558. "rawQuery": false,
  2559. "refId": "C",
  2560. "resultFormat": "time_series",
  2561. "select": [
  2562. [
  2563. {
  2564. "params": [
  2565. "system"
  2566. ],
  2567. "type": "field"
  2568. },
  2569. {
  2570. "params": [],
  2571. "type": "max"
  2572. }
  2573. ]
  2574. ],
  2575. "series": "cpu",
  2576. "tags": [],
  2577. "target": ""
  2578. }
  2579. ],
  2580. "thresholds": [],
  2581. "timeFrom": null,
  2582. "timeRegions": [],
  2583. "timeShift": null,
  2584. "title": "CPU system",
  2585. "tooltip": {
  2586. "shared": false,
  2587. "sort": 0,
  2588. "value_type": "cumulative"
  2589. },
  2590. "transparent": true,
  2591. "type": "graph",
  2592. "xaxis": {
  2593. "buckets": null,
  2594. "mode": "time",
  2595. "name": null,
  2596. "show": true,
  2597. "values": []
  2598. },
  2599. "yaxes": [
  2600. {
  2601. "format": "percent",
  2602. "logBase": 1,
  2603. "max": null,
  2604. "min": null,
  2605. "show": true
  2606. },
  2607. {
  2608. "format": "short",
  2609. "logBase": 1,
  2610. "max": null,
  2611. "min": null,
  2612. "show": true
  2613. }
  2614. ],
  2615. "yaxis": {
  2616. "align": false,
  2617. "alignLevel": null
  2618. }
  2619. },
  2620. {
  2621. "aliasColors": {
  2622. "max": "#890F02"
  2623. },
  2624. "bars": false,
  2625. "dashLength": 10,
  2626. "dashes": false,
  2627. "datasource": "${DS_GLANCES}",
  2628. "editable": true,
  2629. "error": false,
  2630. "fill": 0,
  2631. "fillGradient": 0,
  2632. "grid": {},
  2633. "gridPos": {
  2634. "h": 4,
  2635. "w": 24,
  2636. "x": 0,
  2637. "y": 385
  2638. },
  2639. "hiddenSeries": false,
  2640. "id": 15,
  2641. "legend": {
  2642. "alignAsTable": false,
  2643. "avg": false,
  2644. "current": false,
  2645. "hideEmpty": false,
  2646. "max": false,
  2647. "min": false,
  2648. "show": false,
  2649. "total": false,
  2650. "values": false
  2651. },
  2652. "lines": true,
  2653. "linewidth": 1,
  2654. "links": [],
  2655. "nullPointMode": "null",
  2656. "options": {
  2657. "alertThreshold": true
  2658. },
  2659. "percentage": false,
  2660. "pluginVersion": "8.0.6",
  2661. "pointradius": 5,
  2662. "points": false,
  2663. "renderer": "flot",
  2664. "seriesOverrides": [
  2665. {
  2666. "alias": "max",
  2667. "fillBelowTo": "min",
  2668. "lines": false
  2669. },
  2670. {
  2671. "alias": "min",
  2672. "lines": false
  2673. },
  2674. {
  2675. "alias": "mean",
  2676. "linewidth": 2,
  2677. "zindex": 3
  2678. }
  2679. ],
  2680. "spaceLength": 10,
  2681. "stack": false,
  2682. "steppedLine": false,
  2683. "targets": [
  2684. {
  2685. "alias": "mean",
  2686. "column": "iowait",
  2687. "dsType": "influxdb",
  2688. "function": "mean",
  2689. "groupBy": [
  2690. {
  2691. "params": [
  2692. "auto"
  2693. ],
  2694. "type": "time"
  2695. },
  2696. {
  2697. "params": [
  2698. "none"
  2699. ],
  2700. "type": "fill"
  2701. }
  2702. ],
  2703. "interval": "60s",
  2704. "measurement": "localhost.cpu",
  2705. "orderByTime": "ASC",
  2706. "policy": "default",
  2707. "query": "SELECT mean(\"iowait\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
  2708. "rawQuery": false,
  2709. "refId": "A",
  2710. "resultFormat": "time_series",
  2711. "select": [
  2712. [
  2713. {
  2714. "params": [
  2715. "iowait"
  2716. ],
  2717. "type": "field"
  2718. },
  2719. {
  2720. "params": [],
  2721. "type": "mean"
  2722. }
  2723. ]
  2724. ],
  2725. "series": "cpu",
  2726. "tags": []
  2727. },
  2728. {
  2729. "alias": "min",
  2730. "column": "iowait",
  2731. "dsType": "influxdb",
  2732. "function": "min",
  2733. "groupBy": [
  2734. {
  2735. "params": [
  2736. "auto"
  2737. ],
  2738. "type": "time"
  2739. },
  2740. {
  2741. "params": [
  2742. "none"
  2743. ],
  2744. "type": "fill"
  2745. }
  2746. ],
  2747. "interval": "60s",
  2748. "measurement": "localhost.cpu",
  2749. "orderByTime": "ASC",
  2750. "policy": "default",
  2751. "query": "SELECT min(\"iowait\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
  2752. "rawQuery": false,
  2753. "refId": "B",
  2754. "resultFormat": "time_series",
  2755. "select": [
  2756. [
  2757. {
  2758. "params": [
  2759. "iowait"
  2760. ],
  2761. "type": "field"
  2762. },
  2763. {
  2764. "params": [],
  2765. "type": "min"
  2766. }
  2767. ]
  2768. ],
  2769. "series": "cpu",
  2770. "tags": [],
  2771. "target": ""
  2772. },
  2773. {
  2774. "alias": "max",
  2775. "column": "iowait",
  2776. "dsType": "influxdb",
  2777. "function": "max",
  2778. "groupBy": [
  2779. {
  2780. "params": [
  2781. "auto"
  2782. ],
  2783. "type": "time"
  2784. },
  2785. {
  2786. "params": [
  2787. "none"
  2788. ],
  2789. "type": "fill"
  2790. }
  2791. ],
  2792. "interval": "60s",
  2793. "measurement": "localhost.cpu",
  2794. "orderByTime": "ASC",
  2795. "policy": "default",
  2796. "query": "SELECT max(\"iowait\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
  2797. "rawQuery": false,
  2798. "refId": "C",
  2799. "resultFormat": "time_series",
  2800. "select": [
  2801. [
  2802. {
  2803. "params": [
  2804. "iowait"
  2805. ],
  2806. "type": "field"
  2807. },
  2808. {
  2809. "params": [],
  2810. "type": "max"
  2811. }
  2812. ]
  2813. ],
  2814. "series": "cpu",
  2815. "tags": [],
  2816. "target": ""
  2817. }
  2818. ],
  2819. "thresholds": [],
  2820. "timeFrom": null,
  2821. "timeRegions": [],
  2822. "timeShift": null,
  2823. "title": "CPU iowait",
  2824. "tooltip": {
  2825. "shared": false,
  2826. "sort": 0,
  2827. "value_type": "cumulative"
  2828. },
  2829. "transparent": true,
  2830. "type": "graph",
  2831. "xaxis": {
  2832. "buckets": null,
  2833. "mode": "time",
  2834. "name": null,
  2835. "show": true,
  2836. "values": []
  2837. },
  2838. "yaxes": [
  2839. {
  2840. "format": "percent",
  2841. "logBase": 1,
  2842. "max": null,
  2843. "min": null,
  2844. "show": true
  2845. },
  2846. {
  2847. "format": "short",
  2848. "logBase": 1,
  2849. "max": null,
  2850. "min": null,
  2851. "show": true
  2852. }
  2853. ],
  2854. "yaxis": {
  2855. "align": false,
  2856. "alignLevel": null
  2857. }
  2858. },
  2859. {
  2860. "aliasColors": {
  2861. "max": "#890F02"
  2862. },
  2863. "bars": false,
  2864. "dashLength": 10,
  2865. "dashes": false,
  2866. "datasource": "${DS_GLANCES}",
  2867. "editable": true,
  2868. "error": false,
  2869. "fill": 0,
  2870. "fillGradient": 0,
  2871. "grid": {},
  2872. "gridPos": {
  2873. "h": 4,
  2874. "w": 24,
  2875. "x": 0,
  2876. "y": 389
  2877. },
  2878. "hiddenSeries": false,
  2879. "id": 19,
  2880. "legend": {
  2881. "alignAsTable": false,
  2882. "avg": false,
  2883. "current": false,
  2884. "hideEmpty": false,
  2885. "max": false,
  2886. "min": false,
  2887. "show": false,
  2888. "total": false,
  2889. "values": false
  2890. },
  2891. "lines": true,
  2892. "linewidth": 2,
  2893. "links": [],
  2894. "nullPointMode": "null",
  2895. "options": {
  2896. "alertThreshold": true
  2897. },
  2898. "percentage": false,
  2899. "pluginVersion": "8.0.6",
  2900. "pointradius": 5,
  2901. "points": false,
  2902. "renderer": "flot",
  2903. "seriesOverrides": [],
  2904. "spaceLength": 10,
  2905. "stack": false,
  2906. "steppedLine": false,
  2907. "targets": [
  2908. {
  2909. "alias": "mean",
  2910. "column": "iowait",
  2911. "dsType": "influxdb",
  2912. "function": "mean",
  2913. "groupBy": [
  2914. {
  2915. "params": [
  2916. "auto"
  2917. ],
  2918. "type": "time"
  2919. },
  2920. {
  2921. "params": [
  2922. "none"
  2923. ],
  2924. "type": "fill"
  2925. }
  2926. ],
  2927. "interval": "60s",
  2928. "measurement": "localhost.cpu",
  2929. "orderByTime": "ASC",
  2930. "policy": "default",
  2931. "query": "SELECT mean(\"ctx_switches\") / mean(\"time_since_update\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($interval)",
  2932. "rawQuery": false,
  2933. "refId": "A",
  2934. "resultFormat": "time_series",
  2935. "select": [
  2936. [
  2937. {
  2938. "params": [
  2939. "time_since_update"
  2940. ],
  2941. "type": "field"
  2942. },
  2943. {
  2944. "params": [],
  2945. "type": "mean"
  2946. }
  2947. ]
  2948. ],
  2949. "series": "cpu",
  2950. "tags": []
  2951. }
  2952. ],
  2953. "thresholds": [],
  2954. "timeFrom": null,
  2955. "timeRegions": [],
  2956. "timeShift": null,
  2957. "title": "Context switches",
  2958. "tooltip": {
  2959. "shared": false,
  2960. "sort": 0,
  2961. "value_type": "cumulative"
  2962. },
  2963. "transparent": true,
  2964. "type": "graph",
  2965. "xaxis": {
  2966. "buckets": null,
  2967. "mode": "time",
  2968. "name": null,
  2969. "show": true,
  2970. "values": []
  2971. },
  2972. "yaxes": [
  2973. {
  2974. "format": "none",
  2975. "logBase": 1,
  2976. "max": null,
  2977. "min": null,
  2978. "show": true
  2979. },
  2980. {
  2981. "format": "short",
  2982. "logBase": 1,
  2983. "max": null,
  2984. "min": null,
  2985. "show": true
  2986. }
  2987. ],
  2988. "yaxis": {
  2989. "align": false,
  2990. "alignLevel": null
  2991. }
  2992. },
  2993. {
  2994. "aliasColors": {
  2995. "max": "#890F02"
  2996. },
  2997. "bars": false,
  2998. "dashLength": 10,
  2999. "dashes": false,
  3000. "datasource": "${DS_GLANCES}",
  3001. "editable": true,
  3002. "error": false,
  3003. "fill": 0,
  3004. "fillGradient": 0,
  3005. "grid": {},
  3006. "gridPos": {
  3007. "h": 4,
  3008. "w": 24,
  3009. "x": 0,
  3010. "y": 393
  3011. },
  3012. "hiddenSeries": false,
  3013. "id": 20,
  3014. "legend": {
  3015. "alignAsTable": false,
  3016. "avg": false,
  3017. "current": false,
  3018. "hideEmpty": false,
  3019. "max": false,
  3020. "min": false,
  3021. "show": false,
  3022. "total": false,
  3023. "values": false
  3024. },
  3025. "lines": true,
  3026. "linewidth": 2,
  3027. "links": [],
  3028. "nullPointMode": "null",
  3029. "options": {
  3030. "alertThreshold": true
  3031. },
  3032. "percentage": false,
  3033. "pluginVersion": "8.0.6",
  3034. "pointradius": 5,
  3035. "points": false,
  3036. "renderer": "flot",
  3037. "seriesOverrides": [],
  3038. "spaceLength": 10,
  3039. "stack": false,
  3040. "steppedLine": false,
  3041. "targets": [
  3042. {
  3043. "alias": "mean",
  3044. "column": "iowait",
  3045. "dsType": "influxdb",
  3046. "function": "mean",
  3047. "groupBy": [
  3048. {
  3049. "params": [
  3050. "auto"
  3051. ],
  3052. "type": "time"
  3053. },
  3054. {
  3055. "params": [
  3056. "none"
  3057. ],
  3058. "type": "fill"
  3059. }
  3060. ],
  3061. "interval": "60s",
  3062. "measurement": "localhost.cpu",
  3063. "orderByTime": "ASC",
  3064. "policy": "default",
  3065. "query": "SELECT mean(\"interrupts\") / mean(\"time_since_update\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($interval)",
  3066. "rawQuery": false,
  3067. "refId": "A",
  3068. "resultFormat": "time_series",
  3069. "select": [
  3070. [
  3071. {
  3072. "params": [
  3073. "time_since_update"
  3074. ],
  3075. "type": "field"
  3076. },
  3077. {
  3078. "params": [],
  3079. "type": "mean"
  3080. }
  3081. ]
  3082. ],
  3083. "series": "cpu",
  3084. "tags": []
  3085. }
  3086. ],
  3087. "thresholds": [],
  3088. "timeFrom": null,
  3089. "timeRegions": [],
  3090. "timeShift": null,
  3091. "title": "Interrupts",
  3092. "tooltip": {
  3093. "shared": false,
  3094. "sort": 0,
  3095. "value_type": "cumulative"
  3096. },
  3097. "transparent": true,
  3098. "type": "graph",
  3099. "xaxis": {
  3100. "buckets": null,
  3101. "mode": "time",
  3102. "name": null,
  3103. "show": true,
  3104. "values": []
  3105. },
  3106. "yaxes": [
  3107. {
  3108. "format": "none",
  3109. "logBase": 1,
  3110. "max": null,
  3111. "min": null,
  3112. "show": true
  3113. },
  3114. {
  3115. "format": "short",
  3116. "logBase": 1,
  3117. "max": null,
  3118. "min": null,
  3119. "show": true
  3120. }
  3121. ],
  3122. "yaxis": {
  3123. "align": false,
  3124. "alignLevel": null
  3125. }
  3126. },
  3127. {
  3128. "datasource": null,
  3129. "gridPos": {
  3130. "h": 3,
  3131. "w": 24,
  3132. "x": 0,
  3133. "y": 397
  3134. },
  3135. "id": 22,
  3136. "links": [],
  3137. "options": {
  3138. "content": "",
  3139. "mode": "markdown"
  3140. },
  3141. "pluginVersion": "8.0.6",
  3142. "title": "Sensors",
  3143. "type": "text"
  3144. }
  3145. ],
  3146. "refresh": false,
  3147. "schemaVersion": 30,
  3148. "style": "dark",
  3149. "tags": [],
  3150. "templating": {
  3151. "list": [
  3152. {
  3153. "allValue": null,
  3154. "current": {},
  3155. "datasource": "${DS_GLANCES}",
  3156. "definition": "",
  3157. "description": null,
  3158. "error": null,
  3159. "hide": 0,
  3160. "includeAll": false,
  3161. "label": null,
  3162. "multi": false,
  3163. "name": "host",
  3164. "options": [],
  3165. "query": "show measurements",
  3166. "refresh": 1,
  3167. "regex": "/(.*)\\..*/",
  3168. "skipUrlSync": false,
  3169. "sort": 0,
  3170. "tagValuesQuery": "",
  3171. "tagsQuery": "",
  3172. "type": "query",
  3173. "useTags": false
  3174. },
  3175. {
  3176. "allValue": null,
  3177. "current": {},
  3178. "datasource": "${DS_GLANCES}",
  3179. "definition": "show tag values with key=\"name\"",
  3180. "description": null,
  3181. "error": null,
  3182. "hide": 0,
  3183. "includeAll": true,
  3184. "label": null,
  3185. "multi": true,
  3186. "name": "container",
  3187. "options": [],
  3188. "query": "show tag values with key=\"name\"",
  3189. "refresh": 1,
  3190. "regex": "",
  3191. "skipUrlSync": false,
  3192. "sort": 1,
  3193. "tagValuesQuery": "",
  3194. "tagsQuery": "",
  3195. "type": "query",
  3196. "useTags": false
  3197. },
  3198. {
  3199. "allValue": null,
  3200. "current": {},
  3201. "datasource": "${DS_GLANCES}",
  3202. "definition": "show tag values with key=\"interface_name\"",
  3203. "description": null,
  3204. "error": null,
  3205. "hide": 0,
  3206. "includeAll": false,
  3207. "label": null,
  3208. "multi": false,
  3209. "name": "interface",
  3210. "options": [],
  3211. "query": "show tag values with key=\"interface_name\"",
  3212. "refresh": 1,
  3213. "regex": "",
  3214. "skipUrlSync": false,
  3215. "sort": 1,
  3216. "tagValuesQuery": "",
  3217. "tagsQuery": "",
  3218. "type": "query",
  3219. "useTags": false
  3220. },
  3221. {
  3222. "allValue": null,
  3223. "current": {},
  3224. "datasource": "${DS_GLANCES}",
  3225. "definition": "show tag values with key=\"disk_name\"",
  3226. "description": null,
  3227. "error": null,
  3228. "hide": 0,
  3229. "includeAll": false,
  3230. "label": null,
  3231. "multi": false,
  3232. "name": "disk",
  3233. "options": [],
  3234. "query": "show tag values with key=\"disk_name\"",
  3235. "refresh": 1,
  3236. "regex": "",
  3237. "skipUrlSync": false,
  3238. "sort": 1,
  3239. "tagValuesQuery": "",
  3240. "tagsQuery": "",
  3241. "type": "query",
  3242. "useTags": false
  3243. }
  3244. ]
  3245. },
  3246. "time": {
  3247. "from": "now-2d",
  3248. "to": "now"
  3249. },
  3250. "timepicker": {
  3251. "collapse": false,
  3252. "enable": true,
  3253. "notice": false,
  3254. "now": true,
  3255. "refresh_intervals": [
  3256. "5s",
  3257. "10s",
  3258. "30s",
  3259. "1m",
  3260. "5m",
  3261. "15m",
  3262. "30m",
  3263. "1h",
  3264. "2h",
  3265. "1d"
  3266. ],
  3267. "status": "Stable",
  3268. "time_options": [
  3269. "5m",
  3270. "15m",
  3271. "1h",
  3272. "6h",
  3273. "12h",
  3274. "24h",
  3275. "2d",
  3276. "7d",
  3277. "30d"
  3278. ],
  3279. "type": "timepicker"
  3280. },
  3281. "timezone": "browser",
  3282. "title": "Glances - 2021",
  3283. "uid": "Rimy4hG7k",
  3284. "version": 21
  3285. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement