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