github.com/m3db/m3@v1.5.0/scripts/development/m3_prom_remote_stack/prom_remote_demo_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 "target": { 12 "limit": 100, 13 "matchAny": false, 14 "tags": [], 15 "type": "dashboard" 16 }, 17 "type": "dashboard" 18 } 19 ] 20 }, 21 "editable": true, 22 "fiscalYearStartMonth": 0, 23 "gnetId": null, 24 "graphTooltip": 0, 25 "links": [], 26 "liveNow": false, 27 "panels": [ 28 { 29 "datasource": "Prometheus Aggregated", 30 "fieldConfig": { 31 "defaults": { 32 "color": { 33 "mode": "palette-classic" 34 }, 35 "custom": { 36 "axisLabel": "", 37 "axisPlacement": "auto", 38 "barAlignment": 0, 39 "drawStyle": "line", 40 "fillOpacity": 0, 41 "gradientMode": "none", 42 "hideFrom": { 43 "legend": false, 44 "tooltip": false, 45 "viz": false 46 }, 47 "lineInterpolation": "linear", 48 "lineWidth": 1, 49 "pointSize": 5, 50 "scaleDistribution": { 51 "type": "linear" 52 }, 53 "showPoints": "auto", 54 "spanNulls": false, 55 "stacking": { 56 "group": "A", 57 "mode": "none" 58 }, 59 "thresholdsStyle": { 60 "mode": "off" 61 } 62 }, 63 "mappings": [], 64 "thresholds": { 65 "mode": "absolute", 66 "steps": [ 67 { 68 "color": "green", 69 "value": null 70 }, 71 { 72 "color": "red", 73 "value": 80 74 } 75 ] 76 } 77 }, 78 "overrides": [] 79 }, 80 "gridPos": { 81 "h": 9, 82 "w": 12, 83 "x": 0, 84 "y": 0 85 }, 86 "id": 2, 87 "options": { 88 "legend": { 89 "calcs": [], 90 "displayMode": "list", 91 "placement": "bottom" 92 }, 93 "tooltip": { 94 "mode": "single" 95 } 96 }, 97 "targets": [ 98 { 99 "exemplar": true, 100 "expr": "sum(rate(container_cpu_usage_seconds_total_rolled_up[2m])) by (container, namespace)", 101 "interval": "", 102 "legendFormat": "{{container}} {{namespace}}", 103 "refId": "A" 104 } 105 ], 106 "title": "Container CPU Usage (Rolled Up)", 107 "type": "timeseries" 108 }, 109 { 110 "datasource": "Prometheus Aggregated", 111 "fieldConfig": { 112 "defaults": { 113 "color": { 114 "mode": "palette-classic" 115 }, 116 "custom": { 117 "axisLabel": "", 118 "axisPlacement": "auto", 119 "barAlignment": 0, 120 "drawStyle": "line", 121 "fillOpacity": 0, 122 "gradientMode": "none", 123 "hideFrom": { 124 "legend": false, 125 "tooltip": false, 126 "viz": false 127 }, 128 "lineInterpolation": "linear", 129 "lineWidth": 1, 130 "pointSize": 5, 131 "scaleDistribution": { 132 "type": "linear" 133 }, 134 "showPoints": "auto", 135 "spanNulls": false, 136 "stacking": { 137 "group": "A", 138 "mode": "none" 139 }, 140 "thresholdsStyle": { 141 "mode": "off" 142 } 143 }, 144 "mappings": [], 145 "thresholds": { 146 "mode": "absolute", 147 "steps": [ 148 { 149 "color": "green", 150 "value": null 151 }, 152 { 153 "color": "red", 154 "value": 80 155 } 156 ] 157 } 158 }, 159 "overrides": [] 160 }, 161 "gridPos": { 162 "h": 9, 163 "w": 12, 164 "x": 12, 165 "y": 0 166 }, 167 "id": 4, 168 "options": { 169 "legend": { 170 "calcs": [], 171 "displayMode": "list", 172 "placement": "bottom" 173 }, 174 "tooltip": { 175 "mode": "single" 176 } 177 }, 178 "targets": [ 179 { 180 "exemplar": true, 181 "expr": "count(rate(container_cpu_usage_seconds_total_rolled_up[2m]))", 182 "interval": "", 183 "legendFormat": "{{container}}", 184 "refId": "A" 185 } 186 ], 187 "title": "Cardinality of Container CPU Usage (Rolled Up)", 188 "type": "timeseries" 189 }, 190 { 191 "datasource": "Prometheus Aggregated", 192 "fieldConfig": { 193 "defaults": { 194 "color": { 195 "mode": "palette-classic" 196 }, 197 "custom": { 198 "axisLabel": "", 199 "axisPlacement": "auto", 200 "barAlignment": 0, 201 "drawStyle": "line", 202 "fillOpacity": 0, 203 "gradientMode": "none", 204 "hideFrom": { 205 "legend": false, 206 "tooltip": false, 207 "viz": false 208 }, 209 "lineInterpolation": "linear", 210 "lineWidth": 1, 211 "pointSize": 5, 212 "scaleDistribution": { 213 "type": "linear" 214 }, 215 "showPoints": "auto", 216 "spanNulls": false, 217 "stacking": { 218 "group": "A", 219 "mode": "none" 220 }, 221 "thresholdsStyle": { 222 "mode": "off" 223 } 224 }, 225 "mappings": [], 226 "thresholds": { 227 "mode": "absolute", 228 "steps": [ 229 { 230 "color": "green", 231 "value": null 232 }, 233 { 234 "color": "red", 235 "value": 80 236 } 237 ] 238 } 239 }, 240 "overrides": [] 241 }, 242 "gridPos": { 243 "h": 10, 244 "w": 12, 245 "x": 0, 246 "y": 9 247 }, 248 "id": 3, 249 "options": { 250 "legend": { 251 "calcs": [], 252 "displayMode": "list", 253 "placement": "bottom" 254 }, 255 "tooltip": { 256 "mode": "single" 257 } 258 }, 259 "targets": [ 260 { 261 "exemplar": true, 262 "expr": "sum(rate(container_cpu_usage_seconds_total{container!=\"\"}[2m])) by (container, namespace)", 263 "interval": "", 264 "legendFormat": "{{container}} {{namespace}}", 265 "refId": "A" 266 } 267 ], 268 "title": "Container CPU Usage (Unaggregated)", 269 "type": "timeseries" 270 }, 271 { 272 "datasource": "Prometheus Aggregated", 273 "fieldConfig": { 274 "defaults": { 275 "color": { 276 "mode": "palette-classic" 277 }, 278 "custom": { 279 "axisLabel": "", 280 "axisPlacement": "auto", 281 "barAlignment": 0, 282 "drawStyle": "line", 283 "fillOpacity": 0, 284 "gradientMode": "none", 285 "hideFrom": { 286 "legend": false, 287 "tooltip": false, 288 "viz": false 289 }, 290 "lineInterpolation": "linear", 291 "lineWidth": 1, 292 "pointSize": 5, 293 "scaleDistribution": { 294 "type": "linear" 295 }, 296 "showPoints": "auto", 297 "spanNulls": false, 298 "stacking": { 299 "group": "A", 300 "mode": "none" 301 }, 302 "thresholdsStyle": { 303 "mode": "off" 304 } 305 }, 306 "mappings": [], 307 "thresholds": { 308 "mode": "absolute", 309 "steps": [ 310 { 311 "color": "green", 312 "value": null 313 }, 314 { 315 "color": "red", 316 "value": 80 317 } 318 ] 319 } 320 }, 321 "overrides": [] 322 }, 323 "gridPos": { 324 "h": 10, 325 "w": 12, 326 "x": 12, 327 "y": 9 328 }, 329 "id": 5, 330 "options": { 331 "legend": { 332 "calcs": [], 333 "displayMode": "list", 334 "placement": "bottom" 335 }, 336 "tooltip": { 337 "mode": "single" 338 } 339 }, 340 "targets": [ 341 { 342 "exemplar": true, 343 "expr": "count(rate(container_cpu_usage_seconds_total[2m]))", 344 "interval": "", 345 "legendFormat": "{{container}}", 346 "refId": "A" 347 } 348 ], 349 "title": "Cardinality of Container CPU Usage (Unaggregated)", 350 "type": "timeseries" 351 } 352 ], 353 "schemaVersion": 31, 354 "style": "dark", 355 "tags": [], 356 "templating": { 357 "list": [] 358 }, 359 "time": { 360 "from": "now-15m", 361 "to": "now" 362 }, 363 "timepicker": {}, 364 "timezone": "", 365 "title": "Prom Remote Storage Demo", 366 "uid": "um6GxRvnz", 367 "version": 1 368 }