Skip to content

Commit 5832c73

Browse files
committed
sampling priority cannot be tested here
1 parent ea4bf80 commit 5832c73

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

tests/ext/distributed_tracing/propagation_behavior_extract_restart.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ $dd_headers = DDTrace\generate_distributed_tracing_headers(['datadog']);
4848
$tags = $dd_headers['x-datadog-tags'] ?? '';
4949
echo "foo_in_tags: " . (str_contains($tags, '_dd.p.foo') ? "yes" : "no") . "\n";
5050

51-
// upstream sampling priority must not leak into the fresh trace
52-
echo "sampling_priority: " . ($dd_headers['x-datadog-sampling-priority'] ?? 'none') . "\n";
53-
5451
DDTrace\close_span();
5552
?>
5653
--EXPECT--
@@ -64,4 +61,3 @@ link_has_foo: yes
6461
trace_id_valid: yes
6562
baggage: user.id=123
6663
foo_in_tags: no
67-
sampling_priority: none

0 commit comments

Comments
 (0)