Display basic disk space monitoring information in the admin UI

Đang mở
#611 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend, observability

Hướng nghiên cứu

Start by locating how CollectOSS configures its facade and log directories, then check how the admin UI presents instance information. Explore whether the operating system can report available space for each configured directory's filesystem. Done means admins can see space information for both directories, with values reflecting whether they share a filesystem.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

We don't want to assume CollectOSS admins want full monitoring as found in the collectoss-monitoring repo.

Especially if we plan to have #528 (repo collection request system), potentially with the system itself suggesting new repos to collect on (as discussed in #309), It would be nice to have the information about how much available space there is so instance admins clicking approve for repos can make informed choices based on not only the estimated size of the repo that they are approving, but also on how much space they have remaining on the system.

I think a basic, OS-provided mechanism for estimating disk space on a per-filesystem basis would work. We could then provide it with the inputs of several key directories in CollectOSS, such as:

  • configured facade directory
  • configured log directory

That way, if each of these filesystems is on a separate disk, then the user would see different total amounts of space, but if everything is on the same disk, then all the bars would move together.

Ngôn ngữ chính
Python
Star
18
Fork
33
Merge trung bình
2 ngày 16 giờ
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của chaoss/CollectOSS

Tất cả issue của chaoss/CollectOSS

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.