Skip to content
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

Keep color for docker container across graphs #366

Open
kevinschweikert opened this issue Jan 3, 2025 · 2 comments
Open

Keep color for docker container across graphs #366

kevinschweikert opened this issue Jan 3, 2025 · 2 comments

Comments

@kevinschweikert
Copy link

Hi!

Love this tool! I noticed in the graphs that the colors change for the same docker container. It would be useful if they had the same color to compare them across graphs.

image
image

@henrygd
Copy link
Owner

henrygd commented Jan 5, 2025

Right now colors are calculated per graph, with hue depending on the total resource usage over the course of the entire time period.

We can change this so containers have a uniform color across graphs, but I'm not sure what the best way to calculate the color would be.

If anyone has opinions on this, please let me know. I don't mind changing this, but I'd like to get more feedback on what people prefer.

@Yeetster-cmd
Copy link

Maybe basing it off of the highest CPU Usage? I honestly just realized the colors were not random - so not the most qualified, but I believe that to be the easiest solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants