Skip to content
This repository has been archived by the owner on Jan 23, 2020. It is now read-only.

Fix to StatsDClient reporting, logging #76

Merged
merged 4 commits into from
Jan 29, 2017
Merged

Fix to StatsDClient reporting, logging #76

merged 4 commits into from
Jan 29, 2017

Conversation

JohnLZeller
Copy link
Contributor

Changes made to properly stop the StatsDClient after usage, in #73, appears to close the StatsDClient before it has a chance to actually report. I would have thought that it would report before closing, but it doesn't appear to do any sort of blocking on this at all, which also makes sense. Hence, I've added a short 100ms sleep, which again allows this metric to be reported.

I retested this confirming that the UDP sockets are released, and the metric is properly reported.

This also adds the result tag to the jenkins.job.completed metric.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant