Skip to content

Commit c0ad7c1

Browse files
committed
Update config fixture
1 parent 2b1cce0 commit c0ad7c1

File tree

1 file changed

+17
-8
lines changed
  • tests/DependencyInjection/Fixtures/php

1 file changed

+17
-8
lines changed

tests/DependencyInjection/Fixtures/php/full.php

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,37 @@
22

33
declare(strict_types=1);
44

5+
use Sentry\Transport\HttpTransport;
56
use Symfony\Component\DependencyInjection\ContainerBuilder;
67

78
/** @var ContainerBuilder $container */
89
$container->loadFromExtension('sentry', [
910
'dsn' => 'https://[email protected]/0',
10-
'logger' => 'app.logger',
1111
'options' => [
1212
'integrations' => ['App\\Sentry\\Integration\\FooIntegration'],
1313
'default_integrations' => false,
14-
'send_attempts' => 1,
1514
'prefixes' => ['%kernel.project_dir%'],
1615
'sample_rate' => 1,
16+
'enable_tracing' => true,
1717
'traces_sample_rate' => 1,
18-
'profiles_sample_rate' => 1,
1918
'traces_sampler' => 'App\\Sentry\\Tracing\\TracesSampler',
20-
'trace_propagation_targets' => ['website.invalid'],
19+
'profiles_sample_rate' => 1,
2120
'attach_stacktrace' => true,
21+
'attach_metric_code_locations' => true,
2222
'context_lines' => 0,
23-
'enable_compression' => true,
2423
'environment' => 'development',
2524
'logger' => 'php',
25+
'spotlight' => true,
26+
'spotlight_url' => 'http://localhost:8969',
2627
'release' => '4.0.x-dev',
2728
'server_name' => 'localhost',
29+
'ignore_exceptions' => ['Symfony\Component\HttpKernel\Exception\BadRequestHttpException'],
30+
'ignore_transactions' => ['GET tracing_ignored_transaction'],
2831
'before_send' => 'App\\Sentry\\BeforeSendCallback',
2932
'before_send_transaction' => 'App\\Sentry\\BeforeSendTransactionCallback',
33+
'before_send_check_in' => 'App\\Sentry\\BeforeSendCheckInCallback',
34+
'before_send_metrics' => 'App\\Sentry\\BeforeSendMetricsCallback',
35+
'trace_propagation_targets' => ['website.invalid'],
3036
'tags' => [
3137
'context' => 'development',
3238
],
@@ -37,14 +43,17 @@
3743
'in_app_include' => ['%kernel.project_dir%'],
3844
'send_default_pii' => true,
3945
'max_value_length' => 255,
46+
'transport' => 'App\\Sentry\\Transport',
47+
'http_client' => 'App\\Sentry\\HttpClient',
4048
'http_proxy' => 'proxy.example.com:8080',
41-
'http_timeout' => 10,
49+
'http_proxy_authentication' => 'user:password',
4250
'http_connect_timeout' => 15,
51+
'http_timeout' => 10,
52+
'http_ssl_verify_peer' => true,
53+
'http_compression' => true,
4354
'capture_silenced_errors' => true,
4455
'max_request_body_size' => 'none',
4556
'class_serializers' => ['App\\FooClass' => 'App\\Sentry\\Serializer\\FooClassSerializer'],
46-
'ignore_exceptions' => ['Symfony\Component\HttpKernel\Exception\BadRequestHttpException'],
47-
'ignore_transactions' => ['GET tracing_ignored_transaction'],
4857
],
4958
'messenger' => [
5059
'enabled' => true,

0 commit comments

Comments
 (0)