lablup / lablup/backend.ai

Provide aggregated `live_stats` info

Open
#6,810 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

## Summary

Provide aggregated live stats for all agents currently available in the control panel which currently assumed by client side. Consider future needs for extracting history data during development.

Implement live stat resolver. Previously retrieved from Redis stats, but now changed to retrieve via Prometheus metrics.

## Context

This feature aims to enhance the `live_stats` of agents. It is essential to keep in mind the potential need for historical data extraction.

## Acceptance criteria

- Display live stats for all agents.
- Ensure the system is designed to allow for future history extraction.

## Other information

![image-20251118-073806.png](image-20251118-073806.png){width=329 height=318}

JIRA Issue: BA-3075

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.