-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Marge develop into master #296
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
c29c279
Update sentry.php
qunabu b163a9e
Update .env.postgres.develop
qunabu 67b107d
Update .env.postgres.prod
qunabu 0bdd4c8
Update sentry.php
qunabu b6f8a0c
Update .env.postgres.develop
qunabu 82768c4
Update .env.postgres.develop
qunabu f28d5cf
Update .env.postgres.prod
qunabu 17f8a5b
Update composer.json
qunabu acf3cc6
Merge pull request #293 from EscolaLMS/qunabu-patch-1
qunabu 98d43f0
Update xxx-devilbox-default-php.ini (#295)
mako321 6c8ef49
Set memory_limit in tests
mako321 2d83244
Merge pull request #297 from EscolaLMS/feature/memory-limit
qunabu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,12 @@ | |
|
||
return [ | ||
|
||
// @see https://docs.sentry.io/product/sentry-basics/dsn-explainer/ | ||
'dsn' => env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')), | ||
|
||
// capture release as git sha | ||
// 'release' => trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')), | ||
// The release version of your application | ||
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) | ||
'release' => env('SENTRY_RELEASE'), | ||
|
||
// When left empty or `null` the Laravel environment will be used | ||
'environment' => env('SENTRY_ENVIRONMENT'), | ||
|
@@ -14,17 +16,29 @@ | |
// Capture Laravel logs in breadcrumbs | ||
'logs' => true, | ||
|
||
// Capture Laravel cache events in breadcrumbs | ||
'cache' => true, | ||
|
||
// Capture storage access as breadcrumbs | ||
'storage' => true, | ||
|
||
// Capture Livewire components in breadcrumbs | ||
'livewire' => true, | ||
|
||
// Capture SQL queries in breadcrumbs | ||
'sql_queries' => true, | ||
|
||
// Capture bindings on SQL queries logged in breadcrumbs | ||
'sql_bindings' => true, | ||
'sql_bindings' => false, | ||
|
||
// Capture queue job information in breadcrumbs | ||
'queue_info' => true, | ||
|
||
// Capture command information in breadcrumbs | ||
'command_info' => true, | ||
|
||
// Capture HTTP client requests information in breadcrumbs | ||
'http_client_requests' => true, | ||
], | ||
|
||
'tracing' => [ | ||
|
@@ -43,15 +57,38 @@ | |
// Capture views as spans | ||
'views' => true, | ||
|
||
// Capture storage access as spans | ||
'storage' => true, | ||
|
||
// Capture Livewire components as spans | ||
'livewire' => true, | ||
|
||
// Capture HTTP client requests as spans | ||
'http_client_requests' => true, | ||
|
||
// Capture Redis operations as spans (this enables Redis events in Laravel) | ||
'redis_commands' => env('SENTRY_TRACE_REDIS_COMMANDS', false), | ||
|
||
// Try to find out where the Redis command originated from and add it to the command spans | ||
'redis_origin' => true, | ||
|
||
// Indicates if the tracing integrations supplied by Sentry should be loaded | ||
'default_integrations' => true, | ||
|
||
// Indicates that requests without a matching route should be traced | ||
'missing_routes' => false, | ||
|
||
// Indicates if the performance trace should continue after the response has been sent to the user until the application terminates | ||
// This is required to capture any spans that are created after the response has been sent like queue jobs dispatched using `dispatch(...)->afterResponse()` for example | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line exceeds 120 characters; contains 176 characters |
||
'continue_after_response' => true, | ||
], | ||
|
||
// @see: https://docs.sentry.io/platforms/php/configuration/options/#send-default-pii | ||
'send_default_pii' => false, | ||
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#send-default-pii | ||
'send_default_pii' => env('SENTRY_SEND_DEFAULT_PII', false), | ||
|
||
'traces_sample_rate' => (float)(env('SENTRY_TRACES_SAMPLE_RATE', 0.0)), | ||
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#traces-sample-rate | ||
'traces_sample_rate' => env('SENTRY_TRACES_SAMPLE_RATE') === null ? null : (float)env('SENTRY_TRACES_SAMPLE_RATE'), | ||
|
||
'controllers_base_namespace' => env('SENTRY_CONTROLLERS_BASE_NAMESPACE', 'App\\Http\\Controllers'), | ||
'profiles_sample_rate' => env('SENTRY_PROFILES_SAMPLE_RATE') === null ? null : (float)env('SENTRY_PROFILES_SAMPLE_RATE'), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line exceeds 120 characters; contains 125 characters |
||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line exceeds 120 characters; contains 139 characters