-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sever health / Status page #337
base: main
Are you sure you want to change the base?
Conversation
CPU: struct { | ||
Usage float64 `json:"usage"` | ||
}{ | ||
Usage: 0, // TODO: implement actual CPU usage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like CPU usage graph 😢
We can use https://github.com/shirou/gopsutil to get it super ez too
Other than that, LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a public health page? idk if that much information is needed to have on the public. Hackers can basically time the cpu usage with requests lol but thats a stretch
docker run -d \ | ||
--name $KUMA_CONTAINER \ | ||
--network=$NETWORK_NAME \ | ||
-p "3001:3001" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should change the first port to an ENV since we can have multiple apps running on the server and we can control the port via ENV
Description
Setup health check view
Linked Issues
Testing
Checklist
Before opening this PR, make sure the PR:
Additionally, make sure that: