Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 32 additions & 35 deletions monitoring/grafana-dashboards/main/propagated-vm.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "avg by (name) (\n sum by (name,pod) (\n (d8_virtualization_virtualmachine_status_phase{namespace=\"$namespace\", name=\"$name\"} == 1) * on(phase) group_left()\n (\n label_replace(vector(1), \"phase\", \"Degraded\", \"\", \"\") or\n label_replace(vector(2), \"phase\", \"Migrating\", \"\", \"\") or\n label_replace(vector(3), \"phase\", \"Pause\", \"\", \"\") or\n label_replace(vector(4), \"phase\", \"Pending\", \"\", \"\") or\n label_replace(vector(5), \"phase\", \"Running\", \"\", \"\") or\n label_replace(vector(6), \"phase\", \"Starting\", \"\", \"\") or\n label_replace(vector(7), \"phase\", \"Stopped\", \"\", \"\") or\n label_replace(vector(8), \"phase\", \"Stopping\", \"\", \"\") or\n label_replace(vector(9), \"phase\", \"Terminating\", \"\", \"\")\n ))\n)",
"expr": "max by (name) (\n sum by (name,pod) (\n (d8_virtualization_virtualmachine_status_phase{namespace=\"$namespace\", name=\"$name\"} == 1) * on(phase) group_left()\n (\n label_replace(vector(1), \"phase\", \"Degraded\", \"\", \"\") or\n label_replace(vector(2), \"phase\", \"Migrating\", \"\", \"\") or\n label_replace(vector(3), \"phase\", \"Pause\", \"\", \"\") or\n label_replace(vector(4), \"phase\", \"Pending\", \"\", \"\") or\n label_replace(vector(5), \"phase\", \"Running\", \"\", \"\") or\n label_replace(vector(6), \"phase\", \"Starting\", \"\", \"\") or\n label_replace(vector(7), \"phase\", \"Stopped\", \"\", \"\") or\n label_replace(vector(8), \"phase\", \"Stopping\", \"\", \"\") or\n label_replace(vector(9), \"phase\", \"Terminating\", \"\", \"\")\n ))\n)",
"instant": true,
"legendFormat": "{{name}}",
"range": false,
Expand Down Expand Up @@ -734,7 +734,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "avg by (name) (\n count by (name,pod) (\n d8_virtualization_virtualmachine_agent_ready{namespace=\"$namespace\", name=\"$name\"}\n )\n)\n",
"expr": "max by (name) (\n count by (name,pod) (\n d8_virtualization_virtualmachine_agent_ready{namespace=\"$namespace\", name=\"$name\"}\n )\n)\n",
"instant": true,
"legendFormat": "__auto",
"range": false,
Expand Down Expand Up @@ -817,7 +817,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "avg by (name) (\n count by (name,pod) (\n d8_virtualization_virtualmachine_configuration_applied{namespace=\"$namespace\", name=\"$name\"}\n )\n)\n",
"expr": "max by (name) (\n count by (name,pod) (\n d8_virtualization_virtualmachine_configuration_applied{namespace=\"$namespace\", name=\"$name\"}\n )\n)\n",
"instant": true,
"legendFormat": "__auto",
"range": false,
Expand Down Expand Up @@ -952,7 +952,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "sum (\nd8_virtualization_virtualmachinesnapshot_info{namespace=~\"$namespace\",virtualmachine=~\"$name\"}\n) or vector(0)\n",
"expr": "max by (namespace) (\n count by (namespace,pod) (\n d8_virtualization_virtualmachinesnapshot_info{namespace=~\"$namespace\", virtualmachine=\"$name\"}==1\n )\n) or absent(d8_virtualization_virtualmachinesnapshot_info{namespace=~\"$namespace\", virtualmachine=\"$name\"}==1) * vector(0)",
"hide": false,
"instant": true,
"legendFormat": "VM snapshots",
Expand Down Expand Up @@ -1657,7 +1657,7 @@
"uid": "${ds_prometheus}"
},
"editorMode": "code",
"expr": "avg by (name) (\n count by (name,pod) (\n d8_virtualization_virtualmachine_configuration_applied{namespace=\"$namespace\", name=\"$name\"}\n )\n)\n",
"expr": "max by (name) (\n count by (name,pod) (\n d8_virtualization_virtualmachine_configuration_applied{namespace=\"$namespace\", name=\"$name\"}\n )\n)\n",
"instant": false,
"legendFormat": "__auto",
"range": true,
Expand Down Expand Up @@ -1794,7 +1794,7 @@
"uid": "${ds_prometheus}"
},
"editorMode": "code",
"expr": "avg by (name) (\n sum by (name,pod) (\n (d8_virtualization_virtualmachine_status_phase{namespace=\"$namespace\", name=\"$name\"} == 1) * on(phase) group_left()\n (\n label_replace(vector(1), \"phase\", \"Degraded\", \"\", \"\") or\n label_replace(vector(2), \"phase\", \"Migrating\", \"\", \"\") or\n label_replace(vector(3), \"phase\", \"Pause\", \"\", \"\") or\n label_replace(vector(4), \"phase\", \"Pending\", \"\", \"\") or\n label_replace(vector(5), \"phase\", \"Running\", \"\", \"\") or\n label_replace(vector(6), \"phase\", \"Starting\", \"\", \"\") or\n label_replace(vector(7), \"phase\", \"Stopped\", \"\", \"\") or\n label_replace(vector(8), \"phase\", \"Stopping\", \"\", \"\") or\n label_replace(vector(9), \"phase\", \"Terminating\", \"\", \"\")\n ))\n)",
"expr": "max by (name) (\n sum by (name,pod) (\n (d8_virtualization_virtualmachine_status_phase{namespace=\"$namespace\", name=\"$name\"} == 1) * on(phase) group_left()\n (\n label_replace(vector(1), \"phase\", \"Degraded\", \"\", \"\") or\n label_replace(vector(2), \"phase\", \"Migrating\", \"\", \"\") or\n label_replace(vector(3), \"phase\", \"Pause\", \"\", \"\") or\n label_replace(vector(4), \"phase\", \"Pending\", \"\", \"\") or\n label_replace(vector(5), \"phase\", \"Running\", \"\", \"\") or\n label_replace(vector(6), \"phase\", \"Starting\", \"\", \"\") or\n label_replace(vector(7), \"phase\", \"Stopped\", \"\", \"\") or\n label_replace(vector(8), \"phase\", \"Stopping\", \"\", \"\") or\n label_replace(vector(9), \"phase\", \"Terminating\", \"\", \"\")\n ))\n)",
"instant": false,
"legendFormat": "{{name}}",
"range": true,
Expand Down Expand Up @@ -1863,7 +1863,7 @@
}
]
},
"unit": "Bps"
"unit": "binbps"
},
"overrides": []
},
Expand Down Expand Up @@ -1893,7 +1893,7 @@
"uid": "${ds_prometheus}"
},
"editorMode": "code",
"expr": "sum(rate(d8_virtualization_virtualmachine_migration_data_processed_bytes{namespace=\"$namespace\", name=\"$name\"}[$__rate_interval])) without (instance,job,node)",
"expr": "sum(rate(d8_virtualization_virtualmachine_migration_data_processed_bytes{namespace=\"$namespace\", name=\"$name\"}[$__rate_interval])) without (instance,job,node) * 8",
"instant": false,
"legendFormat": "Processed memory rate",
"range": true,
Expand All @@ -1905,7 +1905,7 @@
"uid": "${ds_prometheus}"
},
"editorMode": "code",
"expr": "sum(rate(d8_virtualization_virtualmachine_migration_data_remaining_bytes{namespace=\"$namespace\", name=\"$name\"}[$__rate_interval])) without (instance,job,node)",
"expr": "sum(rate(d8_virtualization_virtualmachine_migration_data_remaining_bytes{namespace=\"$namespace\", name=\"$name\"}[$__rate_interval])) without (instance,job,node) * 8",
"hide": false,
"instant": false,
"legendFormat": "Remaining memory rate",
Expand All @@ -1918,7 +1918,7 @@
"uid": "${ds_prometheus}"
},
"editorMode": "code",
"expr": "sum(d8_virtualization_virtualmachine_migration_dirty_memory_rate_bytes{namespace=\"$namespace\", name=\"$name\"}) without (instance,job,node)",
"expr": "sum(d8_virtualization_virtualmachine_migration_dirty_memory_rate_bytes{namespace=\"$namespace\", name=\"$name\"}) without (instance,job,node) * 8",
"hide": false,
"instant": false,
"legendFormat": "Dirty memory rate",
Expand Down Expand Up @@ -1997,8 +1997,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
},
Expand Down Expand Up @@ -2201,8 +2200,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
},
Expand Down Expand Up @@ -2379,8 +2377,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
},
Expand Down Expand Up @@ -2665,7 +2662,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 38
"y": 24
},
"id": 75,
"options": {
Expand Down Expand Up @@ -2843,7 +2840,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 38
"y": 24
},
"id": 42,
"options": {
Expand Down Expand Up @@ -2956,7 +2953,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 46
"y": 32
},
"id": 31,
"options": {
Expand Down Expand Up @@ -3072,7 +3069,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 46
"y": 32
},
"id": 32,
"options": {
Expand Down Expand Up @@ -3232,7 +3229,7 @@
"h": 12,
"w": 24,
"x": 0,
"y": 55
"y": 25
},
"id": 83,
"options": {
Expand Down Expand Up @@ -3373,7 +3370,7 @@
"h": 14,
"w": 12,
"x": 0,
"y": 67
"y": 37
},
"id": 44,
"maxPerRow": 2,
Expand Down Expand Up @@ -3511,7 +3508,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 82
"y": 26
},
"id": 7,
"options": {
Expand Down Expand Up @@ -3613,7 +3610,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 82
"y": 26
},
"id": 8,
"options": {
Expand Down Expand Up @@ -3715,7 +3712,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 90
"y": 34
},
"id": 12,
"options": {
Expand Down Expand Up @@ -3817,7 +3814,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 90
"y": 34
},
"id": 11,
"options": {
Expand Down Expand Up @@ -3919,7 +3916,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 98
"y": 42
},
"id": 10,
"options": {
Expand Down Expand Up @@ -4021,7 +4018,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 98
"y": 42
},
"id": 9,
"options": {
Expand Down Expand Up @@ -4169,7 +4166,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 51
"y": 27
},
"id": 13,
"options": {
Expand Down Expand Up @@ -4316,7 +4313,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 51
"y": 27
},
"id": 14,
"options": {
Expand Down Expand Up @@ -4463,7 +4460,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 59
"y": 35
},
"id": 18,
"options": {
Expand Down Expand Up @@ -4610,7 +4607,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 59
"y": 35
},
"id": 17,
"options": {
Expand Down Expand Up @@ -4725,8 +4722,8 @@
{
"current": {
"selected": false,
"text": "node",
"value": "node"
"text": "vm",
"value": "vm"
},
"datasource": {
"type": "prometheus",
Expand Down Expand Up @@ -4815,6 +4812,6 @@
"timezone": "browser",
"title": "Namespace / Virtual Machine",
"uid": "bdw6dw2izvpxcb",
"version": 2,
"version": 1,
"weekStart": ""
}
Loading
Loading