Skip to content

Conversation

@TheConnMan
Copy link
Contributor

Remove the distinct metric map because the array is an every growing list, especially when the agent is monitoring volatile metrics like Docker containers which are coming and going.

This limit was put in place to protect against ever growing metrics on an element, but by restarting the agent the limit resets anyways (and this is what people have to do because of this memory leak), so the protection doesn't really protect us from much.

@coveralls
Copy link

coveralls commented Aug 2, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling f76e2ad on bugfix/remove-metric-limit into 9a2cf4d on develop.

@TheConnMan
Copy link
Contributor Author

pasted image at 2017_08_02 08_42 am

Vanilla agent on the left, agent with this change as the only addition on the right.

@TheConnMan TheConnMan merged commit 6d3322a into develop Aug 2, 2017
@TheConnMan TheConnMan deleted the bugfix/remove-metric-limit branch August 2, 2017 17:05
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.

5 participants