Skip to content
This repository was archived by the owner on Aug 30, 2019. It is now read-only.

Conversation

@gbbr
Copy link
Contributor

@gbbr gbbr commented Jan 3, 2019

Adds new environment variables (correctly prefixed), marking others as deprecated:

  • DD_APM_CONNECTION_LIMIT
  • DD_APM_RECEIVER_PORT
  • DD_APM_MAX_EPS
  • DD_APM_MAX_TPS
  • DD_APM_IGNORE_RESOURCES

@gbbr gbbr added this to the 6.9.0 milestone Jan 3, 2019
@gbbr
Copy link
Contributor Author

gbbr commented Jan 3, 2019

@erichgess I've added specific tests for this and replaced the map with an ordered sequence (a slice). PTAL

Copy link

@erichgess erichgess left a comment

Choose a reason for hiding this comment

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

LGTM


func TestLoadEnv(t *testing.T) {
t.Run("overrides", func(t *testing.T) {
// tests that newer envs. override deprecated ones

Choose a reason for hiding this comment

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

👍

@gbbr gbbr merged commit 5e28e74 into master Jan 3, 2019
@gbbr gbbr deleted the gbbr/env branch January 3, 2019 17:01
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.

3 participants