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

Add getter for BatchedDogStatsd::$bufferLength #151

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

cosmastech
Copy link
Contributor

In an application, before shutdown I would like to be able to push any outstanding items in the buffer. If the buffer is empty, we do not need to make an unnecessary request to DD.

@cosmastech cosmastech requested a review from a team as a code owner July 3, 2024 20:57
@cosmastech cosmastech force-pushed the check-batch-size branch 2 times, most recently from 1c2859c to 1712a58 Compare July 4, 2024 13:01
@gh123man gh123man self-requested a review July 8, 2024 13:41
tests/UnitTests/BatchedDogStatsdTest.php Outdated Show resolved Hide resolved
@cosmastech cosmastech requested a review from gh123man July 10, 2024 13:11
Copy link
Member

@gh123man gh123man left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@gh123man gh123man merged commit 1b7a44e into DataDog:master Jul 15, 2024
10 checks passed
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