Skip to content

Commit 3baacd7

Browse files
committed
Use variableNode for trace_propagation_targets
1 parent 9fa798c commit 3baacd7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/DependencyInjection/Configuration.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,7 @@ public function getConfigTreeBuilder(): TreeBuilder
9191
->info('The sampling factor to apply to profiles. A value of 0 will deny sending any profiles, and a value of 1 will send all profiles. Profiles are sampled in relation to traces_sample_rate')
9292
->end()
9393
->scalarNode('traces_sampler')->end()
94-
->arrayNode('trace_propagation_targets')
95-
->scalarPrototype()->end()
96-
->beforeNormalization()->castToArray()->end()
97-
->end()
94+
->variableNode('trace_propagation_targets')->end()
9895
->booleanNode('attach_stacktrace')->end()
9996
->integerNode('context_lines')->min(0)->end()
10097
->booleanNode('enable_compression')->end()

0 commit comments

Comments
 (0)