Saltstack Official Linux Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

system_disk_prometheus.json 24KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134
  1. {% raw %}
  2. {
  3. "annotations": {
  4. "list": [
  5. {
  6. "builtIn": 1,
  7. "datasource": "prometheus",
  8. "enable": true,
  9. "hide": true,
  10. "iconColor": "rgba(0, 211, 255, 1)",
  11. "limit": 100,
  12. "name": "Annotations & Alerts",
  13. "showIn": 0,
  14. "type": "dashboard"
  15. }
  16. ]
  17. },
  18. "editable": true,
  19. "gnetId": null,
  20. "graphTooltip": 1,
  21. "id": null,
  22. "iteration": 1529499136114,
  23. "links": [],
  24. "panels": [
  25. {
  26. "collapsed": false,
  27. "gridPos": {
  28. "h": 1,
  29. "w": 24,
  30. "x": 0,
  31. "y": 0
  32. },
  33. "id": 22,
  34. "panels": [],
  35. "repeat": null,
  36. "title": "File system",
  37. "type": "row"
  38. },
  39. {
  40. "cacheTimeout": null,
  41. "colorBackground": false,
  42. "colorValue": false,
  43. "colors": [
  44. "rgba(50, 172, 45, 0.97)",
  45. "rgba(237, 129, 40, 0.89)",
  46. "rgba(245, 54, 54, 0.9)"
  47. ],
  48. "datasource": null,
  49. "format": "percent",
  50. "gauge": {
  51. "maxValue": 100,
  52. "minValue": 0,
  53. "show": true,
  54. "thresholdLabels": false,
  55. "thresholdMarkers": true
  56. },
  57. "gridPos": {
  58. "h": 6,
  59. "w": 3,
  60. "x": 0,
  61. "y": 1
  62. },
  63. "hideTimeOverride": false,
  64. "id": 11,
  65. "interval": null,
  66. "links": [],
  67. "mappingType": 1,
  68. "mappingTypes": [
  69. {
  70. "name": "value to text",
  71. "value": 1
  72. },
  73. {
  74. "name": "range to text",
  75. "value": 2
  76. }
  77. ],
  78. "maxDataPoints": 100,
  79. "nullPointMode": "connected",
  80. "nullText": null,
  81. "postfix": "",
  82. "postfixFontSize": "50%",
  83. "prefix": "",
  84. "prefixFontSize": "50%",
  85. "rangeMaps": [
  86. {
  87. "from": "null",
  88. "text": "N/A",
  89. "to": "null"
  90. }
  91. ],
  92. "repeat": "host",
  93. "repeatDirection": "v",
  94. "scopedVars": {
  95. "host": {
  96. "selected": true,
  97. "text": "cfg01",
  98. "value": "cfg01"
  99. }
  100. },
  101. "sparkline": {
  102. "fillColor": "rgba(31, 118, 189, 0.18)",
  103. "full": false,
  104. "lineColor": "rgb(31, 120, 193)",
  105. "show": false
  106. },
  107. "tableColumn": "",
  108. "targets": [
  109. {
  110. "expr": "avg(disk_used_percent{host=\"$host\",path=~\"$mount\"}) by (mount)",
  111. "format": "time_series",
  112. "intervalFactor": 2,
  113. "refId": "A",
  114. "step": 60
  115. }
  116. ],
  117. "thresholds": "80,90",
  118. "timeFrom": null,
  119. "title": "Used space@$host dev $mount",
  120. "type": "singlestat",
  121. "valueFontSize": "80%",
  122. "valueMaps": [
  123. {
  124. "op": "=",
  125. "text": "N/A",
  126. "value": "null"
  127. }
  128. ],
  129. "valueName": "current"
  130. },
  131. {
  132. "cacheTimeout": null,
  133. "colorBackground": false,
  134. "colorValue": false,
  135. "colors": [
  136. "rgba(50, 172, 45, 0.97)",
  137. "rgba(237, 129, 40, 0.89)",
  138. "rgba(245, 54, 54, 0.9)"
  139. ],
  140. "datasource": null,
  141. "format": "percent",
  142. "gauge": {
  143. "maxValue": 100,
  144. "minValue": 0,
  145. "show": true,
  146. "thresholdLabels": false,
  147. "thresholdMarkers": true
  148. },
  149. "gridPos": {
  150. "h": 6,
  151. "w": 3,
  152. "x": 3,
  153. "y": 1
  154. },
  155. "hideTimeOverride": false,
  156. "id": 12,
  157. "interval": null,
  158. "links": [],
  159. "mappingType": 1,
  160. "mappingTypes": [
  161. {
  162. "name": "value to text",
  163. "value": 1
  164. },
  165. {
  166. "name": "range to text",
  167. "value": 2
  168. }
  169. ],
  170. "maxDataPoints": 100,
  171. "nullPointMode": "connected",
  172. "nullText": null,
  173. "postfix": "",
  174. "postfixFontSize": "50%",
  175. "prefix": "",
  176. "prefixFontSize": "50%",
  177. "rangeMaps": [
  178. {
  179. "from": "null",
  180. "text": "N/A",
  181. "to": "null"
  182. }
  183. ],
  184. "repeat": "host",
  185. "repeatDirection": "v",
  186. "scopedVars": {
  187. "host": {
  188. "selected": true,
  189. "text": "cfg01",
  190. "value": "cfg01"
  191. }
  192. },
  193. "sparkline": {
  194. "fillColor": "rgba(31, 118, 189, 0.18)",
  195. "full": false,
  196. "lineColor": "rgb(31, 120, 193)",
  197. "show": false
  198. },
  199. "tableColumn": "",
  200. "targets": [
  201. {
  202. "expr": "avg(100 * disk_inodes_used{host=\"$host\",path=~\"$mount\"} / disk_inodes_total{host=\"$host\",path=~\"$mount\"}) by (mount)",
  203. "format": "time_series",
  204. "intervalFactor": 2,
  205. "legendFormat": "",
  206. "refId": "A",
  207. "step": 60
  208. }
  209. ],
  210. "thresholds": "80,90",
  211. "timeFrom": null,
  212. "title": "Used inodes@$host dev $mount",
  213. "type": "singlestat",
  214. "valueFontSize": "80%",
  215. "valueMaps": [
  216. {
  217. "op": "=",
  218. "text": "N/A",
  219. "value": "null"
  220. }
  221. ],
  222. "valueName": "current"
  223. },
  224. {
  225. "aliasColors": {},
  226. "bars": false,
  227. "dashLength": 10,
  228. "dashes": false,
  229. "datasource": null,
  230. "fill": 1,
  231. "gridPos": {
  232. "h": 6,
  233. "w": 9,
  234. "x": 6,
  235. "y": 1
  236. },
  237. "id": 7,
  238. "legend": {
  239. "alignAsTable": true,
  240. "avg": false,
  241. "current": true,
  242. "max": false,
  243. "min": false,
  244. "rightSide": false,
  245. "show": true,
  246. "sideWidth": null,
  247. "total": false,
  248. "values": true
  249. },
  250. "lines": true,
  251. "linewidth": 1,
  252. "links": [],
  253. "nullPointMode": "null",
  254. "percentage": false,
  255. "pointradius": 5,
  256. "points": false,
  257. "renderer": "flot",
  258. "repeat": "host",
  259. "repeatDirection": "v",
  260. "scopedVars": {
  261. "host": {
  262. "selected": true,
  263. "text": "cfg01",
  264. "value": "cfg01"
  265. }
  266. },
  267. "seriesOverrides": [],
  268. "spaceLength": 10,
  269. "stack": false,
  270. "steppedLine": false,
  271. "targets": [
  272. {
  273. "expr": "disk_used{host=\"$host\",path=~\"$mount\"}",
  274. "format": "time_series",
  275. "instant": false,
  276. "intervalFactor": 2,
  277. "legendFormat": "used on {{path}}",
  278. "metric": "",
  279. "refId": "A",
  280. "step": 10
  281. },
  282. {
  283. "expr": "disk_free{host=\"$host\",path=~\"$mount\"}",
  284. "format": "time_series",
  285. "instant": false,
  286. "intervalFactor": 2,
  287. "legendFormat": "free on {{path}}",
  288. "metric": "",
  289. "refId": "B",
  290. "step": 10
  291. }
  292. ],
  293. "thresholds": [],
  294. "timeFrom": null,
  295. "timeShift": null,
  296. "title": "Disk usage@$host",
  297. "tooltip": {
  298. "shared": true,
  299. "sort": 0,
  300. "value_type": "individual"
  301. },
  302. "type": "graph",
  303. "xaxis": {
  304. "buckets": null,
  305. "mode": "time",
  306. "name": null,
  307. "show": true,
  308. "values": []
  309. },
  310. "yaxes": [
  311. {
  312. "format": "decbytes",
  313. "label": null,
  314. "logBase": 1,
  315. "max": null,
  316. "min": "0",
  317. "show": true
  318. },
  319. {
  320. "format": "short",
  321. "label": null,
  322. "logBase": 1,
  323. "max": null,
  324. "min": null,
  325. "show": true
  326. }
  327. ],
  328. "yaxis": {
  329. "align": false,
  330. "alignLevel": null
  331. }
  332. },
  333. {
  334. "aliasColors": {},
  335. "bars": false,
  336. "dashLength": 10,
  337. "dashes": false,
  338. "datasource": null,
  339. "fill": 1,
  340. "gridPos": {
  341. "h": 6,
  342. "w": 9,
  343. "x": 15,
  344. "y": 1
  345. },
  346. "id": 10,
  347. "legend": {
  348. "alignAsTable": true,
  349. "avg": false,
  350. "current": true,
  351. "max": false,
  352. "min": false,
  353. "rightSide": false,
  354. "show": true,
  355. "total": false,
  356. "values": true
  357. },
  358. "lines": true,
  359. "linewidth": 1,
  360. "links": [],
  361. "nullPointMode": "null",
  362. "percentage": false,
  363. "pointradius": 5,
  364. "points": false,
  365. "renderer": "flot",
  366. "repeat": "host",
  367. "repeatDirection": "v",
  368. "scopedVars": {
  369. "host": {
  370. "selected": true,
  371. "text": "cfg01",
  372. "value": "cfg01"
  373. }
  374. },
  375. "seriesOverrides": [],
  376. "spaceLength": 10,
  377. "stack": false,
  378. "steppedLine": false,
  379. "targets": [
  380. {
  381. "expr": "disk_inodes_used{host=\"$host\",path=~\"$mount\"}",
  382. "format": "time_series",
  383. "intervalFactor": 2,
  384. "legendFormat": "used on {{path}}",
  385. "metric": "",
  386. "refId": "A",
  387. "step": 10
  388. },
  389. {
  390. "expr": "disk_inodes_free{host=\"$host\",path=~\"$mount\"}",
  391. "format": "time_series",
  392. "intervalFactor": 2,
  393. "legendFormat": "free on {{path}}",
  394. "metric": "",
  395. "refId": "B",
  396. "step": 10
  397. }
  398. ],
  399. "thresholds": [],
  400. "timeFrom": null,
  401. "timeShift": null,
  402. "title": "Inodes@$host",
  403. "tooltip": {
  404. "shared": true,
  405. "sort": 0,
  406. "value_type": "individual"
  407. },
  408. "type": "graph",
  409. "xaxis": {
  410. "buckets": null,
  411. "mode": "time",
  412. "name": null,
  413. "show": true,
  414. "values": []
  415. },
  416. "yaxes": [
  417. {
  418. "format": "short",
  419. "label": null,
  420. "logBase": 1,
  421. "max": null,
  422. "min": "0",
  423. "show": true
  424. },
  425. {
  426. "format": "short",
  427. "label": null,
  428. "logBase": 1,
  429. "max": null,
  430. "min": null,
  431. "show": true
  432. }
  433. ],
  434. "yaxis": {
  435. "align": false,
  436. "alignLevel": null
  437. }
  438. },
  439. {
  440. "collapsed": false,
  441. "gridPos": {
  442. "h": 1,
  443. "w": 24,
  444. "x": 0,
  445. "y": 7
  446. },
  447. "id": 32,
  448. "panels": [],
  449. "title": "Series",
  450. "type": "row"
  451. },
  452. {
  453. "aliasColors": {},
  454. "bars": false,
  455. "dashLength": 10,
  456. "dashes": false,
  457. "datasource": null,
  458. "fill": 1,
  459. "gridPos": {
  460. "h": 7,
  461. "w": 12,
  462. "x": 0,
  463. "y": 8
  464. },
  465. "id": 25,
  466. "legend": {
  467. "alignAsTable": true,
  468. "avg": true,
  469. "current": false,
  470. "max": false,
  471. "min": false,
  472. "rightSide": true,
  473. "show": true,
  474. "total": false,
  475. "values": true
  476. },
  477. "lines": true,
  478. "linewidth": 1,
  479. "links": [],
  480. "nullPointMode": "null",
  481. "percentage": false,
  482. "pointradius": 5,
  483. "points": false,
  484. "renderer": "flot",
  485. "seriesOverrides": [],
  486. "spaceLength": 10,
  487. "stack": false,
  488. "steppedLine": false,
  489. "targets": [
  490. {
  491. "expr": "rate(diskio_io_time{host=~\"$host\",name=~\"$disk\"}[$rate_interval])",
  492. "format": "time_series",
  493. "intervalFactor": 2,
  494. "legendFormat": "{{name}} @{{host}}",
  495. "refId": "A"
  496. }
  497. ],
  498. "thresholds": [],
  499. "timeFrom": null,
  500. "timeShift": null,
  501. "title": "Latency",
  502. "tooltip": {
  503. "shared": true,
  504. "sort": 0,
  505. "value_type": "individual"
  506. },
  507. "type": "graph",
  508. "xaxis": {
  509. "buckets": null,
  510. "mode": "time",
  511. "name": null,
  512. "show": true,
  513. "values": []
  514. },
  515. "yaxes": [
  516. {
  517. "format": "ms",
  518. "label": null,
  519. "logBase": 1,
  520. "max": null,
  521. "min": null,
  522. "show": true
  523. },
  524. {
  525. "format": "short",
  526. "label": null,
  527. "logBase": 1,
  528. "max": null,
  529. "min": null,
  530. "show": true
  531. }
  532. ],
  533. "yaxis": {
  534. "align": false,
  535. "alignLevel": null
  536. }
  537. },
  538. {
  539. "aliasColors": {},
  540. "bars": false,
  541. "dashLength": 10,
  542. "dashes": false,
  543. "datasource": null,
  544. "fill": 1,
  545. "gridPos": {
  546. "h": 7,
  547. "w": 12,
  548. "x": 12,
  549. "y": 8
  550. },
  551. "id": 27,
  552. "legend": {
  553. "alignAsTable": true,
  554. "avg": true,
  555. "current": false,
  556. "max": false,
  557. "min": false,
  558. "rightSide": true,
  559. "show": true,
  560. "total": false,
  561. "values": true
  562. },
  563. "lines": true,
  564. "linewidth": 1,
  565. "links": [],
  566. "nullPointMode": "null",
  567. "percentage": false,
  568. "pointradius": 5,
  569. "points": false,
  570. "renderer": "flot",
  571. "seriesOverrides": [],
  572. "spaceLength": 10,
  573. "stack": false,
  574. "steppedLine": false,
  575. "targets": [
  576. {
  577. "expr": "cpu_usage_iowait{host=~\"$host\"}",
  578. "format": "time_series",
  579. "intervalFactor": 4,
  580. "legendFormat": "{{host}}",
  581. "refId": "A"
  582. }
  583. ],
  584. "thresholds": [],
  585. "timeFrom": null,
  586. "timeShift": null,
  587. "title": "I/O Wait",
  588. "tooltip": {
  589. "shared": true,
  590. "sort": 0,
  591. "value_type": "individual"
  592. },
  593. "type": "graph",
  594. "xaxis": {
  595. "buckets": null,
  596. "mode": "time",
  597. "name": null,
  598. "show": true,
  599. "values": []
  600. },
  601. "yaxes": [
  602. {
  603. "format": "percent",
  604. "label": null,
  605. "logBase": 1,
  606. "max": null,
  607. "min": null,
  608. "show": true
  609. },
  610. {
  611. "format": "short",
  612. "label": null,
  613. "logBase": 1,
  614. "max": null,
  615. "min": null,
  616. "show": true
  617. }
  618. ],
  619. "yaxis": {
  620. "align": false,
  621. "alignLevel": null
  622. }
  623. },
  624. {
  625. "aliasColors": {},
  626. "bars": false,
  627. "dashLength": 10,
  628. "dashes": false,
  629. "datasource": null,
  630. "fill": 1,
  631. "gridPos": {
  632. "h": 7,
  633. "w": 12,
  634. "x": 0,
  635. "y": 15
  636. },
  637. "id": 26,
  638. "legend": {
  639. "alignAsTable": true,
  640. "avg": true,
  641. "current": false,
  642. "hideEmpty": false,
  643. "hideZero": false,
  644. "max": false,
  645. "min": false,
  646. "rightSide": true,
  647. "show": true,
  648. "total": false,
  649. "values": true
  650. },
  651. "lines": true,
  652. "linewidth": 1,
  653. "links": [],
  654. "nullPointMode": "null",
  655. "percentage": false,
  656. "pointradius": 5,
  657. "points": false,
  658. "renderer": "flot",
  659. "seriesOverrides": [],
  660. "spaceLength": 10,
  661. "stack": false,
  662. "steppedLine": false,
  663. "targets": [
  664. {
  665. "expr": "irate(diskio_read_bytes{host=~\"$host\",name=~\"$disk\"}[1m])",
  666. "format": "time_series",
  667. "intervalFactor": 2,
  668. "legendFormat": "{{name}} @{{host}}",
  669. "refId": "A"
  670. }
  671. ],
  672. "thresholds": [],
  673. "timeFrom": null,
  674. "timeShift": null,
  675. "title": "Disk read",
  676. "tooltip": {
  677. "shared": true,
  678. "sort": 0,
  679. "value_type": "individual"
  680. },
  681. "type": "graph",
  682. "xaxis": {
  683. "buckets": null,
  684. "mode": "time",
  685. "name": null,
  686. "show": true,
  687. "values": []
  688. },
  689. "yaxes": [
  690. {
  691. "format": "Bps",
  692. "label": null,
  693. "logBase": 1,
  694. "max": null,
  695. "min": "0",
  696. "show": true
  697. },
  698. {
  699. "format": "short",
  700. "label": null,
  701. "logBase": 1,
  702. "max": null,
  703. "min": null,
  704. "show": true
  705. }
  706. ],
  707. "yaxis": {
  708. "align": false,
  709. "alignLevel": null
  710. }
  711. },
  712. {
  713. "aliasColors": {},
  714. "bars": false,
  715. "dashLength": 10,
  716. "dashes": false,
  717. "datasource": null,
  718. "fill": 1,
  719. "gridPos": {
  720. "h": 7,
  721. "w": 12,
  722. "x": 12,
  723. "y": 15
  724. },
  725. "id": 33,
  726. "legend": {
  727. "alignAsTable": true,
  728. "avg": true,
  729. "current": false,
  730. "max": false,
  731. "min": false,
  732. "rightSide": true,
  733. "show": true,
  734. "total": false,
  735. "values": true
  736. },
  737. "lines": true,
  738. "linewidth": 1,
  739. "links": [],
  740. "nullPointMode": "null",
  741. "percentage": false,
  742. "pointradius": 5,
  743. "points": false,
  744. "renderer": "flot",
  745. "seriesOverrides": [],
  746. "spaceLength": 10,
  747. "stack": false,
  748. "steppedLine": false,
  749. "targets": [
  750. {
  751. "expr": "rate(diskio_write_bytes{host=~\"$host\",name=~\"$disk\"}[$rate_interval])",
  752. "format": "time_series",
  753. "intervalFactor": 2,
  754. "legendFormat": "{{name}} @{{host}}",
  755. "refId": "A"
  756. }
  757. ],
  758. "thresholds": [],
  759. "timeFrom": null,
  760. "timeShift": null,
  761. "title": "Disk write",
  762. "tooltip": {
  763. "shared": true,
  764. "sort": 0,
  765. "value_type": "individual"
  766. },
  767. "type": "graph",
  768. "xaxis": {
  769. "buckets": null,
  770. "mode": "time",
  771. "name": null,
  772. "show": true,
  773. "values": []
  774. },
  775. "yaxes": [
  776. {
  777. "format": "Bps",
  778. "label": null,
  779. "logBase": 1,
  780. "max": null,
  781. "min": "0",
  782. "show": true
  783. },
  784. {
  785. "format": "short",
  786. "label": null,
  787. "logBase": 1,
  788. "max": null,
  789. "min": null,
  790. "show": true
  791. }
  792. ],
  793. "yaxis": {
  794. "align": false,
  795. "alignLevel": null
  796. }
  797. },
  798. {
  799. "aliasColors": {},
  800. "bars": false,
  801. "dashLength": 10,
  802. "dashes": false,
  803. "datasource": null,
  804. "fill": 1,
  805. "gridPos": {
  806. "h": 7,
  807. "w": 12,
  808. "x": 0,
  809. "y": 22
  810. },
  811. "id": 34,
  812. "legend": {
  813. "alignAsTable": true,
  814. "avg": true,
  815. "current": false,
  816. "max": false,
  817. "min": false,
  818. "rightSide": true,
  819. "show": true,
  820. "total": false,
  821. "values": true
  822. },
  823. "lines": true,
  824. "linewidth": 1,
  825. "links": [],
  826. "nullPointMode": "null",
  827. "percentage": false,
  828. "pointradius": 5,
  829. "points": false,
  830. "renderer": "flot",
  831. "seriesOverrides": [],
  832. "spaceLength": 10,
  833. "stack": false,
  834. "steppedLine": false,
  835. "targets": [
  836. {
  837. "expr": "rate(diskio_reads{host=~\"$host\",name=~\"$disk\"}[$rate_interval])",
  838. "format": "time_series",
  839. "intervalFactor": 2,
  840. "legendFormat": "{{name}} @{{host}}",
  841. "refId": "A"
  842. }
  843. ],
  844. "thresholds": [],
  845. "timeFrom": null,
  846. "timeShift": null,
  847. "title": "Disk read rate",
  848. "tooltip": {
  849. "shared": true,
  850. "sort": 0,
  851. "value_type": "individual"
  852. },
  853. "type": "graph",
  854. "xaxis": {
  855. "buckets": null,
  856. "mode": "time",
  857. "name": null,
  858. "show": true,
  859. "values": []
  860. },
  861. "yaxes": [
  862. {
  863. "format": "rps",
  864. "label": null,
  865. "logBase": 1,
  866. "max": null,
  867. "min": "0",
  868. "show": true
  869. },
  870. {
  871. "format": "short",
  872. "label": null,
  873. "logBase": 1,
  874. "max": null,
  875. "min": null,
  876. "show": true
  877. }
  878. ],
  879. "yaxis": {
  880. "align": false,
  881. "alignLevel": null
  882. }
  883. },
  884. {
  885. "aliasColors": {},
  886. "bars": false,
  887. "dashLength": 10,
  888. "dashes": false,
  889. "datasource": null,
  890. "fill": 1,
  891. "gridPos": {
  892. "h": 7,
  893. "w": 12,
  894. "x": 12,
  895. "y": 22
  896. },
  897. "id": 35,
  898. "legend": {
  899. "alignAsTable": true,
  900. "avg": true,
  901. "current": false,
  902. "max": false,
  903. "min": false,
  904. "rightSide": true,
  905. "show": true,
  906. "total": false,
  907. "values": true
  908. },
  909. "lines": true,
  910. "linewidth": 1,
  911. "links": [],
  912. "nullPointMode": "null",
  913. "percentage": false,
  914. "pointradius": 5,
  915. "points": false,
  916. "renderer": "flot",
  917. "seriesOverrides": [],
  918. "spaceLength": 10,
  919. "stack": false,
  920. "steppedLine": false,
  921. "targets": [
  922. {
  923. "expr": "rate(diskio_writes{host=~\"$host\",name=~\"$disk\"}[$rate_interval])",
  924. "format": "time_series",
  925. "intervalFactor": 2,
  926. "legendFormat": "{{name}} @{{host}}",
  927. "refId": "A"
  928. }
  929. ],
  930. "thresholds": [],
  931. "timeFrom": null,
  932. "timeShift": null,
  933. "title": "Disk read rate",
  934. "tooltip": {
  935. "shared": true,
  936. "sort": 0,
  937. "value_type": "individual"
  938. },
  939. "type": "graph",
  940. "xaxis": {
  941. "buckets": null,
  942. "mode": "time",
  943. "name": null,
  944. "show": true,
  945. "values": []
  946. },
  947. "yaxes": [
  948. {
  949. "format": "wps",
  950. "label": null,
  951. "logBase": 1,
  952. "max": null,
  953. "min": "0",
  954. "show": true
  955. },
  956. {
  957. "format": "short",
  958. "label": null,
  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. "refresh": "1m",
  972. "schemaVersion": 16,
  973. "style": "dark",
  974. "tags": [
  975. "host"
  976. ],
  977. "templating": {
  978. "list": [
  979. {
  980. "allValue": null,
  981. "current": {
  982. "text": "cfg01",
  983. "value": [
  984. "cfg01"
  985. ]
  986. },
  987. "datasource": "prometheus",
  988. "hide": 0,
  989. "includeAll": false,
  990. "label": null,
  991. "multi": true,
  992. "name": "host",
  993. "options": [],
  994. "query": "label_values(cpu_usage_idle,host)",
  995. "refresh": 1,
  996. "refresh_on_load": true,
  997. "regex": "",
  998. "sort": 1,
  999. "tagValuesQuery": "",
  1000. "tags": [],
  1001. "tagsQuery": "",
  1002. "type": "query",
  1003. "useTags": false
  1004. },
  1005. {
  1006. "allValue": null,
  1007. "current": {
  1008. "text": "All",
  1009. "value": [
  1010. "$__all"
  1011. ]
  1012. },
  1013. "datasource": "prometheus",
  1014. "hide": 0,
  1015. "includeAll": true,
  1016. "label": null,
  1017. "multi": true,
  1018. "name": "disk",
  1019. "options": [],
  1020. "query": "query_result(diskio_read_bytes{host=~\"$host\"})",
  1021. "refresh": 2,
  1022. "refresh_on_load": true,
  1023. "regex": "/name=\"([^\"]+)/",
  1024. "sort": 1,
  1025. "tagValuesQuery": "",
  1026. "tags": [],
  1027. "tagsQuery": "",
  1028. "type": "query",
  1029. "useTags": false
  1030. },
  1031. {
  1032. "allValue": null,
  1033. "current": {
  1034. "text": "All",
  1035. "value": [
  1036. "$__all"
  1037. ]
  1038. },
  1039. "datasource": "prometheus",
  1040. "hide": 0,
  1041. "includeAll": true,
  1042. "label": null,
  1043. "multi": true,
  1044. "name": "mount",
  1045. "options": [],
  1046. "query": "query_result(disk_free{host=~\"$host\"})",
  1047. "refresh": 1,
  1048. "refresh_on_load": true,
  1049. "regex": "/path=\"([^\"]+)/",
  1050. "sort": 1,
  1051. "tagValuesQuery": "",
  1052. "tags": [],
  1053. "tagsQuery": "",
  1054. "type": "query",
  1055. "useTags": false
  1056. },
  1057. {
  1058. "allValue": null,
  1059. "current": {
  1060. "text": "3m",
  1061. "value": "3m"
  1062. },
  1063. "hide": 0,
  1064. "includeAll": false,
  1065. "label": "rate_interval",
  1066. "multi": false,
  1067. "name": "rate_interval",
  1068. "options": [
  1069. {
  1070. "selected": false,
  1071. "text": "1m",
  1072. "value": "1m"
  1073. },
  1074. {
  1075. "selected": true,
  1076. "text": "3m",
  1077. "value": "3m"
  1078. },
  1079. {
  1080. "selected": false,
  1081. "text": "5m",
  1082. "value": "5m"
  1083. },
  1084. {
  1085. "selected": false,
  1086. "text": "10m",
  1087. "value": "10m"
  1088. },
  1089. {
  1090. "selected": false,
  1091. "text": "15m",
  1092. "value": "15m"
  1093. }
  1094. ],
  1095. "query": "1m,3m,5m,10m,15m",
  1096. "type": "custom"
  1097. }
  1098. ]
  1099. },
  1100. "time": {
  1101. "from": "now-1h",
  1102. "to": "now"
  1103. },
  1104. "timepicker": {
  1105. "refresh_intervals": [
  1106. "5s",
  1107. "10s",
  1108. "30s",
  1109. "1m",
  1110. "5m",
  1111. "15m",
  1112. "30m",
  1113. "1h",
  1114. "2h",
  1115. "1d"
  1116. ],
  1117. "time_options": [
  1118. "5m",
  1119. "15m",
  1120. "1h",
  1121. "6h",
  1122. "12h",
  1123. "24h",
  1124. "2d",
  1125. "7d",
  1126. "30d"
  1127. ]
  1128. },
  1129. "timezone": "browser",
  1130. "title": "System - Disk I/O",
  1131. "uid": null,
  1132. "version": 6
  1133. }
  1134. {% endraw %}