lablup / lablup/backend.ai

Remove direct kernel metric removal patterns

Open
#7,538 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

## Goal

Replace all direct kernel metric removal with sliding window observer.

## Tasks

1. Remove direct removal in `collect_container_stat()` (stats.py:658-661)
1. Remove or refactor `remove_kernel_metric()` calls from agent.py:
- Line 1505 in `_handle_clean_event()`
- Line 1641 in `purge_kernel()`
1. Ensure sliding window observer handles all cleanup cases

## Dependencies

Requires sliding window observer implementation (BA-3521 subtask 2).

JIRA Issue: BA-3524

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.