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 support for DD_DOGSTATSD_URL #217

Merged
merged 3 commits into from
Mar 10, 2023
Merged

Add support for DD_DOGSTATSD_URL #217

merged 3 commits into from
Mar 10, 2023

Conversation

vickenty
Copy link
Contributor

@vickenty vickenty commented Mar 8, 2023

No description provided.

Before this patch, named pipe from the environment would be used even
if the application supplies host and port pair explicitly.

Make sure the builder uses configuration in this order:
1. explicitly supplied by the application via builder methods
2. auto-detected settings from the environment variables
3. built-in defaults
Takes precedence over other environment variables and can be used to
specify UDP, unix socket and named pipe addresses.
@vickenty vickenty marked this pull request as ready for review March 9, 2023 16:37
/**
* Return true if object is a NamedPipeSocketAddress referring to the same path.
*/
public boolean equals(Object object) {
Copy link
Member

Choose a reason for hiding this comment

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

Is this used anywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is used implicitly in tests when we assertEquals two NamedPipeSocketAddresses

@vickenty vickenty merged commit 8c40956 into master Mar 10, 2023
@vickenty vickenty deleted the vickenty/lookup branch March 10, 2023 11:08
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