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

Precompute base of the container nodes #1456

Merged
merged 2 commits into from
May 10, 2016
Merged

Conversation

2opremio
Copy link
Contributor

@2opremio 2opremio commented May 10, 2016

Improves #1454

The CPU consumption of the probes is now better (maybe even bearable) but not acceptable:
screen shot 2016-05-10 at 07 05 11

Profile: pprof.localhost:4041.samples.cpu.002.pb.gz
probe_cpu

We really really need #1406 to avoid surprises before releases

@2opremio 2opremio force-pushed the 1454-precompute-docker-nodes branch from c056a67 to e83f985 Compare May 10, 2016 06:25
func (c *container) getBaseNode() report.Node {
result := report.MakeNodeWith(report.MakeContainerNodeID(c.ID()), map[string]string{
ContainerID: c.ID(),
ContainerName: strings.TrimPrefix(c.container.Name, "/"),

This comment was marked as abuse.

This comment was marked as abuse.

@tomwilkie
Copy link
Contributor

1 comment, otherwise LGTM (assuming tests pass)

@2opremio 2opremio merged commit 66814f3 into master May 10, 2016
@2opremio 2opremio deleted the 1454-precompute-docker-nodes branch May 10, 2016 09:04
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