Skip to content

Enhancement: Aggregate fetching of metrics #5287

@cdprete

Description

@cdprete

Hello.

As of today, when SBA shows the details of an instance, it has to do N+1 calls to the server to:

  • fetch the list of available metrics (1)
  • fetch each single metric value (N)

The improvement requested here is to aggregate all the metrics in a single DTO and publish that one instead, ideally through event subscription like it already happens with the journal, so that the UI shouldn't have to manually poll them every time.
The same can then simply be reused in the metrics view of an instance by picking only the metrics of interest (the ones selected).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions