Olivier Bourdon | 04a1a65 | 2017-07-06 16:25:10 +0200 | [diff] [blame] | 1 | {% raw %} |
| 2 | { |
| 3 | "description": "Monitors Cassandra cluster using Prometheus. Shows overall cluster processes and usage.", |
| 4 | "editable": true, |
| 5 | "gnetId": null, |
| 6 | "graphTooltip": 1, |
| 7 | "hideControls": false, |
| 8 | "id": null, |
| 9 | "links": [], |
| 10 | "refresh": "1m", |
| 11 | "rows": [ |
| 12 | { |
| 13 | "collapse": false, |
| 14 | "height": "250px", |
| 15 | "panels": [ |
| 16 | { |
| 17 | "cacheTimeout": null, |
| 18 | "colorBackground": false, |
| 19 | "colorValue": false, |
| 20 | "colors": [ |
| 21 | "rgba(245, 54, 54, 0.9)", |
| 22 | "rgba(237, 129, 40, 0.89)", |
| 23 | "rgba(50, 172, 45, 0.97)" |
| 24 | ], |
| 25 | "datasource": "prometheus", |
| 26 | "format": "none", |
| 27 | "gauge": { |
| 28 | "maxValue": 100, |
| 29 | "minValue": 0, |
| 30 | "show": false, |
| 31 | "thresholdLabels": false, |
| 32 | "thresholdMarkers": true |
| 33 | }, |
| 34 | "id": 1, |
| 35 | "interval": null, |
| 36 | "links": [], |
| 37 | "mappingType": 1, |
| 38 | "mappingTypes": [ |
| 39 | { |
| 40 | "name": "value to text", |
| 41 | "value": 1 |
| 42 | }, |
| 43 | { |
| 44 | "name": "range to text", |
| 45 | "value": 2 |
| 46 | } |
| 47 | ], |
| 48 | "maxDataPoints": 100, |
| 49 | "nullPointMode": "connected", |
| 50 | "nullText": null, |
| 51 | "postfix": "", |
| 52 | "postfixFontSize": "50%", |
| 53 | "prefix": "", |
| 54 | "prefixFontSize": "50%", |
| 55 | "rangeMaps": [ |
| 56 | { |
| 57 | "from": "null", |
| 58 | "text": "N/A", |
| 59 | "to": "null" |
| 60 | } |
| 61 | ], |
| 62 | "span": 4, |
| 63 | "sparkline": { |
| 64 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 65 | "full": false, |
| 66 | "lineColor": "rgb(31, 120, 193)", |
| 67 | "show": true |
| 68 | }, |
| 69 | "tableColumn": "", |
| 70 | "targets": [ |
| 71 | { |
Olivier Bourdon | 7c808bc | 2017-07-20 15:32:22 +0200 | [diff] [blame] | 72 | "expr": "min(cassandra_net_FailureDetector_UpEndpointCount{host=~\"$host\"})", |
Olivier Bourdon | 04a1a65 | 2017-07-06 16:25:10 +0200 | [diff] [blame] | 73 | "format": "time_series", |
| 74 | "intervalFactor": 2, |
| 75 | "legendFormat": "", |
| 76 | "refId": "A", |
| 77 | "step": 20 |
| 78 | } |
| 79 | ], |
| 80 | "thresholds": "", |
| 81 | "title": "Cassandra Endpoints UP", |
| 82 | "type": "singlestat", |
| 83 | "valueFontSize": "80%", |
| 84 | "valueMaps": [ |
| 85 | { |
| 86 | "op": "=", |
| 87 | "text": "N/A", |
| 88 | "value": "null" |
| 89 | } |
| 90 | ], |
| 91 | "valueName": "current" |
| 92 | }, |
| 93 | { |
| 94 | "aliasColors": {}, |
| 95 | "bars": false, |
| 96 | "dashLength": 10, |
| 97 | "dashes": false, |
| 98 | "datasource": "prometheus", |
| 99 | "decimals": 0, |
| 100 | "fill": 1, |
| 101 | "id": 2, |
| 102 | "legend": { |
| 103 | "avg": false, |
| 104 | "current": false, |
| 105 | "max": false, |
| 106 | "min": false, |
| 107 | "show": true, |
| 108 | "total": false, |
| 109 | "values": false |
| 110 | }, |
| 111 | "lines": true, |
| 112 | "linewidth": 1, |
| 113 | "links": [], |
| 114 | "nullPointMode": "null", |
| 115 | "percentage": false, |
| 116 | "pointradius": 5, |
| 117 | "points": false, |
| 118 | "renderer": "flot", |
| 119 | "seriesOverrides": [], |
| 120 | "spaceLength": 10, |
| 121 | "span": 8, |
| 122 | "stack": false, |
| 123 | "steppedLine": false, |
| 124 | "targets": [ |
| 125 | { |
| 126 | "expr": "cassandra_net_FailureDetector_UpEndpointCount{host=~\"$host\"}", |
| 127 | "format": "time_series", |
| 128 | "intervalFactor": 2, |
| 129 | "legendFormat": "up {{ host }}", |
| 130 | "refId": "A", |
| 131 | "step": 2 |
| 132 | }, |
| 133 | { |
| 134 | "expr": "cassandra_net_FailureDetector_DownEndpointCount{host=~\"$host\"}", |
| 135 | "format": "time_series", |
| 136 | "intervalFactor": 2, |
| 137 | "legendFormat": "down {{ host }}", |
| 138 | "refId": "B", |
| 139 | "step": 2 |
| 140 | } |
| 141 | ], |
| 142 | "thresholds": [], |
| 143 | "timeFrom": null, |
| 144 | "timeShift": null, |
| 145 | "title": "Endpoints UP/DOWN", |
| 146 | "tooltip": { |
| 147 | "shared": true, |
| 148 | "sort": 0, |
| 149 | "value_type": "individual" |
| 150 | }, |
| 151 | "type": "graph", |
| 152 | "xaxis": { |
| 153 | "buckets": null, |
| 154 | "mode": "time", |
| 155 | "name": null, |
| 156 | "show": true, |
| 157 | "values": [] |
| 158 | }, |
| 159 | "yaxes": [ |
| 160 | { |
| 161 | "format": "short", |
| 162 | "label": null, |
| 163 | "logBase": 1, |
| 164 | "max": null, |
| 165 | "min": "0", |
| 166 | "show": true |
| 167 | }, |
| 168 | { |
| 169 | "format": "short", |
| 170 | "label": null, |
| 171 | "logBase": 1, |
| 172 | "max": null, |
| 173 | "min": null, |
| 174 | "show": true |
| 175 | } |
| 176 | ] |
| 177 | } |
| 178 | ], |
| 179 | "repeat": null, |
| 180 | "repeatIteration": null, |
| 181 | "repeatRowId": null, |
| 182 | "showTitle": true, |
| 183 | "title": "Endpoints", |
| 184 | "titleSize": "h6" |
| 185 | }, |
| 186 | { |
| 187 | "collapse": false, |
| 188 | "height": "250px", |
| 189 | "panels": [ |
| 190 | { |
| 191 | "aliasColors": {}, |
| 192 | "bars": false, |
| 193 | "dashLength": 10, |
| 194 | "dashes": false, |
| 195 | "datasource": "prometheus", |
| 196 | "decimals": 0, |
| 197 | "fill": 1, |
| 198 | "id": 3, |
| 199 | "legend": { |
| 200 | "avg": false, |
| 201 | "current": false, |
| 202 | "max": false, |
| 203 | "min": false, |
| 204 | "show": true, |
| 205 | "total": false, |
| 206 | "values": false |
| 207 | }, |
| 208 | "lines": true, |
| 209 | "linewidth": 1, |
| 210 | "links": [], |
| 211 | "nullPointMode": "null", |
| 212 | "percentage": false, |
| 213 | "pointradius": 5, |
| 214 | "points": false, |
| 215 | "renderer": "flot", |
| 216 | "seriesOverrides": [], |
| 217 | "spaceLength": 10, |
| 218 | "span": 6, |
| 219 | "stack": false, |
| 220 | "steppedLine": false, |
| 221 | "targets": [ |
| 222 | { |
| 223 | "expr": "irate(cassandra_metrics_Client_Value{host=~\"$host\",name=\"connectedNativeClients\"}[1m])", |
| 224 | "format": "time_series", |
| 225 | "intervalFactor": 2, |
| 226 | "legendFormat": "{{ host }}", |
| 227 | "refId": "A", |
| 228 | "step": 2 |
| 229 | } |
| 230 | ], |
| 231 | "thresholds": [], |
| 232 | "timeFrom": null, |
| 233 | "timeShift": null, |
| 234 | "title": "Native Clients", |
| 235 | "tooltip": { |
| 236 | "shared": true, |
| 237 | "sort": 0, |
| 238 | "value_type": "individual" |
| 239 | }, |
| 240 | "type": "graph", |
| 241 | "xaxis": { |
| 242 | "buckets": null, |
| 243 | "mode": "time", |
| 244 | "name": null, |
| 245 | "show": true, |
| 246 | "values": [] |
| 247 | }, |
| 248 | "yaxes": [ |
| 249 | { |
| 250 | "format": "ops", |
| 251 | "label": null, |
| 252 | "logBase": 1, |
| 253 | "max": null, |
| 254 | "min": "0", |
| 255 | "show": true |
| 256 | }, |
| 257 | { |
| 258 | "format": "short", |
| 259 | "label": null, |
| 260 | "logBase": 1, |
| 261 | "max": null, |
| 262 | "min": null, |
| 263 | "show": true |
| 264 | } |
| 265 | ] |
| 266 | }, |
| 267 | { |
| 268 | "aliasColors": {}, |
| 269 | "bars": false, |
| 270 | "dashLength": 10, |
| 271 | "dashes": false, |
| 272 | "datasource": "prometheus", |
| 273 | "decimals": 0, |
| 274 | "fill": 1, |
| 275 | "id": 4, |
| 276 | "legend": { |
| 277 | "avg": false, |
| 278 | "current": false, |
| 279 | "max": false, |
| 280 | "min": false, |
| 281 | "show": true, |
| 282 | "total": false, |
| 283 | "values": false |
| 284 | }, |
| 285 | "lines": true, |
| 286 | "linewidth": 1, |
| 287 | "links": [], |
| 288 | "nullPointMode": "null", |
| 289 | "percentage": false, |
| 290 | "pointradius": 5, |
| 291 | "points": false, |
| 292 | "renderer": "flot", |
| 293 | "seriesOverrides": [], |
| 294 | "spaceLength": 10, |
| 295 | "span": 6, |
| 296 | "stack": false, |
| 297 | "steppedLine": false, |
| 298 | "targets": [ |
| 299 | { |
| 300 | "expr": "irate(cassandra_metrics_Client_Value{host=~\"$host\",name=\"connectedThriftClients\"}[1m])", |
| 301 | "format": "time_series", |
| 302 | "intervalFactor": 2, |
| 303 | "legendFormat": "{{ host }}", |
| 304 | "refId": "A", |
| 305 | "step": 2 |
| 306 | } |
| 307 | ], |
| 308 | "thresholds": [], |
| 309 | "timeFrom": null, |
| 310 | "timeShift": null, |
| 311 | "title": "Thrift Clients", |
| 312 | "tooltip": { |
| 313 | "shared": true, |
| 314 | "sort": 0, |
| 315 | "value_type": "individual" |
| 316 | }, |
| 317 | "type": "graph", |
| 318 | "xaxis": { |
| 319 | "buckets": null, |
| 320 | "mode": "time", |
| 321 | "name": null, |
| 322 | "show": true, |
| 323 | "values": [] |
| 324 | }, |
| 325 | "yaxes": [ |
| 326 | { |
| 327 | "format": "ops", |
| 328 | "label": null, |
| 329 | "logBase": 1, |
| 330 | "max": null, |
| 331 | "min": "0", |
| 332 | "show": true |
| 333 | }, |
| 334 | { |
| 335 | "format": "short", |
| 336 | "label": null, |
| 337 | "logBase": 1, |
| 338 | "max": null, |
| 339 | "min": null, |
| 340 | "show": true |
| 341 | } |
| 342 | ] |
| 343 | } |
| 344 | ], |
| 345 | "repeat": null, |
| 346 | "repeatIteration": null, |
| 347 | "repeatRowId": null, |
| 348 | "showTitle": true, |
| 349 | "title": "Clients", |
| 350 | "titleSize": "h6" |
| 351 | }, |
| 352 | { |
| 353 | "collapse": false, |
| 354 | "height": "250px", |
| 355 | "panels": [ |
| 356 | { |
| 357 | "aliasColors": {}, |
| 358 | "bars": false, |
| 359 | "dashLength": 10, |
| 360 | "dashes": false, |
| 361 | "datasource": "prometheus", |
| 362 | "decimals": 0, |
| 363 | "fill": 1, |
| 364 | "id": 5, |
| 365 | "legend": { |
| 366 | "avg": false, |
| 367 | "current": false, |
| 368 | "max": false, |
| 369 | "min": false, |
| 370 | "show": true, |
| 371 | "total": false, |
| 372 | "values": false |
| 373 | }, |
| 374 | "lines": true, |
| 375 | "linewidth": 1, |
| 376 | "links": [], |
| 377 | "nullPointMode": "null", |
| 378 | "percentage": false, |
| 379 | "pointradius": 5, |
| 380 | "points": false, |
| 381 | "renderer": "flot", |
| 382 | "seriesOverrides": [], |
| 383 | "spaceLength": 10, |
| 384 | "span": 6, |
| 385 | "stack": false, |
| 386 | "steppedLine": false, |
| 387 | "targets": [ |
| 388 | { |
| 389 | "expr": "irate(cassandra_metrics_ClientRequest_Mean{host=~\"$host\",scope=\"Read\"}[1m])", |
| 390 | "format": "time_series", |
| 391 | "intervalFactor": 2, |
| 392 | "legendFormat": "{{ host }}", |
| 393 | "refId": "A", |
| 394 | "step": 2 |
| 395 | } |
| 396 | ], |
| 397 | "thresholds": [], |
| 398 | "timeFrom": null, |
| 399 | "timeShift": null, |
| 400 | "title": "Client Requests: Read", |
| 401 | "tooltip": { |
| 402 | "shared": true, |
| 403 | "sort": 0, |
| 404 | "value_type": "individual" |
| 405 | }, |
| 406 | "type": "graph", |
| 407 | "xaxis": { |
| 408 | "buckets": null, |
| 409 | "mode": "time", |
| 410 | "name": null, |
| 411 | "show": true, |
| 412 | "values": [] |
| 413 | }, |
| 414 | "yaxes": [ |
| 415 | { |
| 416 | "format": "ops", |
| 417 | "label": null, |
| 418 | "logBase": 1, |
| 419 | "max": null, |
| 420 | "min": "0", |
| 421 | "show": true |
| 422 | }, |
| 423 | { |
| 424 | "format": "short", |
| 425 | "label": null, |
| 426 | "logBase": 1, |
| 427 | "max": null, |
| 428 | "min": null, |
| 429 | "show": true |
| 430 | } |
| 431 | ] |
| 432 | }, |
| 433 | { |
| 434 | "aliasColors": {}, |
| 435 | "bars": false, |
| 436 | "dashLength": 10, |
| 437 | "dashes": false, |
| 438 | "datasource": "prometheus", |
| 439 | "decimals": 0, |
| 440 | "fill": 1, |
| 441 | "id": 6, |
| 442 | "legend": { |
| 443 | "avg": false, |
| 444 | "current": false, |
| 445 | "max": false, |
| 446 | "min": false, |
| 447 | "show": true, |
| 448 | "total": false, |
| 449 | "values": false |
| 450 | }, |
| 451 | "lines": true, |
| 452 | "linewidth": 1, |
| 453 | "links": [], |
| 454 | "nullPointMode": "null", |
| 455 | "percentage": false, |
| 456 | "pointradius": 5, |
| 457 | "points": false, |
| 458 | "renderer": "flot", |
| 459 | "seriesOverrides": [], |
| 460 | "spaceLength": 10, |
| 461 | "span": 6, |
| 462 | "stack": false, |
| 463 | "steppedLine": false, |
| 464 | "targets": [ |
| 465 | { |
| 466 | "expr": "irate(cassandra_metrics_ClientRequest_Mean{host=~\"$host\",scope=\"Write\"}[1m])", |
| 467 | "format": "time_series", |
| 468 | "intervalFactor": 2, |
| 469 | "legendFormat": "{{ host }}", |
| 470 | "refId": "A", |
| 471 | "step": 2 |
| 472 | } |
| 473 | ], |
| 474 | "thresholds": [], |
| 475 | "timeFrom": null, |
| 476 | "timeShift": null, |
| 477 | "title": "Client Requests: Writes", |
| 478 | "tooltip": { |
| 479 | "shared": true, |
| 480 | "sort": 0, |
| 481 | "value_type": "individual" |
| 482 | }, |
| 483 | "type": "graph", |
| 484 | "xaxis": { |
| 485 | "buckets": null, |
| 486 | "mode": "time", |
| 487 | "name": null, |
| 488 | "show": true, |
| 489 | "values": [] |
| 490 | }, |
| 491 | "yaxes": [ |
| 492 | { |
| 493 | "format": "ops", |
| 494 | "label": null, |
| 495 | "logBase": 1, |
| 496 | "max": null, |
| 497 | "min": "0", |
| 498 | "show": true |
| 499 | }, |
| 500 | { |
| 501 | "format": "short", |
| 502 | "label": null, |
| 503 | "logBase": 1, |
| 504 | "max": null, |
| 505 | "min": null, |
| 506 | "show": true |
| 507 | } |
| 508 | ] |
| 509 | }, |
| 510 | { |
| 511 | "aliasColors": {}, |
| 512 | "bars": false, |
| 513 | "dashLength": 10, |
| 514 | "dashes": false, |
| 515 | "datasource": "prometheus", |
| 516 | "decimals": 0, |
| 517 | "fill": 1, |
| 518 | "id": 7, |
| 519 | "legend": { |
| 520 | "avg": false, |
| 521 | "current": false, |
| 522 | "max": false, |
| 523 | "min": false, |
| 524 | "show": true, |
| 525 | "total": false, |
| 526 | "values": false |
| 527 | }, |
| 528 | "lines": true, |
| 529 | "linewidth": 1, |
| 530 | "links": [], |
| 531 | "nullPointMode": "null", |
| 532 | "percentage": false, |
| 533 | "pointradius": 5, |
| 534 | "points": false, |
| 535 | "renderer": "flot", |
| 536 | "seriesOverrides": [], |
| 537 | "spaceLength": 10, |
| 538 | "span": 6, |
| 539 | "stack": false, |
| 540 | "steppedLine": false, |
| 541 | "targets": [ |
| 542 | { |
| 543 | "expr": "cassandra_metrics_ClientRequest_50thPercentile{host=~\"$host\",scope=\"Read\"}", |
| 544 | "format": "time_series", |
| 545 | "intervalFactor": 2, |
| 546 | "legendFormat": "{{ host }}", |
| 547 | "refId": "A", |
| 548 | "step": 2 |
| 549 | } |
| 550 | ], |
| 551 | "thresholds": [], |
| 552 | "timeFrom": null, |
| 553 | "timeShift": null, |
| 554 | "title": "Client Requests: Read 50thPercentile", |
| 555 | "tooltip": { |
| 556 | "shared": true, |
| 557 | "sort": 0, |
| 558 | "value_type": "individual" |
| 559 | }, |
| 560 | "type": "graph", |
| 561 | "xaxis": { |
| 562 | "buckets": null, |
| 563 | "mode": "time", |
| 564 | "name": null, |
| 565 | "show": true, |
| 566 | "values": [] |
| 567 | }, |
| 568 | "yaxes": [ |
| 569 | { |
| 570 | "format": "short", |
| 571 | "label": null, |
| 572 | "logBase": 1, |
| 573 | "max": null, |
| 574 | "min": "0", |
| 575 | "show": true |
| 576 | }, |
| 577 | { |
| 578 | "format": "short", |
| 579 | "label": null, |
| 580 | "logBase": 1, |
| 581 | "max": null, |
| 582 | "min": null, |
| 583 | "show": true |
| 584 | } |
| 585 | ] |
| 586 | }, |
| 587 | { |
| 588 | "aliasColors": {}, |
| 589 | "bars": false, |
| 590 | "dashLength": 10, |
| 591 | "dashes": false, |
| 592 | "datasource": "prometheus", |
| 593 | "decimals": 0, |
| 594 | "fill": 1, |
| 595 | "id": 8, |
| 596 | "legend": { |
| 597 | "avg": false, |
| 598 | "current": false, |
| 599 | "max": false, |
| 600 | "min": false, |
| 601 | "show": true, |
| 602 | "total": false, |
| 603 | "values": false |
| 604 | }, |
| 605 | "lines": true, |
| 606 | "linewidth": 1, |
| 607 | "links": [], |
| 608 | "nullPointMode": "null", |
| 609 | "percentage": false, |
| 610 | "pointradius": 5, |
| 611 | "points": false, |
| 612 | "renderer": "flot", |
| 613 | "seriesOverrides": [], |
| 614 | "spaceLength": 10, |
| 615 | "span": 6, |
| 616 | "stack": false, |
| 617 | "steppedLine": false, |
| 618 | "targets": [ |
| 619 | { |
| 620 | "expr": "cassandra_metrics_ClientRequest_50thPercentile{host=~\"$host\",scope=\"Write\"}", |
| 621 | "format": "time_series", |
| 622 | "intervalFactor": 2, |
| 623 | "legendFormat": "{{ host }}", |
| 624 | "refId": "A", |
| 625 | "step": 2 |
| 626 | } |
| 627 | ], |
| 628 | "thresholds": [], |
| 629 | "timeFrom": null, |
| 630 | "timeShift": null, |
| 631 | "title": "Client Requests: Write 50thPercentile", |
| 632 | "tooltip": { |
| 633 | "shared": true, |
| 634 | "sort": 0, |
| 635 | "value_type": "individual" |
| 636 | }, |
| 637 | "type": "graph", |
| 638 | "xaxis": { |
| 639 | "buckets": null, |
| 640 | "mode": "time", |
| 641 | "name": null, |
| 642 | "show": true, |
| 643 | "values": [] |
| 644 | }, |
| 645 | "yaxes": [ |
| 646 | { |
| 647 | "format": "short", |
| 648 | "label": null, |
| 649 | "logBase": 1, |
| 650 | "max": null, |
| 651 | "min": "0", |
| 652 | "show": true |
| 653 | }, |
| 654 | { |
| 655 | "format": "short", |
| 656 | "label": null, |
| 657 | "logBase": 1, |
| 658 | "max": null, |
| 659 | "min": null, |
| 660 | "show": true |
| 661 | } |
| 662 | ] |
| 663 | } |
| 664 | ], |
| 665 | "repeat": null, |
| 666 | "repeatIteration": null, |
| 667 | "repeatRowId": null, |
| 668 | "showTitle": true, |
| 669 | "title": "Clients Requests", |
| 670 | "titleSize": "h6" |
| 671 | }, |
| 672 | { |
| 673 | "collapse": false, |
| 674 | "height": "250px", |
| 675 | "panels": [ |
| 676 | { |
| 677 | "aliasColors": {}, |
| 678 | "bars": false, |
| 679 | "dashLength": 10, |
| 680 | "dashes": false, |
| 681 | "datasource": "prometheus", |
| 682 | "decimals": 0, |
| 683 | "fill": 1, |
| 684 | "id": 9, |
| 685 | "legend": { |
| 686 | "avg": false, |
| 687 | "current": false, |
| 688 | "max": false, |
| 689 | "min": false, |
| 690 | "show": true, |
| 691 | "total": false, |
| 692 | "values": false |
| 693 | }, |
| 694 | "lines": true, |
| 695 | "linewidth": 1, |
| 696 | "links": [], |
| 697 | "nullPointMode": "null", |
| 698 | "percentage": false, |
| 699 | "pointradius": 5, |
| 700 | "points": false, |
| 701 | "renderer": "flot", |
| 702 | "seriesOverrides": [], |
| 703 | "spaceLength": 10, |
| 704 | "span": 12, |
| 705 | "stack": false, |
| 706 | "steppedLine": false, |
| 707 | "targets": [ |
| 708 | { |
Dmitry Kalashnik | 3fa2a11 | 2017-08-03 15:33:29 +0400 | [diff] [blame] | 709 | "expr": "irate(cassandra_metrics_Compaction_Value{host=~\"$host\",name=\"CompletedTasks\"}[1m])", |
Olivier Bourdon | 04a1a65 | 2017-07-06 16:25:10 +0200 | [diff] [blame] | 710 | "format": "time_series", |
| 711 | "intervalFactor": 2, |
| 712 | "legendFormat": "Completed {{ host }}", |
| 713 | "refId": "A", |
| 714 | "step": 2 |
| 715 | }, |
| 716 | { |
| 717 | "expr": "irate(cassandra_metrics_Compaction_Value{host=~\"$host\",name=\"PendingTasks\"}[1m])", |
| 718 | "format": "time_series", |
| 719 | "intervalFactor": 2, |
| 720 | "legendFormat": "Pending {{ host }}", |
| 721 | "refId": "B", |
| 722 | "step": 2 |
| 723 | } |
| 724 | ], |
| 725 | "thresholds": [], |
| 726 | "timeFrom": null, |
| 727 | "timeShift": null, |
| 728 | "title": "Compaction Engine Tasks", |
| 729 | "tooltip": { |
| 730 | "shared": true, |
| 731 | "sort": 0, |
| 732 | "value_type": "individual" |
| 733 | }, |
| 734 | "type": "graph", |
| 735 | "xaxis": { |
| 736 | "buckets": null, |
| 737 | "mode": "time", |
| 738 | "name": null, |
| 739 | "show": true, |
| 740 | "values": [] |
| 741 | }, |
| 742 | "yaxes": [ |
| 743 | { |
| 744 | "format": "ops", |
| 745 | "label": null, |
| 746 | "logBase": 1, |
| 747 | "max": null, |
| 748 | "min": "0", |
| 749 | "show": true |
| 750 | }, |
| 751 | { |
| 752 | "format": "short", |
| 753 | "label": null, |
| 754 | "logBase": 1, |
| 755 | "max": null, |
| 756 | "min": null, |
| 757 | "show": true |
| 758 | } |
| 759 | ] |
| 760 | } |
| 761 | ], |
| 762 | "repeat": null, |
| 763 | "repeatIteration": null, |
| 764 | "repeatRowId": null, |
| 765 | "showTitle": true, |
| 766 | "title": "Compaction Engine", |
| 767 | "titleSize": "h6" |
| 768 | }, |
| 769 | { |
| 770 | "collapse": false, |
| 771 | "height": "250px", |
| 772 | "panels": [ |
| 773 | { |
| 774 | "aliasColors": {}, |
| 775 | "bars": false, |
| 776 | "dashLength": 10, |
| 777 | "dashes": false, |
| 778 | "datasource": "prometheus", |
| 779 | "decimals": 0, |
| 780 | "fill": 1, |
| 781 | "id": 10, |
| 782 | "legend": { |
| 783 | "avg": false, |
| 784 | "current": false, |
| 785 | "max": false, |
| 786 | "min": false, |
| 787 | "show": true, |
| 788 | "total": false, |
| 789 | "values": false |
| 790 | }, |
| 791 | "lines": true, |
| 792 | "linewidth": 1, |
| 793 | "links": [], |
| 794 | "nullPointMode": "null", |
| 795 | "percentage": false, |
| 796 | "pointradius": 5, |
| 797 | "points": false, |
| 798 | "renderer": "flot", |
| 799 | "seriesOverrides": [], |
| 800 | "spaceLength": 10, |
| 801 | "span": 6, |
| 802 | "stack": false, |
| 803 | "steppedLine": false, |
| 804 | "targets": [ |
| 805 | { |
| 806 | "expr": "cassandra_db_StorageService_Load{host=~\"$host\"}", |
| 807 | "format": "time_series", |
| 808 | "intervalFactor": 2, |
| 809 | "legendFormat": "{{ host }}", |
| 810 | "refId": "A", |
| 811 | "step": 2 |
| 812 | } |
| 813 | ], |
| 814 | "thresholds": [], |
| 815 | "timeFrom": null, |
| 816 | "timeShift": null, |
| 817 | "title": "Storage Load", |
| 818 | "tooltip": { |
| 819 | "shared": true, |
| 820 | "sort": 0, |
| 821 | "value_type": "individual" |
| 822 | }, |
| 823 | "type": "graph", |
| 824 | "xaxis": { |
| 825 | "buckets": null, |
| 826 | "mode": "time", |
| 827 | "name": null, |
| 828 | "show": true, |
| 829 | "values": [] |
| 830 | }, |
| 831 | "yaxes": [ |
| 832 | { |
| 833 | "format": "short", |
| 834 | "label": null, |
| 835 | "logBase": 1, |
| 836 | "max": null, |
| 837 | "min": "0", |
| 838 | "show": true |
| 839 | }, |
| 840 | { |
| 841 | "format": "short", |
| 842 | "label": null, |
| 843 | "logBase": 1, |
| 844 | "max": null, |
| 845 | "min": null, |
| 846 | "show": true |
| 847 | } |
| 848 | ] |
| 849 | }, |
| 850 | { |
| 851 | "aliasColors": {}, |
| 852 | "bars": false, |
| 853 | "dashLength": 10, |
| 854 | "dashes": false, |
| 855 | "datasource": "prometheus", |
| 856 | "decimals": 0, |
| 857 | "fill": 1, |
| 858 | "id": 11, |
| 859 | "legend": { |
| 860 | "avg": false, |
| 861 | "current": false, |
| 862 | "max": false, |
| 863 | "min": false, |
| 864 | "show": true, |
| 865 | "total": false, |
| 866 | "values": false |
| 867 | }, |
| 868 | "lines": true, |
| 869 | "linewidth": 1, |
| 870 | "links": [], |
| 871 | "nullPointMode": "null", |
| 872 | "percentage": false, |
| 873 | "pointradius": 5, |
| 874 | "points": false, |
| 875 | "renderer": "flot", |
| 876 | "seriesOverrides": [], |
| 877 | "spaceLength": 10, |
| 878 | "span": 6, |
| 879 | "stack": false, |
| 880 | "steppedLine": false, |
| 881 | "targets": [ |
| 882 | { |
| 883 | "expr": "cassandra_db_StorageService_ExceptionCount{host=~\"$host\"}", |
| 884 | "format": "time_series", |
| 885 | "intervalFactor": 2, |
| 886 | "legendFormat": "{{ host }}", |
| 887 | "refId": "A", |
| 888 | "step": 2 |
| 889 | } |
| 890 | ], |
| 891 | "thresholds": [], |
| 892 | "timeFrom": null, |
| 893 | "timeShift": null, |
| 894 | "title": "Storage Exceptions", |
| 895 | "tooltip": { |
| 896 | "shared": true, |
| 897 | "sort": 0, |
| 898 | "value_type": "individual" |
| 899 | }, |
| 900 | "type": "graph", |
| 901 | "xaxis": { |
| 902 | "buckets": null, |
| 903 | "mode": "time", |
| 904 | "name": null, |
| 905 | "show": true, |
| 906 | "values": [] |
| 907 | }, |
| 908 | "yaxes": [ |
| 909 | { |
| 910 | "format": "short", |
| 911 | "label": null, |
| 912 | "logBase": 1, |
| 913 | "max": null, |
| 914 | "min": "0", |
| 915 | "show": true |
| 916 | }, |
| 917 | { |
| 918 | "format": "short", |
| 919 | "label": null, |
| 920 | "logBase": 1, |
| 921 | "max": null, |
| 922 | "min": null, |
| 923 | "show": true |
| 924 | } |
| 925 | ] |
| 926 | } |
| 927 | ], |
| 928 | "repeat": null, |
| 929 | "repeatIteration": null, |
| 930 | "repeatRowId": null, |
| 931 | "showTitle": true, |
| 932 | "title": "Storage", |
| 933 | "titleSize": "h6" |
| 934 | }, |
| 935 | { |
| 936 | "collapse": false, |
| 937 | "height": "250px", |
| 938 | "panels": [ |
| 939 | { |
| 940 | "aliasColors": {}, |
| 941 | "bars": false, |
| 942 | "dashLength": 10, |
| 943 | "dashes": false, |
| 944 | "datasource": "prometheus", |
| 945 | "decimals": 0, |
| 946 | "fill": 1, |
| 947 | "id": 14, |
| 948 | "legend": { |
| 949 | "avg": false, |
| 950 | "current": false, |
| 951 | "max": false, |
| 952 | "min": false, |
| 953 | "show": true, |
| 954 | "total": false, |
| 955 | "values": false |
| 956 | }, |
| 957 | "lines": true, |
| 958 | "linewidth": 1, |
| 959 | "links": [], |
| 960 | "nullPointMode": "null", |
| 961 | "percentage": false, |
| 962 | "pointradius": 5, |
| 963 | "points": false, |
| 964 | "renderer": "flot", |
| 965 | "seriesOverrides": [], |
| 966 | "spaceLength": 10, |
| 967 | "span": 6, |
| 968 | "stack": false, |
| 969 | "steppedLine": false, |
| 970 | "targets": [ |
| 971 | { |
Olivier Bourdon | a355ce6 | 2017-07-21 09:22:31 +0200 | [diff] [blame] | 972 | "expr": "cassandra_jvm_Memory_HeapMemoryUsage{host=~\"$host\", attribute=~\"$attribute\"}", |
Olivier Bourdon | 04a1a65 | 2017-07-06 16:25:10 +0200 | [diff] [blame] | 973 | "format": "time_series", |
| 974 | "intervalFactor": 2, |
Olivier Bourdon | a355ce6 | 2017-07-21 09:22:31 +0200 | [diff] [blame] | 975 | "legendFormat": "{{ attribute }} {{ host }}", |
Olivier Bourdon | 04a1a65 | 2017-07-06 16:25:10 +0200 | [diff] [blame] | 976 | "refId": "A", |
| 977 | "step": 2 |
| 978 | } |
| 979 | ], |
| 980 | "thresholds": [], |
| 981 | "timeFrom": null, |
| 982 | "timeShift": null, |
Olivier Bourdon | 7c808bc | 2017-07-20 15:32:22 +0200 | [diff] [blame] | 983 | "title": "Heap Usage", |
Olivier Bourdon | 04a1a65 | 2017-07-06 16:25:10 +0200 | [diff] [blame] | 984 | "tooltip": { |
| 985 | "shared": true, |
| 986 | "sort": 0, |
| 987 | "value_type": "individual" |
| 988 | }, |
| 989 | "type": "graph", |
| 990 | "xaxis": { |
| 991 | "buckets": null, |
| 992 | "mode": "time", |
| 993 | "name": null, |
| 994 | "show": true, |
| 995 | "values": [] |
| 996 | }, |
| 997 | "yaxes": [ |
| 998 | { |
| 999 | "format": "decbytes", |
| 1000 | "label": null, |
| 1001 | "logBase": 1, |
| 1002 | "max": null, |
| 1003 | "min": "0", |
| 1004 | "show": true |
| 1005 | }, |
| 1006 | { |
| 1007 | "format": "short", |
| 1008 | "label": null, |
| 1009 | "logBase": 1, |
| 1010 | "max": null, |
| 1011 | "min": null, |
| 1012 | "show": true |
| 1013 | } |
| 1014 | ] |
| 1015 | }, |
| 1016 | { |
| 1017 | "aliasColors": {}, |
| 1018 | "bars": false, |
| 1019 | "dashLength": 10, |
| 1020 | "dashes": false, |
| 1021 | "datasource": "prometheus", |
| 1022 | "decimals": 0, |
| 1023 | "fill": 1, |
| 1024 | "id": 15, |
| 1025 | "legend": { |
| 1026 | "avg": false, |
| 1027 | "current": false, |
| 1028 | "max": false, |
| 1029 | "min": false, |
| 1030 | "show": true, |
| 1031 | "total": false, |
| 1032 | "values": false |
| 1033 | }, |
| 1034 | "lines": true, |
| 1035 | "linewidth": 1, |
| 1036 | "links": [], |
| 1037 | "nullPointMode": "null", |
| 1038 | "percentage": false, |
| 1039 | "pointradius": 5, |
| 1040 | "points": false, |
| 1041 | "renderer": "flot", |
| 1042 | "seriesOverrides": [], |
| 1043 | "spaceLength": 10, |
| 1044 | "span": 6, |
| 1045 | "stack": false, |
| 1046 | "steppedLine": false, |
| 1047 | "targets": [ |
| 1048 | { |
Olivier Bourdon | a355ce6 | 2017-07-21 09:22:31 +0200 | [diff] [blame] | 1049 | "expr": "cassandra_jvm_MemoryPool_Usage{host=~\"$host\", name=~\"$type\", attribute=~\"$attribute\"}", |
Olivier Bourdon | 7c808bc | 2017-07-20 15:32:22 +0200 | [diff] [blame] | 1050 | "format": "time_series", |
| 1051 | "intervalFactor": 2, |
Olivier Bourdon | a355ce6 | 2017-07-21 09:22:31 +0200 | [diff] [blame] | 1052 | "legendFormat": "{{ attribute }} {{ name }} {{ host }}", |
Olivier Bourdon | 7c808bc | 2017-07-20 15:32:22 +0200 | [diff] [blame] | 1053 | "refId": "A", |
| 1054 | "step": 2 |
Olivier Bourdon | 04a1a65 | 2017-07-06 16:25:10 +0200 | [diff] [blame] | 1055 | } |
| 1056 | ], |
| 1057 | "thresholds": [], |
| 1058 | "timeFrom": null, |
| 1059 | "timeShift": null, |
| 1060 | "title": "CMS", |
| 1061 | "tooltip": { |
| 1062 | "shared": true, |
| 1063 | "sort": 0, |
| 1064 | "value_type": "individual" |
| 1065 | }, |
| 1066 | "type": "graph", |
| 1067 | "xaxis": { |
| 1068 | "buckets": null, |
| 1069 | "mode": "time", |
| 1070 | "name": null, |
| 1071 | "show": true, |
| 1072 | "values": [] |
| 1073 | }, |
| 1074 | "yaxes": [ |
| 1075 | { |
Olivier Bourdon | 7c808bc | 2017-07-20 15:32:22 +0200 | [diff] [blame] | 1076 | "format": "decbytes", |
Olivier Bourdon | 04a1a65 | 2017-07-06 16:25:10 +0200 | [diff] [blame] | 1077 | "label": null, |
| 1078 | "logBase": 1, |
| 1079 | "max": null, |
| 1080 | "min": "0", |
| 1081 | "show": true |
| 1082 | }, |
| 1083 | { |
| 1084 | "format": "short", |
| 1085 | "label": null, |
| 1086 | "logBase": 1, |
| 1087 | "max": null, |
| 1088 | "min": null, |
| 1089 | "show": true |
| 1090 | } |
| 1091 | ] |
| 1092 | } |
| 1093 | ], |
| 1094 | "repeat": null, |
| 1095 | "repeatIteration": null, |
| 1096 | "repeatRowId": null, |
| 1097 | "showTitle": true, |
| 1098 | "title": "Java", |
| 1099 | "titleSize": "h6" |
| 1100 | } |
| 1101 | ], |
| 1102 | "schemaVersion": 14, |
| 1103 | "sharedCrosshair": true, |
| 1104 | "style": "dark", |
| 1105 | "tags": [ |
| 1106 | "cassandra", |
| 1107 | "contrail" |
| 1108 | ], |
| 1109 | "templating": { |
| 1110 | "enable": true, |
| 1111 | "list": [ |
| 1112 | { |
| 1113 | "allValue": ".*", |
| 1114 | "current": {}, |
| 1115 | "datasource": "prometheus", |
| 1116 | "hide": 0, |
| 1117 | "includeAll": true, |
| 1118 | "label": null, |
| 1119 | "multi": true, |
| 1120 | "name": "host", |
| 1121 | "options": [], |
| 1122 | "query": "label_values(procstat_running{process_name=\"cassandra-server\"},host)", |
| 1123 | "refresh": 1, |
| 1124 | "refresh_on_load": true, |
| 1125 | "regex": "", |
| 1126 | "sort": 1, |
| 1127 | "tagValuesQuery": "", |
| 1128 | "tags": [], |
| 1129 | "tagsQuery": "", |
| 1130 | "type": "query", |
| 1131 | "useTags": false |
Olivier Bourdon | a355ce6 | 2017-07-21 09:22:31 +0200 | [diff] [blame] | 1132 | }, |
| 1133 | { |
| 1134 | "allValue": ".*", |
| 1135 | "current": {}, |
| 1136 | "datasource": "prometheus", |
| 1137 | "hide": 0, |
| 1138 | "includeAll": true, |
| 1139 | "label": null, |
| 1140 | "multi": true, |
| 1141 | "name": "attribute", |
| 1142 | "options": [], |
| 1143 | "query": "label_values(cassandra_jvm_Memory_HeapMemoryUsage{host=~\"$host\"},attribute)", |
| 1144 | "refresh": 1, |
| 1145 | "refresh_on_load": true, |
| 1146 | "regex": "", |
| 1147 | "sort": 1, |
| 1148 | "tagValuesQuery": "", |
| 1149 | "tags": [], |
| 1150 | "tagsQuery": "", |
| 1151 | "type": "query", |
| 1152 | "useTags": false |
| 1153 | }, |
| 1154 | { |
| 1155 | "allValue": ".*", |
| 1156 | "current": {}, |
| 1157 | "datasource": "prometheus", |
| 1158 | "hide": 0, |
| 1159 | "includeAll": true, |
| 1160 | "label": null, |
| 1161 | "multi": true, |
| 1162 | "name": "type", |
| 1163 | "options": [], |
| 1164 | "query": "label_values(cassandra_jvm_MemoryPool_Usage{host=~\"$host\"},name)", |
| 1165 | "refresh": 1, |
| 1166 | "refresh_on_load": true, |
| 1167 | "regex": "", |
| 1168 | "sort": 1, |
| 1169 | "tagValuesQuery": "", |
| 1170 | "tags": [], |
| 1171 | "tagsQuery": "", |
| 1172 | "type": "query", |
| 1173 | "useTags": false |
Olivier Bourdon | 04a1a65 | 2017-07-06 16:25:10 +0200 | [diff] [blame] | 1174 | } |
| 1175 | ] |
| 1176 | }, |
| 1177 | "time": { |
| 1178 | "from": "now-1h", |
| 1179 | "to": "now" |
| 1180 | }, |
| 1181 | "timepicker": { |
| 1182 | "refresh_intervals": [ |
| 1183 | "5s", |
| 1184 | "10s", |
| 1185 | "30s", |
| 1186 | "1m", |
| 1187 | "5m", |
| 1188 | "15m", |
| 1189 | "30m", |
| 1190 | "1h", |
| 1191 | "2h", |
| 1192 | "1d" |
| 1193 | ], |
| 1194 | "time_options": [ |
| 1195 | "5m", |
| 1196 | "15m", |
| 1197 | "1h", |
| 1198 | "6h", |
| 1199 | "12h", |
| 1200 | "24h", |
| 1201 | "2d", |
| 1202 | "7d", |
| 1203 | "30d" |
| 1204 | ] |
| 1205 | }, |
| 1206 | "timezone": "browser", |
| 1207 | "title": "Cassandra", |
Olivier Bourdon | a355ce6 | 2017-07-21 09:22:31 +0200 | [diff] [blame] | 1208 | "version": 3 |
Olivier Bourdon | 04a1a65 | 2017-07-06 16:25:10 +0200 | [diff] [blame] | 1209 | } |
| 1210 | {% endraw %} |