Skip to content

Commit

Permalink
Modifying longhorn dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
LarryGF committed Dec 9, 2023
1 parent f790c04 commit a2ec6c5
Showing 1 changed file with 25 additions and 34 deletions.
59 changes: 25 additions & 34 deletions argocd/grafana/files/dashboards/Kubernetes/longhorn.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
{
"__inputs": [
{
"name": "datasource",
"label": "prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__inputs": [],
"__requires": [
{
"type": "grafana",
Expand Down Expand Up @@ -93,7 +84,7 @@
"type": "text"
},
{
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "The total number of volumes in the Longhorn storage system",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -147,7 +138,7 @@
"type": "stat"
},
{
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "Healthy volumes are volumes that are attaching to a node and have the number of healthy replicas equals to the expected number of replicas.",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -209,7 +200,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "Note that Longhorn volume actual size is not the size of the filesystem inside a Longhorn volume. See more at : https://longhorn.io/docs/1.0.2/volumes-and-nodes/volume-size/#volume-actual-size",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -312,7 +303,7 @@
}
},
{
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "Degraded volumes are volumes that have the number of healthy replicas smaller than the expected number of replicas. e.g. User creates a volume with 2 replicas but 1 replicas is failed.",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -370,7 +361,7 @@
"type": "stat"
},
{
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "Fault volumes are volumes that doesn't have any healthy replica.",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -428,7 +419,7 @@
"type": "stat"
},
{
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "The capacity of each Longhorn volume",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -535,7 +526,7 @@
"type": "table"
},
{
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "Attached volumes are volumes that are currently attaching to a node",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -593,7 +584,7 @@
"type": "stat"
},
{
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "Detached volumes are volumes that aren't currently attaching to a node",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -677,7 +668,7 @@
"type": "text"
},
{
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "The total number of nodes in the Longhorn storage system",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -731,7 +722,7 @@
"type": "stat"
},
{
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "Disabled nodes are nodes that are disabled by the user. When users disable a node, Longhorn will not use the node's storage for replica scheduling. Note that Longhorn can still attach a volume to disabled nodes because the actual data of the volume could be on a different node.",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -793,7 +784,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -886,7 +877,7 @@
}
},
{
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "Schedulable nodes are nodes that Longhorn can use their storage for replica scheduling.",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -944,7 +935,7 @@
"type": "stat"
},
{
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "Failed Nodes are nodes that Longhorn cannot attach volumes to and cannot schedule replicas onto. e.g: when the nodes went down.",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -1002,7 +993,7 @@
"type": "stat"
},
{
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -1090,7 +1081,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${datasource}",
"datasource": "$datasource",
"decimals": 0,
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -1212,7 +1203,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "The capacity of each Longhorn volume",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -1305,7 +1296,7 @@
}
},
{
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -1421,7 +1412,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -1528,7 +1519,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -1635,7 +1626,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${datasource}",
"datasource": "$datasource",
"decimals": 0,
"description": "Instance managers are pods that contains the engine and replica processes of Longhorn volumes. See more at https://longhorn.io/docs/1.0.2/concepts/#11-the-longhorn-manager-and-the-longhorn-engine ",
"fieldConfig": {
Expand Down Expand Up @@ -1733,7 +1724,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "Instance managers are pods that contains the engine and replica processes of Longhorn volumes. See more at https://longhorn.io/docs/1.0.2/concepts/#11-the-longhorn-manager-and-the-longhorn-engine ",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -1840,7 +1831,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${datasource}",
"datasource": "$datasource",
"description": "Instance managers are pods that contains the engine and replica processes of Longhorn volumes. See more at https://longhorn.io/docs/1.0.2/concepts/#11-the-longhorn-manager-and-the-longhorn-engine ",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -1936,7 +1927,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${datasource}",
"datasource": "$datasource",
"decimals": 0,
"description": "Longhorn manager pods manage the control plane of the Longhorn system. e.g. Volume scheduling, attaching, detaching, backup, etc,..",
"fieldConfig": {
Expand Down Expand Up @@ -2033,7 +2024,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${datasource}",
"datasource": "$datasource",
"decimals": null,
"description": "Longhorn manager pods manage the control plane of the Longhorn system. e.g. Volume scheduling, attaching, detaching, backup, etc,..",
"fieldConfig": {
Expand Down

0 comments on commit a2ec6c5

Please sign in to comment.