Skip to content

Commit 2b1cce0

Browse files
committed
Add missing options
1 parent 5245c8a commit 2b1cce0

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/DependencyInjection/Configuration.php

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,10 @@ public function getConfigTreeBuilder(): TreeBuilder
4242
$rootNode
4343
->children()
4444
->scalarNode('dsn')
45-
->info('If this value is not provided, the SDK will try to read it from the SENTRY_DSN environment variable. If that variable also does not exist, the SDK will just not send any events.')
45+
->info('If this value is not provided, the SDK will try to read it from the SENTRY_DSN environment variable. If that variable also does not exist, the SDK will not send any events.')
4646
->end()
4747
->booleanNode('register_error_listener')->defaultTrue()->end()
4848
->booleanNode('register_error_handler')->defaultTrue()->end()
49-
->scalarNode('logger')
50-
->info('The service ID of the PSR-3 logger used to log messages coming from the SDK client. Be aware that setting the same logger of the application may create a circular loop when an event fails to be sent.')
51-
->defaultNull()
52-
->end()
5349
->arrayNode('options')
5450
->addDefaultsIfNotSet()
5551
->fixXmlConfig('integration')
@@ -74,26 +70,28 @@ public function getConfigTreeBuilder(): TreeBuilder
7470
->max(1.0)
7571
->info('The sampling factor to apply to events. A value of 0 will deny sending any event, and a value of 1 will send all events.')
7672
->end()
73+
->booleanNode('enable_tracing')->end()
7774
->floatNode('traces_sample_rate')
7875
->min(0.0)
7976
->max(1.0)
8077
->info('The sampling factor to apply to transactions. A value of 0 will deny sending any transaction, and a value of 1 will send all transactions.')
8178
->end()
79+
->scalarNode('traces_sampler')->end()
8280
->floatNode('profiles_sample_rate')
8381
->min(0.0)
8482
->max(1.0)
8583
->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')
8684
->end()
87-
->scalarNode('traces_sampler')->end()
88-
->variableNode('trace_propagation_targets')->end()
8985
->booleanNode('attach_stacktrace')->end()
86+
->booleanNode('attach_metric_code_locations')->end()
9087
->integerNode('context_lines')->min(0)->end()
91-
->booleanNode('enable_compression')->end()
9288
->scalarNode('environment')
9389
->cannotBeEmpty()
9490
->defaultValue('%kernel.environment%')
9591
->end()
9692
->scalarNode('logger')->end()
93+
->booleanNode('spotlight')->end()
94+
->scalarNode('spotlight_url')->end()
9795
->scalarNode('release')
9896
->cannotBeEmpty()
9997
->defaultValue('%env(default::SENTRY_RELEASE)%')
@@ -109,6 +107,9 @@ public function getConfigTreeBuilder(): TreeBuilder
109107
->end()
110108
->scalarNode('before_send')->end()
111109
->scalarNode('before_send_transaction')->end()
110+
->scalarNode('before_send_check_in')->end()
111+
->scalarNode('before_send_metrics')->end()
112+
->variableNode('trace_propagation_targets')->end()
112113
->arrayNode('tags')
113114
->useAttributeAsKey('name')
114115
->normalizeKeys(false)

0 commit comments

Comments
 (0)