dozzle
dozzle copied to clipboard
🙋🏼 [Feedback needed] Support logs for multiple containers in a stack
Hi folks,
A few people have asked for this, so I am adding it to the backlog as I start thinking about it. With the release of v5.7.x
, Dozzle groups containers by stack now.
A few people want to be able to also tail all containers in a stack so I think this would be a natural next step.
My current proposal is the following:
- Introduce a new button next to stack names that would tail all containers
- Instead of going to
/containers/:id
, introduce/stack/:name
which could be something like/container/foobar
wherefoobar
is the stack name - Look up all the container IDs in that stack and send to
/api/logs?id=123&id=334&...
to view all. - Update the API to support a list of containers
Couple of things that are not in scope
- It would not be possible to combine any containers in a log. It would have to be in a stack. Possibly in the future I can provide functionality for custom labels that could fix this. But the UI would be pretty complicated to support random logs being combined to one
- Sometimes logs are clustered together when they are multiline. I am not sure how this will work in this scenario as all logs might be intertwined.
Feedback welcomed!