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

Enhance the details pane #68

Merged
merged 4 commits into from
May 22, 2015
Merged

Enhance the details pane #68

merged 4 commits into from
May 22, 2015

Conversation

peterbourgon
Copy link
Contributor

This PR will enhance the details struct (and thereby the details pane) with details from the origin atom (process, IP), specifically stuff like cgroup names, Docker container info, etc.

@peterbourgon
Copy link
Contributor Author

Addresses #21

@peterbourgon peterbourgon self-assigned this May 20, 2015
@peterbourgon
Copy link
Contributor Author

screen shot 2015-05-21 at 19 03 44

@peterbourgon
Copy link
Contributor Author

Steps to get a piece of data into the detail pane:

  1. In the probe, add the data to the NodeMetadata, either directly or with a ProcessMapper. Note which topology it's being added to; probably it will be the Process (Applications) topology.
  2. In the app, map the data to a table row.

@peterbourgon
Copy link
Contributor Author

@tomwilkie ready for review, I think. This isn't a beautiful implementation but it'll do.

@peterbourgon peterbourgon changed the title Work in progress: enhanced details Enhance the details pane May 22, 2015
{Key: "PID", ValueMajor: node["pid"], ValueMinor: ""},
{Key: "Process name", ValueMajor: node["name"], ValueMinor: ""},
}
if val, ok := node["docker_id"]; ok {

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

@tomwilkie
Copy link
Contributor

Other than that one comment, LGTM. Will definitely need a rebase and squash - we don't want merge commits, gofmt fixes, circle debugging etc. I would squash into one.

peterbourgon added a commit that referenced this pull request May 22, 2015
@peterbourgon peterbourgon merged commit 65cfe63 into master May 22, 2015
@peterbourgon peterbourgon deleted the enhanced-details branch May 22, 2015 11:49
@tomwilkie
Copy link
Contributor

Problem with the table approach I suggested; ordering is not stable.

@peterbourgon
Copy link
Contributor Author

D'oh. Will fix.

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.

2 participants