-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
bryn
committed
Oct 4, 2024
1 parent
110917c
commit 562b7ac
Showing
2 changed files
with
11 additions
and
15 deletions.
There are no files selected for viewing
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
7 changes: 7 additions & 0 deletions
7
.changesets/fix_bryn_datadog_upstream_sampling_decision_propagation.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
### Datadog priority sampling resolution is lost ([PR #6017](https://github.com/apollographql/router/pull/6017)) | ||
|
||
Previously a `x-datadog-sampling-priority` of `-1` would be converted to `0` for downstream requests and `2` would be converted to `1`. | ||
This means that when propagating to downstream services a value of USER_REJECT would be transmitted as AUTO_REJECT. | ||
|
||
This PR fixes this by ensuring that the `x-datadog-sampling-priority` is transmitted as is to downstream services. | ||
|