DalgoT4D / dalgo-admin-old

Administrative web console for Dalgo
GNU Affero General Public License v3.0
4 stars 12 forks source link

Parse monitoring data for the infrastructure page #21

Closed fatchat closed 6 months ago

fatchat commented 7 months ago

Description

The infrastructure page currently displays hardcoded values for CPU, RAM and available disk space. The goal of this PR is to fetch live values from the existing monitoring system.

The monitoring system exposes an endpoint which the dalgo-admin server can fetch from. For this PR you must make this endpoint configurable via .env

Goals

Expected Outcome

With the correct .env settings I should be able to see live monitoring data on the infrastructure page

Acceptance Criteria

Implementation Details

In development you will not be able to fetch live data due to firewall restrictions. In order to test your PR, please mock the response by returning the contents of assets/promtail_output.txt. This should be controlled via another .env variable

Mockups / Wireframes

None

Product Name

Dalgo

Project Name

Dalgo Admin Console

Organization Name:

Project Tech4Dev

Domain

Others

Tech Skills Needed:

Python, requests

Mentor(s)

@fatchat

Complexity

Medium

Category

Feature

Sub Category

API, Backend

yaswanthsaivendra commented 7 months ago

Hey @fatchat I got this. Can I work on this feature?

fatchat commented 7 months ago

@yaswanthsaivendra sure go for it

jayesh9747 commented 7 months ago

@fatchat I want to work on this issue , can you assign me ?

senku-177 commented 7 months ago

@fatchat i would like to work on the issue

Sandeep0306 commented 7 months ago

Hi, @fatchat I would like to work on this issue. Can you assign it to me?

fatchat commented 6 months ago

@Sandeep0306 @senku-177 you are free to submit a PR, @jayesh9747 is also working on it but the first successful PR will be merged

jayesh9747 commented 6 months ago

@senku-177 @Sandeep0306 i almost complete task of pr and you help me out to review my pr ?

AnuRage-git commented 6 months ago

@fatchat Can I get the status of this issue? If it hasn't been done yet, I'd like to work on it

fatchat commented 6 months ago

@AnuRage-git there is an open PR which may close it, which I haven't gotten around to reviewing yet

AnuRage-git commented 6 months ago

I can test it on diff environments and confirm the changes made if required

AnuRage-git commented 6 months ago

I can test it on diff environments and confirm the changes made if required