-
Notifications
You must be signed in to change notification settings - Fork 101
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 environment variables support for Client configuration #73
Add environment variables support for Client configuration #73
Conversation
Support of 3 environment variables for Client configuration: - "DD_AGENT_HOST" used to provide the Agent hostname. - "DD_DOGSTATSD_PORT" used to provide the DogStatsD port. - "DD_ENTITY_ID" used to provide an identifier to the Client.
@tylerbenson Would you be able to take a look at this? |
@xvello Would you be able to take a quick look at this PR. It is the equivalent of DataDog/datadog-go#78 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From a implementation point of view this is legit and well tested. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not familiar with this codebase, but the changes here look well implemented. Nice work.
@gzussa business logic and tests LGTM, except one more step of input validation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Support of 3 environment variables for Client configuration: