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

refactor: make PropagateSingleMetrics a renderer #3008

Merged
merged 2 commits into from
Dec 29, 2017

Conversation

rade
Copy link
Member

@rade rade commented Dec 28, 2017

instead of a Map, since it's not really a map as it just updates the given node.

This is more efficient and also matches what we do in similar situations elsewhere, e.g. in ContainerWithImageNameRenderer and ProcessWithContainerNameRenderer.

rade added 2 commits December 28, 2017 20:04
instead of a Map, since it's not really a map as it just updates the
given node.

This is more efficient and also matches what we do in similar
situations elsewhere, e.g. in ContainerWithImageNameRenderer and
ProcessWithContainerNameRenderer.
save a few allocations
@rade rade force-pushed the propagate-single-metrics-renderer branch from 605383b to 4984da6 Compare December 28, 2017 20:04
@rade rade merged commit ff03d7d into master Dec 29, 2017
@rade rade deleted the propagate-single-metrics-renderer branch February 13, 2018 18:00
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