Skip to content

Commit

Permalink
Add instance filtering to Erlang BEAM Grafana dashboard metrics
Browse files Browse the repository at this point in the history
- Updated metric expressions to include instance filtering with {instance=\"$node\"}
  for the following metrics:
  - erlang_vm_statistics_run_queues_length
  - erlang_vm_statistics_dirty_io_run_queue_length
  - erlang_vm_statistics_dirty_cpu_run_queue_length
- Added 'DS_PROMETHEUS' as a templated data source variable
  • Loading branch information
anhanhnguyen committed Nov 13, 2024
1 parent c78bc8a commit b9dc0ea
Showing 1 changed file with 17 additions and 3 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

0 comments on commit b9dc0ea

Please sign in to comment.