Skip to content

[BUG] JVM metrics not shown in multibox grafana dashboard #538

@MFAshby

Description

@MFAshby

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'
image

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.

image

Suggested fix; omit the instance=xyz filter on jvm metrics graphs. I'm currently working around by removing those selectors manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions