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

Show nice column labels when no children have metrics #950

Merged
merged 1 commit into from
Feb 10, 2016

Conversation

paulbellamy
Copy link
Contributor

Fixes #939

"columns":["a", "b"] becomes "columns":[{"id":"a", "label":"A"}, {"id":"b", "label":"B"}]

@paulbellamy paulbellamy force-pushed the 939-no-column-labels-when-no-metrics branch from 8e81603 to 89d7ebe Compare February 10, 2016 11:42
@foot
Copy link
Contributor

foot commented Feb 10, 2016

Code looks good! Awesome seeing that big chuck get deleted.

Tricky to repro tho, how does one get a host w/ no containers running? Won't the probe be running in a container to see that host? Or the probe is running straight on the host, and docker is also running on the host, w/ other containers stopped.

@paulbellamy
Copy link
Contributor Author

So this was showing in containers-by-image, where all containers were stopped.

@foot
Copy link
Contributor

foot commented Feb 10, 2016

Got it! Thanks!

@foot
Copy link
Contributor

foot commented Feb 10, 2016

LGTM

@foot foot assigned paulbellamy and unassigned davkal Feb 10, 2016
paulbellamy added a commit that referenced this pull request Feb 10, 2016
…metrics

Show nice column labels when no children have metrics
@paulbellamy paulbellamy merged commit 4fc8aa2 into master Feb 10, 2016
@paulbellamy paulbellamy deleted the 939-no-column-labels-when-no-metrics branch February 10, 2016 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants