Skip to content

Commit

Permalink
Merge pull request #12725 from rabbitmq/mergify/bp/v4.0.x/pr-12720
Browse files Browse the repository at this point in the history
Grafana Dashboards: Fix Query Errors and Improve Instance Filtering in Erlang Distribution and BEAM Dashboards (backport #12720)
  • Loading branch information
michaelklishin authored Nov 14, 2024
2 parents b9669ca + 3c8db6f commit 2c0725f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "erlang_vm_statistics_run_queues_length",
"expr": "erlang_vm_statistics_run_queues_length{instance=\"$node\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
Expand All @@ -156,7 +156,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "erlang_vm_statistics_dirty_io_run_queue_length",
"expr": "erlang_vm_statistics_dirty_io_run_queue_length{instance=\"$node\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand All @@ -173,7 +173,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "erlang_vm_statistics_dirty_cpu_run_queue_length",
"expr": "erlang_vm_statistics_dirty_cpu_run_queue_length{instance=\"$node\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand Down Expand Up @@ -1165,6 +1165,20 @@
],
"templating": {
"list": [
{
"current": {},
"hide": 2,
"includeAll": false,
"label": "datasource",
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"current": {},
"datasource": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -542,10 +542,10 @@
"displayType": "Regular",
"displayValueWithAlias": "Never",
"editorMode": "code",
"expr": "erlang_vm_dist_node_state{peer!~\"rabbitmqcli.*\"} * on(rabbitmq_instance, job) group_left(rabbitmq_cluster) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}",
"expr": "erlang_vm_dist_node_state{peer!~\"rabbitmqcli.*\"} * on(instance, job) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{rabbitmq_instance}} -> {{ peer }}",
"legendFormat": "{{rabbitmq_node}} -> {{ peer }}",
"range": true,
"refId": "A",
"units": "none",
Expand Down Expand Up @@ -2902,7 +2902,7 @@
"showExtraInfo": false,
"showItems": false
},
"type": "flant-statusmap-panel",
"type": "status-history",
"useMax": true,
"usingPagination": false,
"xAxis": {
Expand Down

0 comments on commit 2c0725f

Please sign in to comment.