-
Notifications
You must be signed in to change notification settings - Fork 420
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
chore(configs): internalize global config module and ddtrace.config's rc and http attributes [3.0] #12055
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
mabdinur
force-pushed
the
munir/deprecate-configs
branch
from
January 23, 2025 20:25
24f5c72
to
1bc3d74
Compare
mabdinur
changed the title
chore(ddtrace.config): make rc and integration configs/methods internal
chore(configs): make rc and http configs internal
Jan 23, 2025
mabdinur
force-pushed
the
munir/deprecate-configs
branch
2 times, most recently
from
January 23, 2025 21:53
37c1907
to
e8d8a7f
Compare
Datadog ReportBranch report: ✅ 0 Failed, 130 Passed, 1468 Skipped, 4m 42.63s Total duration (36m 29.15s time saved) |
mabdinur
force-pushed
the
munir/deprecate-configs
branch
from
January 23, 2025 21:56
e8d8a7f
to
cd4acb3
Compare
mabdinur
changed the title
chore(configs): make rc and http configs internal
chore(configs): make rc and http configs internal [3.0]
Jan 23, 2025
mabdinur
force-pushed
the
munir/deprecate-configs
branch
from
January 23, 2025 22:03
cd4acb3
to
19d845c
Compare
mabdinur
force-pushed
the
munir/deprecate-configs
branch
from
January 23, 2025 22:08
19d845c
to
fcc884b
Compare
mabdinur
force-pushed
the
munir/deprecate-configs
branch
from
January 23, 2025 22:12
55e0493
to
d617660
Compare
mabdinur
commented
Jan 23, 2025
releasenotes/notes/munir-deprecate-rc-http-configs-206f6c60ff383c05.yaml
Outdated
Show resolved
Hide resolved
mabdinur
force-pushed
the
munir/deprecate-configs
branch
from
January 23, 2025 23:59
b1c43f5
to
3597a14
Compare
update rn more nits
mabdinur
force-pushed
the
munir/deprecate-configs
branch
from
January 24, 2025 00:00
3597a14
to
9cb55dc
Compare
mabdinur
changed the title
chore(configs): make rc and http configs internal [3.0]
chore(configs): internalize config module and rc and http attributes [3.0]
Jan 24, 2025
mabdinur
changed the title
chore(configs): internalize config module and rc and http attributes [3.0]
chore(configs): internalize config module and ddtrace.config's rc and http attributes [3.0]
Jan 24, 2025
mabdinur
changed the title
chore(configs): internalize config module and ddtrace.config's rc and http attributes [3.0]
chore(configs): internalize global config module and ddtrace.config's rc and http attributes [3.0]
Jan 24, 2025
vitor-de-araujo
approved these changes
Jan 24, 2025
emmettbutler
approved these changes
Jan 24, 2025
releasenotes/notes/munir-deprecate-rc-http-configs-206f6c60ff383c05.yaml
Outdated
Show resolved
Hide resolved
Co-authored-by: Emmett Butler <[email protected]>
P403n1x87
approved these changes
Jan 24, 2025
ZStriker19
reviewed
Jan 24, 2025
releasenotes/notes/munir-deprecate-rc-http-configs-206f6c60ff383c05.yaml
Show resolved
Hide resolved
ZStriker19
approved these changes
Jan 24, 2025
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.20 2.20
# Navigate to the new working tree
cd .worktrees/backport-2.20
# Create a new branch
git switch --create backport-12055-to-2.20
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 48c6547b8eb0cd10be7229ca78cc52704f62e14d
# Push it to GitHub
git push --set-upstream origin backport-12055-to-2.20
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.20 Then, create a pull request where the |
mabdinur
added a commit
that referenced
this pull request
Jan 24, 2025
Prefixes the following `ddtrace.config` attributes with an `_`. These attributes are internal to the tracer and should not be referenced or modified by users: - http - http_server - trace_headers - header_is_traced - convert_rc_trace_sampling_rules - enable_remote_configuration - get_from Users should enable remote configuration and set `http` configurations via environment variables. - [ ] PR author has checked that all the criteria below are met - The PR description includes an overview of the change - The PR description articulates the motivation for the change - The change includes tests OR the PR description describes a testing strategy - The PR description notes risks associated with the change, if any - Newly-added code is easy to change - The change follows the [library release note guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html) - The change includes or references documentation updates if necessary - Backport labels are set (if [applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)) - [ ] Reviewer has checked that all the criteria below are met - Title is accurate - All changes are related to the pull request's stated goal - Avoids breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes - Testing strategy adequately addresses listed risks - Newly-added code is easy to change - Release note makes sense to a user of the library - If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment - Backport labels are set in a manner that is consistent with the [release branch maintenance policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Prefixes the following
ddtrace.config
attributes with an_
. These attributes are internal to the tracer and should not be referenced or modified by users. Users should enable remote configuration and sethttp
configurations via environment variables:Deprecates
ddtrace/settings/config.py
and moves implementation details toddtrace/settings/_config.py
. Moving forward we will avoid exposing the implementation details for setting ddtrace configurations. All (or at least most) ddtrace configurations will be migrated to envier in v3.0.Checklist
Reviewer Checklist