Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.65 KB | None | 0 0
  1. {
  2. "__inputs": [
  3.  
  4. ],
  5. "__requires": [
  6.  
  7. ],
  8. "annotations": {
  9. "list": [
  10.  
  11. ]
  12. },
  13. "editable": false,
  14. "gnetId": null,
  15. "graphTooltip": 0,
  16. "hideControls": false,
  17. "id": null,
  18. "links": [
  19.  
  20. ],
  21. "refresh": "",
  22. "rows": [
  23. {
  24. "collapse": false,
  25. "collapsed": false,
  26. "panels": [
  27. {
  28. "aliasColors": {
  29.  
  30. },
  31. "bars": false,
  32. "dashLength": 10,
  33. "dashes": false,
  34. "datasource": "$datasource",
  35. "fill": 1,
  36. "gridPos": {
  37.  
  38. },
  39. "id": 2,
  40. "legend": {
  41. "alignAsTable": false,
  42. "avg": true,
  43. "current": true,
  44. "max": true,
  45. "min": true,
  46. "rightSide": false,
  47. "show": true,
  48. "total": false,
  49. "values": true
  50. },
  51. "lines": true,
  52. "linewidth": 1,
  53. "links": [
  54.  
  55. ],
  56. "nullPointMode": "null",
  57. "percentage": false,
  58. "pointradius": 5,
  59. "points": false,
  60. "renderer": "flot",
  61. "repeat": null,
  62. "seriesOverrides": [
  63.  
  64. ],
  65. "spaceLength": 10,
  66. "span": 12,
  67. "stack": false,
  68. "steppedLine": false,
  69. "targets": [
  70. {
  71. "expr": "(kubelet_volume_stats_capacity_bytes{job=\"kubelet\", persistentvolumeclaim=\"$volume\"} - kubelet_volume_stats_available_bytes{job=\"kubelet\", persistentvolumeclaim=\"$volume\"}) / kubelet_volume_stats_capacity_bytes{job=\"kubelet\", persistentvolumeclaim=\"$volume\"} * 100\n",
  72. "format": "time_series",
  73. "intervalFactor": 1,
  74. "legendFormat": "{{ Usage }}",
  75. "refId": "A"
  76. }
  77. ],
  78. "thresholds": [
  79.  
  80. ],
  81. "timeFrom": null,
  82. "timeShift": null,
  83. "title": "Volume Space Usage",
  84. "tooltip": {
  85. "shared": true,
  86. "sort": 0,
  87. "value_type": "individual"
  88. },
  89. "type": "graph",
  90. "xaxis": {
  91. "buckets": null,
  92. "mode": "time",
  93. "name": null,
  94. "show": true,
  95. "values": [
  96.  
  97. ]
  98. },
  99. "yaxes": [
  100. {
  101. "format": "percent",
  102. "label": null,
  103. "logBase": 1,
  104. "max": 100,
  105. "min": 0,
  106. "show": true
  107. },
  108. {
  109. "format": "percent",
  110. "label": null,
  111. "logBase": 1,
  112. "max": 100,
  113. "min": 0,
  114. "show": true
  115. }
  116. ]
  117. }
  118. ],
  119. "repeat": null,
  120. "repeatIteration": null,
  121. "repeatRowId": null,
  122. "showTitle": false,
  123. "title": "Dashboard Row",
  124. "titleSize": "h6",
  125. "type": "row"
  126. },
  127. {
  128. "collapse": false,
  129. "collapsed": false,
  130. "panels": [
  131. {
  132. "aliasColors": {
  133.  
  134. },
  135. "bars": false,
  136. "dashLength": 10,
  137. "dashes": false,
  138. "datasource": "$datasource",
  139. "fill": 1,
  140. "gridPos": {
  141.  
  142. },
  143. "id": 3,
  144. "legend": {
  145. "alignAsTable": false,
  146. "avg": true,
  147. "current": true,
  148. "max": true,
  149. "min": true,
  150. "rightSide": false,
  151. "show": true,
  152. "total": false,
  153. "values": true
  154. },
  155. "lines": true,
  156. "linewidth": 1,
  157. "links": [
  158.  
  159. ],
  160. "nullPointMode": "null",
  161. "percentage": false,
  162. "pointradius": 5,
  163. "points": false,
  164. "renderer": "flot",
  165. "repeat": null,
  166. "seriesOverrides": [
  167.  
  168. ],
  169. "spaceLength": 10,
  170. "span": 12,
  171. "stack": false,
  172. "steppedLine": false,
  173. "targets": [
  174. {
  175. "expr": "kubelet_volume_stats_inodes_used{job=\"kubelet\", persistentvolumeclaim=\"$volume\"} / kubelet_volume_stats_inodes{job=\"kubelet\", persistentvolumeclaim=\"$volume\"} * 100\n",
  176. "format": "time_series",
  177. "intervalFactor": 1,
  178. "legendFormat": "{{ Usage }}",
  179. "refId": "A"
  180. }
  181. ],
  182. "thresholds": [
  183.  
  184. ],
  185. "timeFrom": null,
  186. "timeShift": null,
  187. "title": "Volume inodes Usage",
  188. "tooltip": {
  189. "shared": true,
  190. "sort": 0,
  191. "value_type": "individual"
  192. },
  193. "type": "graph",
  194. "xaxis": {
  195. "buckets": null,
  196. "mode": "time",
  197. "name": null,
  198. "show": true,
  199. "values": [
  200.  
  201. ]
  202. },
  203. "yaxes": [
  204. {
  205. "format": "percent",
  206. "label": null,
  207. "logBase": 1,
  208. "max": 100,
  209. "min": 0,
  210. "show": true
  211. },
  212. {
  213. "format": "percent",
  214. "label": null,
  215. "logBase": 1,
  216. "max": 100,
  217. "min": 0,
  218. "show": true
  219. }
  220. ]
  221. }
  222. ],
  223. "repeat": null,
  224. "repeatIteration": null,
  225. "repeatRowId": null,
  226. "showTitle": false,
  227. "title": "Dashboard Row",
  228. "titleSize": "h6",
  229. "type": "row"
  230. }
  231. ],
  232. "schemaVersion": 14,
  233. "style": "dark",
  234. "tags": [
  235. "kubernetes-mixin"
  236. ],
  237. "templating": {
  238. "list": [
  239. {
  240. "current": {
  241. "text": "Prometheus",
  242. "value": "Prometheus"
  243. },
  244. "hide": 0,
  245. "label": null,
  246. "name": "datasource",
  247. "options": [
  248.  
  249. ],
  250. "query": "prometheus",
  251. "refresh": 1,
  252. "regex": "",
  253. "type": "datasource"
  254. },
  255. {
  256. "allValue": null,
  257. "current": {
  258.  
  259. },
  260. "datasource": "$datasource",
  261. "hide": 0,
  262. "includeAll": false,
  263. "label": "Namespace",
  264. "multi": false,
  265. "name": "namespace",
  266. "options": [
  267.  
  268. ],
  269. "query": "label_values(kubelet_volume_stats_capacity_bytes{job=\"kubelet\"}, exported_namespace)",
  270. "refresh": 2,
  271. "regex": "",
  272. "sort": 0,
  273. "tagValuesQuery": "",
  274. "tags": [
  275.  
  276. ],
  277. "tagsQuery": "",
  278. "type": "query",
  279. "useTags": false
  280. },
  281. {
  282. "allValue": null,
  283. "current": {
  284.  
  285. },
  286. "datasource": "$datasource",
  287. "hide": 0,
  288. "includeAll": false,
  289. "label": "PersistentVolumeClaim",
  290. "multi": false,
  291. "name": "volume",
  292. "options": [
  293.  
  294. ],
  295. "query": "label_values(kubelet_volume_stats_capacity_bytes{job=\"kubelet\", exported_namespace=\"$namespace\"}, persistentvolumeclaim)",
  296. "refresh": 2,
  297. "regex": "",
  298. "sort": 0,
  299. "tagValuesQuery": "",
  300. "tags": [
  301.  
  302. ],
  303. "tagsQuery": "",
  304. "type": "query",
  305. "useTags": false
  306. }
  307. ]
  308. },
  309. "time": {
  310. "from": "now-7d",
  311. "to": "now"
  312. },
  313. "timepicker": {
  314. "refresh_intervals": [
  315. "5s",
  316. "10s",
  317. "30s",
  318. "1m",
  319. "5m",
  320. "15m",
  321. "30m",
  322. "1h",
  323. "2h",
  324. "1d"
  325. ],
  326. "time_options": [
  327. "5m",
  328. "15m",
  329. "1h",
  330. "6h",
  331. "12h",
  332. "24h",
  333. "2d",
  334. "7d",
  335. "30d"
  336. ]
  337. },
  338. "timezone": "",
  339. "title": "Kubernetes / Persistent Volumes",
  340. "uid": "919b92a8e8041bd567af9edab12c840c",
  341. "version": 0
  342. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement