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 environment variables support for Client configuration #73

Merged
merged 2 commits into from
Mar 26, 2019

Conversation

clamoriniere
Copy link
Contributor

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.

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.
@gzussa
Copy link
Contributor

gzussa commented Mar 18, 2019

@tylerbenson Would you be able to take a look at this?

@gzussa
Copy link
Contributor

gzussa commented Mar 18, 2019

@xvello Would you be able to take a quick look at this PR. It is the equivalent of DataDog/datadog-go#78

Copy link
Contributor

@gzussa gzussa left a 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!

Copy link

@tylerbenson tylerbenson left a 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.

@xvello
Copy link
Contributor

xvello commented Mar 18, 2019

@gzussa business logic and tests LGTM, except one more step of input validation

Copy link
Contributor

@xvello xvello left a comment

Choose a reason for hiding this comment

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

👍

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

Successfully merging this pull request may close these issues.

None yet

4 participants