Additional metrics abra could provide? #443

Open
opened 2023-04-11 20:32:24 +00:00 by decentral1se · 0 comments
Owner

I've discovered a bunch more metrics that we could make use via abra:

These could be cool and simple to add! I certainly use them via the Docker CLI quite a bit and would deffo like the convenience via abra. The code to wrap them is pretty trivial, so it's mostly a bitta CLI UI/UX work and testing.

I've discovered a bunch more metrics that we could make use via `abra`: - the equivalent of `journalctl -fu docker.service` via https://pkg.go.dev/github.com/docker/docker/client#Client.Events which we could stream via `abra server logs`? This is logs of every deployed container and the daemon and containerd logs merged together. Good to poll when something is really going wrong on the server - an entire disk usage report via https://pkg.go.dev/github.com/docker/docker/client#Client.DiskUsage! there are options to specicfy, e.g. only volumes, only images, etc. this is a pretty costly operation for large deployments but could be useful. perhaps a `abra server disk`? - per-container stats via https://pkg.go.dev/github.com/docker/docker/client#Client.ContainerStats which is the equivalent of `docker stats` afaiu. that would be handy to gather resource usage on a pretty fine-grained level via `abra`. that could be uhmmm `abra app stats`? - we can also poll general docker daemon info via https://pkg.go.dev/github.com/docker/docker/client#Client.Info e.g. docker version which is `docker info` afaiu. maybe a `abra server info`? These could be cool and simple to add! I certainly use them via the Docker CLI quite a bit and would deffo like the convenience via `abra`. The code to wrap them is pretty trivial, so it's mostly a bitta CLI UI/UX work and testing.
decentral1se added the
enhancement
label 2023-04-11 20:32:24 +00:00
decentral1se changed title from Additional metrics we could add to abra to Additional metrics abra could provide? 2023-04-11 20:34:29 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#443
No description provided.