diff --git a/config/grafana/provisioning/dashboards/node-rewards/dashboard.json b/config/grafana/provisioning/dashboards/node-rewards/dashboard.json index 8310e19..c536525 100644 --- a/config/grafana/provisioning/dashboards/node-rewards/dashboard.json +++ b/config/grafana/provisioning/dashboards/node-rewards/dashboard.json @@ -1530,7 +1530,7 @@ "tooltip": { "hideZeros": false, "mode": "multi", - "sort": "asc" + "sort": "desc" } }, "pluginVersion": "12.2.1", @@ -1631,9 +1631,9 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "label_replace(original_failure_rate{provider_id=~\"$provider\", node_id=~\"$node\", subnet_id=~\"$subnet\"}, \"node_short\", \"$1\", \"node_id\", \"([^-]+)-([^-]+)-([^-]+).*\")", + "expr": "label_replace(label_replace(original_failure_rate{provider_id=~\"$provider\", node_id=~\"$node\", subnet_id=~\"$subnet\"}, \"node_short\", \"$1\", \"node_id\", \"([^-]+)-([^-]+)-([^-]+).*\"), \"subnet_short\", \"$1\", \"subnet_id\", \"([^-]+).*\")\n", "format": "time_series", - "legendFormat": "{{node_short}}", + "legendFormat": "{{node_short}} -> {{subnet_short}}", "range": true, "refId": "A" } @@ -1722,9 +1722,9 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "label_replace(relative_failure_rate{provider_id=~\"$provider\", node_id=~\"$node\", subnet_id=~\"$subnet\"}, \"node_short\", \"$1\", \"node_id\", \"([^-]+)-([^-]+)-([^-]+).*\")", + "expr": "label_replace(label_replace(relative_failure_rate{provider_id=~\"$provider\", node_id=~\"$node\", subnet_id=~\"$subnet\"}, \"node_short\", \"$1\", \"node_id\", \"([^-]+)-([^-]+)-([^-]+).*\"), \"subnet_short\", \"$1\", \"subnet_id\", \"([^-]+).*\")", "format": "time_series", - "legendFormat": "{{node_short}}", + "legendFormat": "{{node_short}} -> {{subnet_short}}", "range": true, "refId": "A" } @@ -1879,7 +1879,9 @@ { "allValue": ".*", "current": { - "text": "All", + "text": [ + "All" + ], "value": [ "$__all" ]