github.com/mrgossett/heapster@v0.18.2/docs/grafana-dashboard.json (about) 1 { 2 "id": 1, 3 "title": "Kubernetes Cluster", 4 "originalTitle": "Kubernetes Cluster", 5 "tags": [], 6 "style": "dark", 7 "timezone": "browser", 8 "editable": true, 9 "hideControls": false, 10 "sharedCrosshair": false, 11 "rows": [ 12 { 13 "collapse": false, 14 "editable": true, 15 "height": "250px", 16 "panels": [ 17 { 18 "aliasColors": {}, 19 "bars": false, 20 "datasource": null, 21 "editable": true, 22 "error": false, 23 "fill": 1, 24 "grid": { 25 "leftLogBase": 1, 26 "leftMax": null, 27 "leftMin": null, 28 "rightLogBase": 1, 29 "rightMax": null, 30 "rightMin": null, 31 "threshold1": null, 32 "threshold1Color": "rgba(216, 200, 27, 0.27)", 33 "threshold2": null, 34 "threshold2Color": "rgba(234, 112, 112, 0.22)" 35 }, 36 "hideTimeOverride": false, 37 "id": 1, 38 "interval": "10s", 39 "legend": { 40 "avg": true, 41 "current": false, 42 "max": true, 43 "min": true, 44 "show": true, 45 "total": false, 46 "values": true 47 }, 48 "lines": true, 49 "linewidth": 2, 50 "links": [], 51 "nullPointMode": "connected", 52 "percentage": false, 53 "pointradius": 5, 54 "points": false, 55 "renderer": "flot", 56 "seriesOverrides": [], 57 "span": 12, 58 "stack": false, 59 "steppedLine": false, 60 "targets": [ 61 { 62 "alias": "influxdb-usage", 63 "fields": [ 64 { 65 "func": "mean", 66 "name": "value" 67 } 68 ], 69 "groupByTags": [], 70 "hide": false, 71 "measurement": "memory/working_set_bytes_gauge", 72 "query": "select pod_name, mean(value) from \"memory/usage_bytes_gauge\" where $timeFilter and container_name =~ /influx/ group by time($interval), pod_name order asc", 73 "tags": [ 74 { 75 "key": "container_name", 76 "value": "influxdb" 77 } 78 ], 79 "function": "mean", 80 "column": "value", 81 "series": "memory/usage_bytes_gauge", 82 "condition": "container_name =~ /influx/", 83 "groupby_field": "pod_name" 84 }, 85 { 86 "alias": "heapster-usage", 87 "fields": [ 88 { 89 "func": "mean", 90 "name": "value" 91 } 92 ], 93 "groupByTags": [], 94 "hide": false, 95 "measurement": "memory/working_set_bytes_gauge", 96 "query": "select pod_name, mean(value) from \"memory/usage_bytes_gauge\" where $timeFilter and container_name =~ /heapster/ group by time($interval), pod_name order asc", 97 "tags": [ 98 { 99 "key": "container_name", 100 "value": "heapster" 101 } 102 ], 103 "target": "", 104 "function": "mean", 105 "column": "value", 106 "series": "memory/usage_bytes_gauge", 107 "condition": "container_name =~ /heapster/", 108 "groupby_field": "pod_name" 109 }, 110 { 111 "alias": "grafana-usage", 112 "fields": [ 113 { 114 "func": "mean", 115 "name": "value" 116 } 117 ], 118 "groupByTags": [], 119 "hide": false, 120 "measurement": "memory/working_set_bytes_gauge", 121 "query": "select pod_name, mean(value) from \"memory/usage_bytes_gauge\" where $timeFilter and container_name =~ /grafana/ group by time($interval), pod_name order asc", 122 "tags": [ 123 { 124 "key": "container_name", 125 "value": "grafana" 126 } 127 ], 128 "target": "", 129 "function": "mean", 130 "column": "value", 131 "series": "memory/usage_bytes_gauge", 132 "condition": "container_name =~ /grafana/", 133 "groupby_field": "pod_name" 134 } 135 ], 136 "timeFrom": null, 137 "timeShift": null, 138 "title": "Monitoring Memory usage", 139 "tooltip": { 140 "shared": true, 141 "value_type": "cumulative" 142 }, 143 "type": "graph", 144 "x-axis": true, 145 "y-axis": true, 146 "y_formats": [ 147 "bytes", 148 "short" 149 ] 150 } 151 ], 152 "title": "Row" 153 }, 154 { 155 "collapse": false, 156 "editable": true, 157 "height": "250px", 158 "panels": [], 159 "title": "New row" 160 }, 161 { 162 "collapse": false, 163 "editable": true, 164 "height": "250px", 165 "panels": [], 166 "title": "New row" 167 } 168 ], 169 "nav": [ 170 { 171 "collapse": false, 172 "enable": true, 173 "notice": false, 174 "now": true, 175 "refresh_intervals": [ 176 "5s", 177 "10s", 178 "30s", 179 "1m", 180 "5m", 181 "15m", 182 "30m", 183 "1h", 184 "2h", 185 "1d" 186 ], 187 "status": "Stable", 188 "time_options": [ 189 "5m", 190 "15m", 191 "1h", 192 "6h", 193 "12h", 194 "24h", 195 "2d", 196 "7d", 197 "30d" 198 ], 199 "type": "timepicker" 200 } 201 ], 202 "time": { 203 "from": "now-6h", 204 "to": "now" 205 }, 206 "templating": { 207 "list": [] 208 }, 209 "annotations": { 210 "list": [] 211 }, 212 "schemaVersion": 6, 213 "version": 2, 214 "links": [] 215 }