github.com/kyma-project/kyma-environment-broker@v0.0.1/resources/kcp/charts/kyma-environment-broker/files/gardener-dashboard.json (about) 1 { 2 "annotations": { 3 "list": [ 4 { 5 "builtIn": 1, 6 "datasource": "-- Grafana --", 7 "enable": true, 8 "hide": true, 9 "iconColor": "rgba(0, 211, 255, 1)", 10 "name": "Annotations & Alerts", 11 "type": "dashboard" 12 } 13 ] 14 }, 15 "editable": true, 16 "gnetId": null, 17 "graphTooltip": 0, 18 "links": [], 19 "panels": [ 20 { 21 "collapsed": false, 22 "datasource": null, 23 "gridPos": { 24 "h": 1, 25 "w": 24, 26 "x": 0, 27 "y": 0 28 }, 29 "id": 2, 30 "panels": [], 31 "title": "Gardener Usage Exporter Metrics", 32 "type": "row" 33 }, 34 { 35 "datasource": null, 36 "fieldConfig": { 37 "defaults": { 38 "custom": { 39 "align": null, 40 "filterable": false 41 }, 42 "decimals": 2, 43 "mappings": [], 44 "thresholds": { 45 "mode": "absolute", 46 "steps": [ 47 { 48 "color": "green", 49 "value": null 50 }, 51 { 52 "color": "red", 53 "value": 80 54 } 55 ] 56 }, 57 "unit": "short" 58 }, 59 "overrides": [ 60 { 61 "matcher": { 62 "id": "byRegexp", 63 "options": "Usage percent %" 64 }, 65 "properties": [ 66 { 67 "id": "custom.displayMode", 68 "value": "color-background" 69 }, 70 { 71 "id": "thresholds", 72 "value": { 73 "mode": "absolute", 74 "steps": [ 75 { 76 "color": "green", 77 "value": null 78 }, 79 { 80 "color": "red", 81 "value": 80 82 } 83 ] 84 } 85 }, 86 { 87 "id": "decimals", 88 "value": 3 89 }, 90 { 91 "id": "unit", 92 "value": "percent" 93 } 94 ] 95 } 96 ] 97 }, 98 "gridPos": { 99 "h": 8, 100 "w": 11, 101 "x": 0, 102 "y": 1 103 }, 104 "id": 4, 105 "options": { 106 "showHeader": true 107 }, 108 "pluginVersion": "7.3.3", 109 "targets": [ 110 { 111 "expr": " sum by (__name__, service)(gardener_secrets_azure_used)", 112 "format": "table", 113 "interval": "", 114 "legendFormat": "", 115 "refId": "A" 116 }, 117 { 118 "expr": " sum by (__name__, service)(gardener_secrets_azure_total)", 119 "format": "table", 120 "interval": "", 121 "legendFormat": "", 122 "refId": "B" 123 }, 124 { 125 "expr": " sum by (__name__, service)(gardener_secrets_azure_used/gardener_secrets_azure_total)*100", 126 "format": "table", 127 "interval": "", 128 "legendFormat": "", 129 "refId": "C" 130 } 131 ], 132 "timeFrom": null, 133 "timeShift": null, 134 "title": "Gardener Secret Usage", 135 "transformations": [ 136 { 137 "id": "filterFieldsByName", 138 "options": { 139 "include": { 140 "names": [ 141 "service", 142 "Value #A", 143 "Value #B", 144 "Value #C" 145 ] 146 } 147 } 148 }, 149 { 150 "id": "seriesToColumns", 151 "options": { 152 "byField": "service" 153 } 154 }, 155 { 156 "id": "organize", 157 "options": { 158 "excludeByName": {}, 159 "indexByName": {}, 160 "renameByName": { 161 "Value #A": "Used", 162 "Value #B": "Limited", 163 "Value #C": "Usage percent %", 164 "service": "Service" 165 } 166 } 167 } 168 ], 169 "type": "table" 170 }, 171 { 172 "datasource": null, 173 "fieldConfig": { 174 "defaults": { 175 "custom": { 176 "align": null, 177 "filterable": false 178 }, 179 "mappings": [], 180 "thresholds": { 181 "mode": "absolute", 182 "steps": [ 183 { 184 "color": "green", 185 "value": null 186 }, 187 { 188 "color": "red", 189 "value": 80 190 } 191 ] 192 } 193 }, 194 "overrides": [ 195 { 196 "matcher": { 197 "id": "byRegexp", 198 "options": "Usage Percent %" 199 }, 200 "properties": [ 201 { 202 "id": "custom.displayMode", 203 "value": "color-background" 204 }, 205 { 206 "id": "thresholds", 207 "value": { 208 "mode": "absolute", 209 "steps": [ 210 { 211 "color": "green", 212 "value": null 213 }, 214 { 215 "color": "red", 216 "value": 80 217 } 218 ] 219 } 220 }, 221 { 222 "id": "unit", 223 "value": "percent" 224 }, 225 { 226 "id": "decimals", 227 "value": 2 228 } 229 ] 230 } 231 ] 232 }, 233 "gridPos": { 234 "h": 8, 235 "w": 12, 236 "x": 11, 237 "y": 1 238 }, 239 "id": 8, 240 "options": { 241 "frameIndex": 2, 242 "showHeader": true 243 }, 244 "pluginVersion": "7.3.3", 245 "targets": [ 246 { 247 "expr": "sum by (instance, resourceName) (gardener_quota_used)", 248 "format": "table", 249 "interval": "", 250 "legendFormat": "", 251 "refId": "A" 252 }, 253 { 254 "expr": "sum by (instance, resourceName) (gardener_quota_limit)", 255 "format": "table", 256 "interval": "", 257 "legendFormat": "", 258 "refId": "B" 259 }, 260 { 261 "expr": "sum by (instance, resourceName) (gardener_quota_used/gardener_quota_limit) * 100", 262 "format": "table", 263 "interval": "", 264 "legendFormat": "", 265 "refId": "C" 266 } 267 ], 268 "timeFrom": null, 269 "timeShift": null, 270 "title": "Gardener Quota Usage", 271 "transformations": [ 272 { 273 "id": "filterFieldsByName", 274 "options": { 275 "include": { 276 "names": [ 277 "resourceName", 278 "Value #C", 279 "Value #B", 280 "Value #A" 281 ] 282 } 283 } 284 }, 285 { 286 "id": "seriesToColumns", 287 "options": { 288 "byField": "resourceName" 289 } 290 }, 291 { 292 "id": "organize", 293 "options": { 294 "excludeByName": {}, 295 "indexByName": {}, 296 "renameByName": { 297 "Value #A": "Used", 298 "Value #B": "Limited", 299 "Value #C": "Usage Percent %", 300 "resourceName": "Service" 301 } 302 } 303 } 304 ], 305 "type": "table" 306 } 307 ], 308 "schemaVersion": 26, 309 "style": "dark", 310 "tags": [ 311 "gardener metrics" 312 ], 313 "templating": { 314 "list": [] 315 }, 316 "time": { 317 "from": "now-6h", 318 "to": "now" 319 }, 320 "timepicker": {}, 321 "timezone": "", 322 "title": "Gardener Metrics", 323 "uid": "mnpIkYUGk", 324 "version": 1 325 }