|
343 | 343 | "span": 2,
|
344 | 344 | "targets": [
|
345 | 345 | {
|
| 346 | + "dashversion": "<2.4", |
346 | 347 | "expr": "sum(avg(scylla_manager_repair_progress{cluster=~\"[[cluster]]\", instance=\"\", keyspace=\"\"}) by (task) * sum(scylla_manager_task_active_count{cluster=~\"[[cluster]]\", type=\"repair\"}) by (task)) or vector(0)",
|
347 | 348 | "format": "time_series",
|
348 | 349 | "intervalFactor": 2,
|
|
512 | 513 | "span": 2,
|
513 | 514 | "targets": [
|
514 | 515 | {
|
| 516 | + "dashversion": "<2.4", |
515 | 517 | "expr": "sum(avg(scylla_manager_backup_percent_progress{cluster=~\"[[cluster]]\", instance=\"\", keyspace=\"\"}) by (task) * sum(scylla_manager_task_active_count{cluster=~\"[[cluster]]\", type=\"backup\"}) by (task)) or vector(0)",
|
516 | 518 | "format": "time_series",
|
517 | 519 | "intervalFactor": 2,
|
|
643 | 645 | "class": "ops_panel",
|
644 | 646 | "dashLength": 10,
|
645 | 647 | "dashes": false,
|
| 648 | + "dashversion": "<2.4", |
646 | 649 | "datasource": "prometheus",
|
647 | 650 | "editable": true,
|
648 | 651 | "error": false,
|
|
746 | 749 | "class": "ops_panel",
|
747 | 750 | "dashLength": 10,
|
748 | 751 | "dashes": false,
|
| 752 | + "dashversion": "<2.4", |
749 | 753 | "datasource": "prometheus",
|
750 | 754 | "editable": true,
|
751 | 755 | "error": false,
|
|
849 | 853 | "class": "graph_panel",
|
850 | 854 | "dashLength": 10,
|
851 | 855 | "dashes": false,
|
| 856 | + "dashversion": "<2.4", |
852 | 857 | "datasource": "prometheus",
|
853 | 858 | "description": "The number of SSH connection used by the manager",
|
854 | 859 | "editable": true,
|
|
1302 | 1307 | "links": [],
|
1303 | 1308 | "mode": "html",
|
1304 | 1309 | "options": {
|
1305 |
| - "content": "<div style=\"color:#5881c2; border-bottom: 0px solid #5881c2;\">Scylla Monitoring version - master</div> <div style=\"\"><a href=\"https://github.com/scylladb/scylla-monitoring/issues/new?body=scylla-version%3D[[scylla_dash_version]]%0Amonitoring-version%3D[[monitoring_version]]%0Adashboard%3D${__dashboard.uid}\" target=\"_blank\">\n<input title=\"Report an issue with Scylla Monitoring\" type=\"button\" style=\"background-color:#306EE6;color:white;border-radius: 15px;font-size:14px;line-height:22px;padding:2px\" value=\" Report an issue on this page \"></a> <a href=\"/render/d/${__dashboard.uid}?orgId=1&from=${__from}&to=${__to}&width=1000&height=2500\" target=\"_blank\" download=\"dashboard_${__dashboard.uid}-${__from:date:iso}.png\"><input title=\"Make a Screenshot\" type=\"button\" style=\"background-color:#306EE6;color:white;border-radius: 15px;font-size:14px;line-height:22px;padding:2px\" value=\" Screenshot \"></input></a></span></div>", |
| 1310 | + "content": "<div style=\"color:#5881c2; border-bottom: 0px solid #5881c2;\">Scylla Monitoring version - 3.8.0</div> <div style=\"\"><a href=\"https://github.com/scylladb/scylla-monitoring/issues/new?body=scylla-version%3D[[scylla_version]]%0Amonitoring-version%3D[[monitoring_version]]%0Adashboard%3D${__dashboard.uid}\" target=\"_blank\">\n<input title=\"Report an issue with Scylla Monitoring\" type=\"button\" style=\"background-color:#306EE6;color:white;border-radius: 15px;font-size:14px;line-height:22px;padding:2px\" value=\" Report an issue on this page \"></a> <a href=\"/render/d/${__dashboard.uid}?orgId=1&from=${__from}&to=${__to}&width=1000&height=2500\" target=\"_blank\" download=\"dashboard_${__dashboard.uid}-${__from:date:iso}.png\"><input title=\"Make a Screenshot\" type=\"button\" style=\"background-color:#306EE6;color:white;border-radius: 15px;font-size:14px;line-height:22px;padding:2px\" value=\" Screenshot \"></input></a></span></div>", |
1306 | 1311 | "mode": "html"
|
1307 | 1312 | },
|
1308 | 1313 | "span": 12,
|
|
1373 | 1378 | "includeAll": false,
|
1374 | 1379 | "label": "cluster",
|
1375 | 1380 | "multi": false,
|
| 1381 | + "name": "cluster_name", |
| 1382 | + "options": [], |
| 1383 | + "query": "label_values(scylla_manager_cluster_name,name)", |
| 1384 | + "refresh": 2, |
| 1385 | + "regex": "", |
| 1386 | + "skipUrlSync": false, |
| 1387 | + "sort": 1, |
| 1388 | + "tagValuesQuery": "", |
| 1389 | + "tags": [], |
| 1390 | + "tagsQuery": "", |
| 1391 | + "type": "query", |
| 1392 | + "useTags": false |
| 1393 | + }, |
| 1394 | + { |
| 1395 | + "allValue": null, |
| 1396 | + "class": "template_variable_single", |
| 1397 | + "current": { |
| 1398 | + "isNone": true, |
| 1399 | + "selected": false, |
| 1400 | + "text": "None", |
| 1401 | + "value": "" |
| 1402 | + }, |
| 1403 | + "datasource": "prometheus", |
| 1404 | + "definition": "", |
| 1405 | + "error": null, |
| 1406 | + "hide": 2, |
| 1407 | + "includeAll": false, |
| 1408 | + "label": "cluster_id", |
| 1409 | + "multi": false, |
1376 | 1410 | "name": "cluster",
|
1377 | 1411 | "options": [],
|
1378 |
| - "query": "label_values(scylla_manager_healthcheck_cql_rtt_ms, cluster)", |
| 1412 | + "query": "label_values(scylla_manager_cluster_name{name=\"$cluster_name\"}, cluster)", |
1379 | 1413 | "refresh": 2,
|
1380 | 1414 | "regex": "",
|
1381 | 1415 | "skipUrlSync": false,
|
|
1462 | 1496 | "includeAll": false,
|
1463 | 1497 | "label": null,
|
1464 | 1498 | "multi": false,
|
1465 |
| - "name": "scylla_dash_version", |
| 1499 | + "name": "scylla_version", |
1466 | 1500 | "options": [
|
1467 | 1501 | {
|
1468 | 1502 | "selected": true,
|
|
1478 | 1512 | "allValue": null,
|
1479 | 1513 | "class": "monitor_version_var",
|
1480 | 1514 | "current": {
|
1481 |
| - "text": "master", |
1482 |
| - "value": "master" |
| 1515 | + "text": "3.8.0", |
| 1516 | + "value": "3.8.0" |
1483 | 1517 | },
|
1484 | 1518 | "error": null,
|
1485 | 1519 | "hide": 2,
|
|
1490 | 1524 | "options": [
|
1491 | 1525 | {
|
1492 | 1526 | "selected": true,
|
1493 |
| - "text": "master", |
1494 |
| - "value": "master" |
| 1527 | + "text": "3.8.0", |
| 1528 | + "value": "3.8.0" |
1495 | 1529 | }
|
1496 | 1530 | ],
|
1497 |
| - "query": "master", |
| 1531 | + "query": "3.8.0", |
1498 | 1532 | "skipUrlSync": false,
|
1499 | 1533 | "type": "custom"
|
1500 | 1534 | }
|
|
0 commit comments