[BUG] JVM metrics not shown in multibox grafana dashboard
Opened this issue · 0 comments
Describe the bug
Severity
Steps to reproduce the behavior:
Install multibox and configure grafana integration
Create dashboard with export-dashboard RPC method, see https://docs.aidbox.app/multibox/multibox-monitoring
Expected behavior
JVM memory and JVM threads graphs should show some data.
Screenshots
JVM memory and JVM threads graphs show 'No data'
Versions:
- Aidbox image version:
:edge v:2209.1bf14e31
Additional context
The problem with the graph is that a box selector is applied to the jvm metrics like:
jvm_heap_memory{instance="sandbox"}
, but in fact those metrics have no box selector since the JVM is shared between all boxes in the same instance.
Suggested fix; omit the instance=xyz filter on jvm metrics graphs. I'm currently working around by removing those selectors manually.