You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/DependencyInjection/Configuration.php
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -42,14 +42,10 @@ public function getConfigTreeBuilder(): TreeBuilder
42
42
$rootNode
43
43
->children()
44
44
->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.')
->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()
53
49
->arrayNode('options')
54
50
->addDefaultsIfNotSet()
55
51
->fixXmlConfig('integration')
@@ -74,26 +70,28 @@ public function getConfigTreeBuilder(): TreeBuilder
74
70
->max(1.0)
75
71
->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.')
76
72
->end()
73
+
->booleanNode('enable_tracing')->end()
77
74
->floatNode('traces_sample_rate')
78
75
->min(0.0)
79
76
->max(1.0)
80
77
->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.')
81
78
->end()
79
+
->scalarNode('traces_sampler')->end()
82
80
->floatNode('profiles_sample_rate')
83
81
->min(0.0)
84
82
->max(1.0)
85
83
->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')
0 commit comments