lvm-dashboard.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": {
  7. "type": "datasource",
  8. "uid": "grafana"
  9. },
  10. "enable": true,
  11. "hide": true,
  12. "iconColor": "rgba(0, 211, 255, 1)",
  13. "name": "Annotations & Alerts",
  14. "target": {
  15. "limit": 100,
  16. "matchAny": false,
  17. "tags": [],
  18. "type": "dashboard"
  19. },
  20. "type": "dashboard"
  21. }
  22. ]
  23. },
  24. "editable": true,
  25. "fiscalYearStartMonth": 0,
  26. "graphTooltip": 0,
  27. "links": [],
  28. "liveNow": false,
  29. "panels": [
  30. {
  31. "datasource": {
  32. "type": "prometheus",
  33. "uid": "${datasource}"
  34. },
  35. "fieldConfig": {
  36. "defaults": {
  37. "color": {
  38. "mode": "palette-classic"
  39. },
  40. "custom": {
  41. "axisCenteredZero": false,
  42. "axisColorMode": "text",
  43. "axisLabel": "",
  44. "axisPlacement": "auto",
  45. "barAlignment": 0,
  46. "drawStyle": "line",
  47. "fillOpacity": 0,
  48. "gradientMode": "none",
  49. "hideFrom": {
  50. "legend": false,
  51. "tooltip": false,
  52. "viz": false
  53. },
  54. "lineInterpolation": "linear",
  55. "lineWidth": 1,
  56. "pointSize": 5,
  57. "scaleDistribution": {
  58. "type": "linear"
  59. },
  60. "showPoints": "auto",
  61. "spanNulls": false,
  62. "stacking": {
  63. "group": "A",
  64. "mode": "none"
  65. },
  66. "thresholdsStyle": {
  67. "mode": "off"
  68. }
  69. },
  70. "mappings": [],
  71. "thresholds": {
  72. "mode": "absolute",
  73. "steps": [
  74. {
  75. "color": "green",
  76. "value": null
  77. },
  78. {
  79. "color": "red",
  80. "value": 80
  81. }
  82. ]
  83. },
  84. "unit": "decbytes"
  85. },
  86. "overrides": []
  87. },
  88. "gridPos": {
  89. "h": 9,
  90. "w": 12,
  91. "x": 0,
  92. "y": 0
  93. },
  94. "id": 2,
  95. "options": {
  96. "legend": {
  97. "calcs": [
  98. "last"
  99. ],
  100. "displayMode": "table",
  101. "placement": "right",
  102. "showLegend": true
  103. },
  104. "tooltip": {
  105. "mode": "single",
  106. "sort": "none"
  107. }
  108. },
  109. "targets": [
  110. {
  111. "datasource": {
  112. "type": "prometheus",
  113. "uid": "${datasource}"
  114. },
  115. "exemplar": true,
  116. "expr": "sum(lvm_lv_size) by (instance,lv_name)",
  117. "interval": "",
  118. "legendFormat": "{{lv_name}}",
  119. "refId": "A"
  120. }
  121. ],
  122. "title": "Logical Volume Size",
  123. "type": "timeseries"
  124. }
  125. ],
  126. "schemaVersion": 37,
  127. "style": "dark",
  128. "tags": [],
  129. "templating": {
  130. "list": [
  131. {
  132. "current": {
  133. "selected": false,
  134. "text": "Prometheus",
  135. "value": "Prometheus"
  136. },
  137. "hide": 0,
  138. "includeAll": false,
  139. "label": "Data Source",
  140. "multi": false,
  141. "name": "datasource",
  142. "options": [],
  143. "query": "prometheus",
  144. "refresh": 1,
  145. "regex": "",
  146. "skipUrlSync": false,
  147. "type": "datasource"
  148. }
  149. ]
  150. },
  151. "time": {
  152. "from": "now-6h",
  153. "to": "now"
  154. },
  155. "timepicker": {},
  156. "timezone": "",
  157. "title": "LVM",
  158. "uid": "xQufGY3nz",
  159. "version": 1,
  160. "weekStart": ""
  161. }