[skip ci]Fix grafana panel expr (#10211)

Signed-off-by: Weida Zhu <weida.zhu@zilliz.com>
This commit is contained in:
zwd1208 2021-10-19 20:00:35 +08:00 committed by GitHub
parent 3898765ba2
commit a58b0161f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"id": 27, "id": 27,
"iteration": 1634641352354, "iteration": 1634641352362,
"links": [], "links": [],
"panels": [ "panels": [
{ {
@ -3339,7 +3339,8 @@
"pluginVersion": "7.5.4", "pluginVersion": "7.5.4",
"targets": [ "targets": [
{ {
"expr": "sum(milvus_dataNode_watch_dm_channels_total{app_kubernetes_io_instance=~\"$instance\", app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\", type=\"total\"}) by (pod)", "exemplar": true,
"expr": "sum(milvus_dataNode_watch_dm_channels_total{app_kubernetes_io_instance=~\"$instance\", app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\", type=\"total\"})",
"instant": false, "instant": false,
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
@ -3396,7 +3397,8 @@
"pluginVersion": "7.5.4", "pluginVersion": "7.5.4",
"targets": [ "targets": [
{ {
"expr": "sum(milvus_dataNode_watch_dm_channels_total{app_kubernetes_io_instance=~\"$instance\", app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\", type=\"success\"}) by (pod)", "exemplar": true,
"expr": "sum(milvus_dataNode_watch_dm_channels_total{app_kubernetes_io_instance=~\"$instance\", app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\", type=\"success\"})",
"instant": false, "instant": false,
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
@ -5716,8 +5718,8 @@
"allValue": null, "allValue": null,
"current": { "current": {
"selected": false, "selected": false,
"text": "chaos-testing", "text": "default",
"value": "chaos-testing" "value": "default"
}, },
"datasource": "$datasource", "datasource": "$datasource",
"definition": "label_values(kube_pod_info, namespace)", "definition": "label_values(kube_pod_info, namespace)",
@ -5746,9 +5748,9 @@
{ {
"allValue": null, "allValue": null,
"current": { "current": {
"selected": true, "selected": false,
"text": "milvus-8f85", "text": "All",
"value": "milvus-8f85" "value": "$__all"
}, },
"datasource": "$datasource", "datasource": "$datasource",
"definition": "label_values(go_info{app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\"}, app_kubernetes_io_instance)", "definition": "label_values(go_info{app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\"}, app_kubernetes_io_instance)",
@ -5777,13 +5779,10 @@
{ {
"allValue": null, "allValue": null,
"current": { "current": {
"selected": true, "isNone": true,
"text": [ "selected": false,
"milvus-8f85-datacoord-d9c8dfc6d-xnmct" "text": "None",
], "value": ""
"value": [
"milvus-8f85-datacoord-d9c8dfc6d-xnmct"
]
}, },
"datasource": "$datasource", "datasource": "$datasource",
"definition": "label_values(go_info{namespace=\"$namespace\", app_kubernetes_io_instance=~\"$instance\",app_kubernetes_io_name=\"$app_name\"} , pod)", "definition": "label_values(go_info{namespace=\"$namespace\", app_kubernetes_io_instance=~\"$instance\",app_kubernetes_io_name=\"$app_name\"} , pod)",
@ -5844,7 +5843,7 @@
] ]
}, },
"time": { "time": {
"from": "now-5m", "from": "now-30m",
"to": "now" "to": "now"
}, },
"timepicker": { "timepicker": {
@ -5877,5 +5876,5 @@
"timezone": "browser", "timezone": "browser",
"title": "Milvus2.0", "title": "Milvus2.0",
"uid": "uLf5cJ3Gz", "uid": "uLf5cJ3Gz",
"version": 28 "version": 32
} }