Matteo Scandolo | e0d3caf | 2020-01-10 15:55:56 -0800 | [diff] [blame] | 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 | "id": 4, |
| 19 | "links": [], |
| 20 | "panels": [ |
| 21 | { |
| 22 | "cacheTimeout": null, |
| 23 | "colorBackground": false, |
| 24 | "colorValue": false, |
| 25 | "colors": [ |
| 26 | "#299c46", |
| 27 | "rgba(237, 129, 40, 0.89)", |
| 28 | "#d44a3a" |
| 29 | ], |
| 30 | "datasource": null, |
| 31 | "format": "none", |
| 32 | "gauge": { |
| 33 | "maxValue": 100, |
| 34 | "minValue": 0, |
| 35 | "show": false, |
| 36 | "thresholdLabels": false, |
| 37 | "thresholdMarkers": true |
| 38 | }, |
| 39 | "gridPos": { |
| 40 | "h": 8, |
| 41 | "w": 12, |
| 42 | "x": 0, |
| 43 | "y": 0 |
| 44 | }, |
| 45 | "id": 4, |
| 46 | "interval": null, |
| 47 | "links": [], |
| 48 | "mappingType": 1, |
| 49 | "mappingTypes": [ |
| 50 | { |
| 51 | "name": "value to text", |
| 52 | "value": 1 |
| 53 | }, |
| 54 | { |
| 55 | "name": "range to text", |
| 56 | "value": 2 |
| 57 | } |
| 58 | ], |
| 59 | "maxDataPoints": 100, |
| 60 | "nullPointMode": "connected", |
| 61 | "nullText": null, |
| 62 | "options": {}, |
| 63 | "postfix": "", |
| 64 | "postfixFontSize": "50%", |
| 65 | "prefix": "", |
| 66 | "prefixFontSize": "50%", |
| 67 | "rangeMaps": [ |
| 68 | { |
| 69 | "from": "null", |
| 70 | "text": "N/A", |
| 71 | "to": "null" |
| 72 | } |
| 73 | ], |
| 74 | "sparkline": { |
| 75 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 76 | "full": false, |
| 77 | "lineColor": "rgb(31, 120, 193)", |
| 78 | "show": false, |
| 79 | "ymax": null, |
| 80 | "ymin": null |
| 81 | }, |
| 82 | "tableColumn": "", |
| 83 | "targets": [ |
| 84 | { |
| 85 | "expr": "kafka_server_brokertopicmetrics_total_messagesinpersec_count{}", |
| 86 | "refId": "A" |
| 87 | } |
| 88 | ], |
| 89 | "thresholds": "", |
| 90 | "timeFrom": null, |
| 91 | "timeShift": null, |
| 92 | "title": "Total number of messages over Kafka", |
| 93 | "type": "singlestat", |
| 94 | "valueFontSize": "80%", |
| 95 | "valueMaps": [ |
| 96 | { |
| 97 | "op": "=", |
| 98 | "text": "N/A", |
| 99 | "value": "null" |
| 100 | } |
| 101 | ], |
| 102 | "valueName": "avg" |
| 103 | }, |
| 104 | { |
| 105 | "cacheTimeout": null, |
| 106 | "colorBackground": false, |
| 107 | "colorValue": false, |
| 108 | "colors": [ |
| 109 | "#299c46", |
| 110 | "rgba(237, 129, 40, 0.89)", |
| 111 | "#d44a3a" |
| 112 | ], |
| 113 | "datasource": null, |
| 114 | "format": "none", |
| 115 | "gauge": { |
| 116 | "maxValue": 100, |
| 117 | "minValue": 0, |
| 118 | "show": false, |
| 119 | "thresholdLabels": false, |
| 120 | "thresholdMarkers": true |
| 121 | }, |
| 122 | "gridPos": { |
| 123 | "h": 4, |
| 124 | "w": 12, |
| 125 | "x": 12, |
| 126 | "y": 0 |
| 127 | }, |
| 128 | "id": 6, |
| 129 | "interval": null, |
| 130 | "links": [], |
| 131 | "mappingType": 1, |
| 132 | "mappingTypes": [ |
| 133 | { |
| 134 | "name": "value to text", |
| 135 | "value": 1 |
| 136 | }, |
| 137 | { |
| 138 | "name": "range to text", |
| 139 | "value": 2 |
| 140 | } |
| 141 | ], |
| 142 | "maxDataPoints": 100, |
| 143 | "nullPointMode": "connected", |
| 144 | "nullText": null, |
| 145 | "options": {}, |
| 146 | "postfix": "", |
| 147 | "postfixFontSize": "50%", |
| 148 | "prefix": "", |
| 149 | "prefixFontSize": "50%", |
| 150 | "rangeMaps": [ |
| 151 | { |
| 152 | "from": "null", |
| 153 | "text": "N/A", |
| 154 | "to": "null" |
| 155 | } |
| 156 | ], |
| 157 | "sparkline": { |
| 158 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 159 | "full": false, |
| 160 | "lineColor": "rgb(31, 120, 193)", |
| 161 | "show": false, |
| 162 | "ymax": null, |
| 163 | "ymin": null |
| 164 | }, |
| 165 | "tableColumn": "", |
| 166 | "targets": [ |
| 167 | { |
| 168 | "expr": "sum(grpc_server_msg_received_total{instance=\"voltha-etcd-cluster.voltha.svc:2379\"})", |
| 169 | "refId": "A" |
| 170 | } |
| 171 | ], |
| 172 | "thresholds": "", |
| 173 | "timeFrom": null, |
| 174 | "timeShift": null, |
| 175 | "title": "ETCD: Total msg received", |
| 176 | "type": "singlestat", |
| 177 | "valueFontSize": "80%", |
| 178 | "valueMaps": [ |
| 179 | { |
| 180 | "op": "=", |
| 181 | "text": "N/A", |
| 182 | "value": "null" |
| 183 | } |
| 184 | ], |
| 185 | "valueName": "avg" |
| 186 | }, |
| 187 | { |
| 188 | "cacheTimeout": null, |
| 189 | "colorBackground": false, |
| 190 | "colorValue": false, |
| 191 | "colors": [ |
| 192 | "#299c46", |
| 193 | "rgba(237, 129, 40, 0.89)", |
| 194 | "#d44a3a" |
| 195 | ], |
| 196 | "datasource": null, |
| 197 | "format": "none", |
| 198 | "gauge": { |
| 199 | "maxValue": 100, |
| 200 | "minValue": 0, |
| 201 | "show": false, |
| 202 | "thresholdLabels": false, |
| 203 | "thresholdMarkers": true |
| 204 | }, |
| 205 | "gridPos": { |
| 206 | "h": 4, |
| 207 | "w": 12, |
| 208 | "x": 12, |
| 209 | "y": 4 |
| 210 | }, |
| 211 | "id": 7, |
| 212 | "interval": null, |
| 213 | "links": [], |
| 214 | "mappingType": 1, |
| 215 | "mappingTypes": [ |
| 216 | { |
| 217 | "name": "value to text", |
| 218 | "value": 1 |
| 219 | }, |
| 220 | { |
| 221 | "name": "range to text", |
| 222 | "value": 2 |
| 223 | } |
| 224 | ], |
| 225 | "maxDataPoints": 100, |
| 226 | "nullPointMode": "connected", |
| 227 | "nullText": null, |
| 228 | "options": {}, |
| 229 | "postfix": "", |
| 230 | "postfixFontSize": "50%", |
| 231 | "prefix": "", |
| 232 | "prefixFontSize": "50%", |
| 233 | "rangeMaps": [ |
| 234 | { |
| 235 | "from": "null", |
| 236 | "text": "N/A", |
| 237 | "to": "null" |
| 238 | } |
| 239 | ], |
| 240 | "sparkline": { |
| 241 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 242 | "full": false, |
| 243 | "lineColor": "rgb(31, 120, 193)", |
| 244 | "show": false, |
| 245 | "ymax": null, |
| 246 | "ymin": null |
| 247 | }, |
| 248 | "tableColumn": "", |
| 249 | "targets": [ |
| 250 | { |
| 251 | "expr": "sum(grpc_server_msg_sent_total{instance=\"voltha-etcd-cluster.voltha.svc:2379\"})", |
| 252 | "refId": "A" |
| 253 | } |
| 254 | ], |
| 255 | "thresholds": "", |
| 256 | "timeFrom": null, |
| 257 | "timeShift": null, |
| 258 | "title": "ETCD: Total msg sent", |
| 259 | "type": "singlestat", |
| 260 | "valueFontSize": "80%", |
| 261 | "valueMaps": [ |
| 262 | { |
| 263 | "op": "=", |
| 264 | "text": "N/A", |
| 265 | "value": "null" |
| 266 | } |
| 267 | ], |
| 268 | "valueName": "avg" |
| 269 | }, |
| 270 | { |
| 271 | "aliasColors": {}, |
| 272 | "bars": false, |
| 273 | "dashLength": 10, |
| 274 | "dashes": false, |
| 275 | "datasource": null, |
| 276 | "fill": 1, |
| 277 | "fillGradient": 0, |
| 278 | "gridPos": { |
| 279 | "h": 8, |
| 280 | "w": 12, |
| 281 | "x": 0, |
| 282 | "y": 8 |
| 283 | }, |
| 284 | "id": 2, |
| 285 | "legend": { |
| 286 | "avg": false, |
| 287 | "current": false, |
| 288 | "max": false, |
| 289 | "min": false, |
| 290 | "show": true, |
| 291 | "total": false, |
| 292 | "values": false |
| 293 | }, |
| 294 | "lines": true, |
| 295 | "linewidth": 1, |
| 296 | "nullPointMode": "null", |
| 297 | "options": { |
| 298 | "dataLinks": [] |
| 299 | }, |
| 300 | "percentage": false, |
| 301 | "pointradius": 2, |
| 302 | "points": false, |
| 303 | "renderer": "flot", |
| 304 | "seriesOverrides": [], |
| 305 | "spaceLength": 10, |
| 306 | "stack": false, |
| 307 | "steppedLine": false, |
| 308 | "targets": [ |
| 309 | { |
| 310 | "expr": "kafka_server_brokertopicmetrics_messagesinpersec_count{}", |
| 311 | "legendFormat": "{{topic}}", |
| 312 | "refId": "A" |
| 313 | } |
| 314 | ], |
| 315 | "thresholds": [], |
| 316 | "timeFrom": null, |
| 317 | "timeRegions": [], |
| 318 | "timeShift": null, |
| 319 | "title": "Kafka MSG per topic", |
| 320 | "tooltip": { |
| 321 | "shared": true, |
| 322 | "sort": 0, |
| 323 | "value_type": "individual" |
| 324 | }, |
| 325 | "type": "graph", |
| 326 | "xaxis": { |
| 327 | "buckets": null, |
| 328 | "mode": "time", |
| 329 | "name": null, |
| 330 | "show": true, |
| 331 | "values": [] |
| 332 | }, |
| 333 | "yaxes": [ |
| 334 | { |
| 335 | "format": "short", |
| 336 | "label": null, |
| 337 | "logBase": 1, |
| 338 | "max": null, |
| 339 | "min": null, |
| 340 | "show": true |
| 341 | }, |
| 342 | { |
| 343 | "format": "short", |
| 344 | "label": null, |
| 345 | "logBase": 1, |
| 346 | "max": null, |
| 347 | "min": null, |
| 348 | "show": true |
| 349 | } |
| 350 | ], |
| 351 | "yaxis": { |
| 352 | "align": false, |
| 353 | "alignLevel": null |
| 354 | } |
| 355 | }, |
| 356 | { |
| 357 | "aliasColors": {}, |
| 358 | "bars": false, |
| 359 | "dashLength": 10, |
| 360 | "dashes": false, |
| 361 | "datasource": null, |
| 362 | "fill": 1, |
| 363 | "fillGradient": 0, |
| 364 | "gridPos": { |
| 365 | "h": 8, |
| 366 | "w": 12, |
| 367 | "x": 12, |
| 368 | "y": 8 |
| 369 | }, |
| 370 | "id": 9, |
| 371 | "legend": { |
| 372 | "avg": false, |
| 373 | "current": false, |
| 374 | "max": false, |
| 375 | "min": false, |
| 376 | "show": true, |
| 377 | "total": false, |
| 378 | "values": false |
| 379 | }, |
| 380 | "lines": true, |
| 381 | "linewidth": 1, |
| 382 | "nullPointMode": "null", |
| 383 | "options": { |
| 384 | "dataLinks": [] |
| 385 | }, |
| 386 | "percentage": false, |
| 387 | "pointradius": 2, |
| 388 | "points": false, |
| 389 | "renderer": "flot", |
| 390 | "seriesOverrides": [], |
| 391 | "spaceLength": 10, |
| 392 | "stack": false, |
| 393 | "steppedLine": false, |
| 394 | "targets": [ |
| 395 | { |
| 396 | "expr": "sum(grpc_server_msg_received_total{instance=\"voltha-etcd-cluster.voltha.svc:2379\"})", |
| 397 | "legendFormat": "Received", |
| 398 | "refId": "A" |
| 399 | }, |
| 400 | { |
| 401 | "expr": "sum(grpc_server_msg_sent_total{instance=\"voltha-etcd-cluster.voltha.svc:2379\"})", |
| 402 | "legendFormat": "Sent", |
| 403 | "refId": "B" |
| 404 | } |
| 405 | ], |
| 406 | "thresholds": [], |
| 407 | "timeFrom": null, |
| 408 | "timeRegions": [], |
| 409 | "timeShift": null, |
| 410 | "title": "ETCD: Total requests", |
| 411 | "tooltip": { |
| 412 | "shared": true, |
| 413 | "sort": 0, |
| 414 | "value_type": "individual" |
| 415 | }, |
| 416 | "type": "graph", |
| 417 | "xaxis": { |
| 418 | "buckets": null, |
| 419 | "mode": "time", |
| 420 | "name": null, |
| 421 | "show": true, |
| 422 | "values": [] |
| 423 | }, |
| 424 | "yaxes": [ |
| 425 | { |
| 426 | "format": "short", |
| 427 | "label": null, |
| 428 | "logBase": 1, |
| 429 | "max": null, |
| 430 | "min": null, |
| 431 | "show": true |
| 432 | }, |
| 433 | { |
| 434 | "format": "short", |
| 435 | "label": null, |
| 436 | "logBase": 1, |
| 437 | "max": null, |
| 438 | "min": null, |
| 439 | "show": true |
| 440 | } |
| 441 | ], |
| 442 | "yaxis": { |
| 443 | "align": false, |
| 444 | "alignLevel": null |
| 445 | } |
| 446 | } |
| 447 | ], |
| 448 | "refresh": "10s", |
| 449 | "schemaVersion": 20, |
| 450 | "style": "dark", |
| 451 | "tags": [], |
| 452 | "templating": { |
| 453 | "list": [] |
| 454 | }, |
| 455 | "time": { |
| 456 | "from": "now-1h", |
| 457 | "to": "now" |
| 458 | }, |
| 459 | "timepicker": { |
| 460 | "refresh_intervals": [ |
| 461 | "5s", |
| 462 | "10s", |
| 463 | "30s", |
| 464 | "1m", |
| 465 | "5m", |
| 466 | "15m", |
| 467 | "30m", |
| 468 | "1h", |
| 469 | "2h", |
| 470 | "1d" |
| 471 | ] |
| 472 | }, |
| 473 | "timezone": "", |
| 474 | "title": "VOLTHA-2.X", |
| 475 | "uid": "ZLpJDKPZk", |
| 476 | "version": 5 |
| 477 | } |