Comments (4)
Is this SDK restricted to docker only, or more general (maybe at least for OCI containers)? One killer feature would be to get the necessary info from whatever OS feature the container runtime uses (like Linux namespaces, cgroups etc, don't really know about other platforms) instead of having to rely on the command itself, but that might be a tough ask.
I'd definitely like to take this up, but I need to familiarize myself with the codebase again xD. I'm taking up some smaller issues now, will try after if no one else has volunteered by then.
from grofer.
Have you come across https://github.com/jesseduffield/lazydocker? It has a really cool intuitive UI and could give some ideas on how to implement as well (I use the git counterpart, highly recommended btw)
from grofer.
@anihm136 Yep we're looking for something similar! I recently tried the same locally by using the same docker SDK, it's essentially just one command to kill/remove containers (doc can be found here). But for some reason it kept freezing my host system. Worked like a charm on a virtual machine though.
Edit: @anihm136 if you're willing to take this up, we can assign it to you. Let us know!
from grofer.
Currently we're fully relying on the docker client SDK, so we currently manage only docker containers. But we could extend it though. We initially thought of fetching metrics straight out of /sys/fs/cgroup
(which is actually fairly straightforward), but this package made things simpler for us and hence we stuck to just docker containers for now.
Additionally, using the docker SDK ensured better compatibility, so if in the future we needed to fetch metrics on other platforms, we wouldn't have much to refactor (at least for containers :P)
from grofer.
Related Issues (20)
- [FEATURE REQ] Add keybind to navigate to child process in grofer proc HOT 3
- [FEATURE REQ] Add Dockerfile for `grofer` HOT 4
- [BUG] Incorrect timestamps
- [FEATURE REQ] Add keybindings for sorting output for `grofer proc` HOT 2
- [BUG] grofer fails in tmux HOT 4
- [FEATURE REQ] Add version number to about page HOT 31
- [BUG] Incorrect unit in `RoundValues()` HOT 2
- [BUG] Selectoed process out of bounds in `grofer proc`
- [Enhancement] Improve the way container actions are handled
- [FEATURE REQ] A screen that can track battery usage HOT 6
- [FEATURE REQ] Kubernetes Monitoring and Dashboard HOT 8
- [FEATURE REQ] Add an action table for the overall container page
- [FEATURE REQ] provide support for different signal types HOT 5
- [BUG] incorrect pid validation in `proc` command HOT 6
- [FEATURE REQ] add monitoring of system resources given docker container id
- [Enhancement] add cleaner and more efficient error handling HOT 1
- -c flag throws error HOT 3
- [FEATURE REQ] add the `s`(pause) key-binding to help menus HOT 2
- [DOC] document using `grofer export` format HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grofer.