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

Deprecate Faraday pin in favor of configuration API #696

Merged
merged 2 commits into from
Feb 22, 2019

Conversation

delner
Copy link
Contributor

@delner delner commented Feb 22, 2019

Faraday still uses Datadog::Pin to drive configuration.

This pull requests changes the integration to use the configuration API, and deprecates the use of #datadog_pin as a means to drive configuration, and now raises warnings when it is accessed this way. Instead, when the pin is accessed and configured, it will apply the appropriate configuration via the configuration API.

Changes here should be backwards compatible; any users using old means should receive a warning to upgrade while still preserving existing functionality.

@delner delner added integrations Involves tracing integrations dev/refactor Involves refactoring existing components labels Feb 22, 2019
@delner delner added this to the 0.20.0 milestone Feb 22, 2019
@delner delner self-assigned this Feb 22, 2019
@delner delner merged commit 2315a45 into 0.20-dev Feb 22, 2019
@delner delner deleted the refactor/faraday_replace_pin_with_config branch February 22, 2019 00:15
This was referenced Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/refactor Involves refactoring existing components integrations Involves tracing integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants