lablup / lablup/backend.ai

`gather_process_measures()` not working on macOS

Open
#1,150 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
15h 13m
Merged PRs (30d)
368

Description

### What Operating System(s) are you seeing this problem on?

macOS

### Backend.AI version

23.03.dev0

### Describe the bug

Due to the limitations of current `gather_process_measures()` implementation, `gather_process_measures()` won't work on macOS. We need to decide: are we gonna expand current implementation to also add support for LinuxKit based Docker implementation, or just drop support for per-process metric on macOS?

### To Reproduce

_No response_

### Expected Behavior

_No response_

### Anything else?

_No response_

JIRA Issue: BA-216

Contributor guide

Open the contributing guide

Research direction

Start by locating the gather_process_measures() implementation and reading how it collects per-process metrics on supported platforms. Compare those assumptions with macOS and the LinuxKit-based Docker implementation described in the issue. Done means reaching and documenting a decision on whether to add macOS support or drop per-process metrics there, with the affected behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
backend, observability
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.