From fb317d7129fd62ddb05ce8fb79cda99a8c0f4e42 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Mon, 19 Oct 2026 11:14:35 +0200 Subject: [PATCH] chore: remove Sentry integration Co-Authored-By: Claude Opus 5.5 --- app/Exceptions/Handler.php | 47 -- app/Exceptions/NonReportableException.php | 2 +- app/Notifications/Channels/EmailChannel.php | 4 +- bootstrap/helpers/remoteProcess.php | 3 +- composer.json | 1 - composer.lock | 546 +++----------------- config/constants.php | 4 - config/sentry.php | 85 --- resources/views/layouts/base.blade.php | 1 - 9 files changed, 65 insertions(+), 628 deletions(-) delete mode 100644 config/sentry.php diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 1f0cf18da4..ac78a5c8de 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -2,17 +2,12 @@ namespace App\Exceptions; -use App\Models\InstanceSettings; -use App\Models\User; use App\Providers\RouteServiceProvider; use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Auth\AuthenticationException; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use Illuminate\Session\TokenMismatchException; use Psr\Log\LogLevel; -use RuntimeException; -use Sentry\Laravel\Integration; -use Sentry\State\Scope; use Throwable; class Handler extends ExceptionHandler @@ -49,8 +44,6 @@ class Handler extends ExceptionHandler 'password_confirmation', ]; - private InstanceSettings $settings; - protected function unauthenticated($request, AuthenticationException $exception) { if ($request->is('api/*') || $request->expectsJson() || $this->shouldReturnJson($request, $exception)) { @@ -108,44 +101,4 @@ class Handler extends ExceptionHandler return parent::render($request, $e); } - - /** - * Register the exception handling callbacks for the application. - */ - public function register(): void - { - $this->reportable(function (Throwable $e) { - if (isDev()) { - return; - } - if ($e instanceof RuntimeException) { - return; - } - $this->settings = instanceSettings(); - if ($this->settings->do_not_track) { - return; - } - app('sentry')->configureScope( - function (Scope $scope) { - $email = auth()?->user() ? auth()->user()->email : 'guest'; - $instanceAdmin = User::find(0)->email ?? 'admin@localhost'; - $scope->setUser( - [ - 'email' => $email, - 'instanceAdmin' => $instanceAdmin, - ] - ); - } - ); - // Check for errors that should not be reported to Sentry - if (str($e->getMessage())->contains('No space left on device')) { - // Log locally but don't send to Sentry - logger()->warning('Disk space error: '.$e->getMessage()); - - return; - } - - Integration::captureUnhandledException($e); - }); - } } diff --git a/app/Exceptions/NonReportableException.php b/app/Exceptions/NonReportableException.php index 4c4672127f..b0846b5b66 100644 --- a/app/Exceptions/NonReportableException.php +++ b/app/Exceptions/NonReportableException.php @@ -5,7 +5,7 @@ namespace App\Exceptions; use Exception; /** - * Exception that should not be reported to Sentry or other error tracking services. + * Exception that should not be reported to error tracking services. * Use this for known, expected errors that don't require external tracking. */ class NonReportableException extends Exception diff --git a/app/Notifications/Channels/EmailChannel.php b/app/Notifications/Channels/EmailChannel.php index 9a14da58a1..85a02ddbaa 100644 --- a/app/Notifications/Channels/EmailChannel.php +++ b/app/Notifications/Channels/EmailChannel.php @@ -156,7 +156,7 @@ class EmailChannel json_encode($emailSettings, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) )); - // Don't report expected errors (invalid keys, validation) to Sentry + // Don't report expected errors (invalid keys, validation) to error tracking if (in_array($statusCode, [403, 401, 400, 422], true)) { throw NonReportableException::fromException(new Exception($userMessage, $e->getCode(), $e)); } @@ -177,7 +177,7 @@ class EmailChannel } catch (\Throwable $e) { // Check if this is a Resend domain verification error on cloud instances if (isCloud() && str_contains($e->getMessage(), 'domain is not verified')) { - // Throw as NonReportableException so it won't go to Sentry + // Throw as NonReportableException so it won't go to error tracking throw NonReportableException::fromException($e); } throw $e; diff --git a/bootstrap/helpers/remoteProcess.php b/bootstrap/helpers/remoteProcess.php index d17c4188ac..aa5e92d2f1 100644 --- a/bootstrap/helpers/remoteProcess.php +++ b/bootstrap/helpers/remoteProcess.php @@ -252,8 +252,7 @@ function instant_remote_process(Collection|array $command, Server $server, bool } /** - * Throws the remote command error. Handler::register() never sends RuntimeException to Sentry, - * so SSH key, DNS, and timeout failures on user servers are not reported. + * Throws the remote command error. */ function excludeCertainErrors(string $errorOutput, ?int $exitCode = null): never { diff --git a/composer.json b/composer.json index d00dd4c476..a30c8a9708 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,6 @@ "purplepixie/phpdns": "2.3.6", "pusher/pusher-php-server": "7.3.0", "resend/resend-laravel": "1.5.0", - "sentry/sentry-laravel": "4.27.0", "socialiteproviders/authentik": "5.3.0", "socialiteproviders/clerk": "5.1.0", "socialiteproviders/discord": "4.2.0", diff --git a/composer.lock b/composer.lock index 37c9d9e856..f45ff18dde 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e67d127267c946e452e424751c69ebbd", + "content-hash": "2f4e1a1b6f34572a9673d85ac8c29017", "packages": [ { "name": "aws/aws-crt-php", @@ -1824,66 +1824,6 @@ ], "time": "2026-07-17T13:53:03+00:00" }, - { - "name": "jean85/pretty-package-versions", - "version": "2.1.1", - "source": { - "type": "git", - "url": "https://github.com/Jean85/pretty-package-versions.git", - "reference": "4d7aa5dab42e2a76d99559706022885de0e18e1a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/4d7aa5dab42e2a76d99559706022885de0e18e1a", - "reference": "4d7aa5dab42e2a76d99559706022885de0e18e1a", - "shasum": "" - }, - "require": { - "composer-runtime-api": "^2.1.0", - "php": "^7.4|^8.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.2", - "jean85/composer-provided-replaced-stub-package": "^1.0", - "phpstan/phpstan": "^2.0", - "phpunit/phpunit": "^7.5|^8.5|^9.6", - "rector/rector": "^2.0", - "vimeo/psalm": "^4.3 || ^5.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Jean85\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Alessandro Lai", - "email": "alessandro.lai85@gmail.com" - } - ], - "description": "A library to get pretty versions strings of installed dependencies", - "keywords": [ - "composer", - "package", - "release", - "versions" - ], - "support": { - "issues": "https://github.com/Jean85/pretty-package-versions/issues", - "source": "https://github.com/Jean85/pretty-package-versions/tree/2.1.1" - }, - "time": "2025-03-19T14:43:43+00:00" - }, { "name": "laravel/fortify", "version": "v1.37.3", @@ -4718,84 +4658,6 @@ ], "time": "2026-02-16T23:10:27+00:00" }, - { - "name": "nyholm/psr7", - "version": "1.8.2", - "source": { - "type": "git", - "url": "https://github.com/Nyholm/psr7.git", - "reference": "a71f2b11690f4b24d099d6b16690a90ae14fc6f3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Nyholm/psr7/zipball/a71f2b11690f4b24d099d6b16690a90ae14fc6f3", - "reference": "a71f2b11690f4b24d099d6b16690a90ae14fc6f3", - "shasum": "" - }, - "require": { - "php": ">=7.2", - "psr/http-factory": "^1.0", - "psr/http-message": "^1.1 || ^2.0" - }, - "provide": { - "php-http/message-factory-implementation": "1.0", - "psr/http-factory-implementation": "1.0", - "psr/http-message-implementation": "1.0" - }, - "require-dev": { - "http-interop/http-factory-tests": "^0.9", - "php-http/message-factory": "^1.0", - "php-http/psr7-integration-tests": "^1.0", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.4", - "symfony/error-handler": "^4.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.8-dev" - } - }, - "autoload": { - "psr-4": { - "Nyholm\\Psr7\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com" - }, - { - "name": "Martijn van der Ven", - "email": "martijn@vanderven.se" - } - ], - "description": "A fast PHP7 implementation of PSR-7", - "homepage": "https://tnyholm.se", - "keywords": [ - "psr-17", - "psr-7" - ], - "support": { - "issues": "https://github.com/Nyholm/psr7/issues", - "source": "https://github.com/Nyholm/psr7/tree/1.8.2" - }, - "funding": [ - { - "url": "https://github.com/Zegnat", - "type": "github" - }, - { - "url": "https://github.com/nyholm", - "type": "github" - } - ], - "time": "2024-09-09T07:06:30+00:00" - }, { "name": "paragonie/constant_time_encoding", "version": "v3.1.3", @@ -7054,194 +6916,6 @@ }, "time": "2026-09-25T18:18:55+00:00" }, - { - "name": "sentry/sentry", - "version": "4.30.0", - "source": { - "type": "git", - "url": "https://github.com/getsentry/sentry-php.git", - "reference": "95a26e7c946651cacd69d1ded95a8190f952a3ae" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/getsentry/sentry-php/zipball/95a26e7c946651cacd69d1ded95a8190f952a3ae", - "reference": "95a26e7c946651cacd69d1ded95a8190f952a3ae", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "ext-json": "*", - "ext-mbstring": "*", - "guzzlehttp/psr7": "^1.8.4|^2.1.1|^3.0.0", - "jean85/pretty-package-versions": "^1.5|^2.0.4", - "php": "^7.2|^8.0", - "psr/log": "^1.0|^2.0|^3.0", - "symfony/options-resolver": "^4.4.30|^5.0.11|^6.0|^7.0|^8.0" - }, - "conflict": { - "raven/raven": "*" - }, - "require-dev": { - "carthage-software/mago": "1.30.0", - "friendsofphp/php-cs-fixer": "^3.4", - "guzzlehttp/guzzle": "^7.0|^8.0", - "guzzlehttp/promises": "^2.0.3|^3.0.0", - "monolog/monolog": "^1.6|^2.0|^3.0", - "nyholm/psr7": "^1.8", - "open-telemetry/api": "^1.1", - "open-telemetry/context": "^1.1", - "open-telemetry/exporter-otlp": "^1.1", - "open-telemetry/sdk": "^1.1", - "open-telemetry/sem-conv": "^1.27", - "phpstan/phpstan": "^1.3", - "phpunit/phpunit": "^8.5.52|^9.6.34", - "spiral/roadrunner-http": "^3.6", - "spiral/roadrunner-worker": "^3.6" - }, - "suggest": { - "ext-excimer": "Enable Sentry profiling with the Excimer PHP extension.", - "monolog/monolog": "Allow sending log messages to Sentry by using the included Monolog handler." - }, - "type": "library", - "autoload": { - "files": [ - "src/functions.php" - ], - "psr-4": { - "Sentry\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Sentry", - "email": "accounts@sentry.io" - } - ], - "description": "PHP SDK for Sentry (http://sentry.io)", - "homepage": "http://sentry.io", - "keywords": [ - "crash-reporting", - "crash-reports", - "error-handler", - "error-monitoring", - "log", - "logging", - "profiling", - "sentry", - "tracing" - ], - "support": { - "issues": "https://github.com/getsentry/sentry-php/issues", - "source": "https://github.com/getsentry/sentry-php/tree/4.30.0" - }, - "funding": [ - { - "url": "https://sentry.io/", - "type": "custom" - }, - { - "url": "https://sentry.io/pricing/", - "type": "custom" - } - ], - "time": "2026-08-05T14:54:26+00:00" - }, - { - "name": "sentry/sentry-laravel", - "version": "4.27.0", - "source": { - "type": "git", - "url": "https://github.com/getsentry/sentry-laravel.git", - "reference": "caa0ff39805a2eb8c70c4535a1443d7421c5a5b8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/caa0ff39805a2eb8c70c4535a1443d7421c5a5b8", - "reference": "caa0ff39805a2eb8c70c4535a1443d7421c5a5b8", - "shasum": "" - }, - "require": { - "illuminate/support": "^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0 | ^12.0 | ^13.0", - "nyholm/psr7": "^1.0", - "php": "^7.2 | ^8.0", - "sentry/sentry": "^4.28.0", - "symfony/psr-http-message-bridge": "^1.0 | ^2.0 | ^6.0 | ^7.0 | ^8.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.11", - "guzzlehttp/guzzle": "^7.2", - "laravel/ai": "^0.1.5", - "laravel/folio": "^1.1", - "laravel/framework": "^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0 | ^12.0 | ^13.0", - "laravel/octane": "^2.15", - "laravel/pennant": "^1.0", - "livewire/livewire": "^2.0 | ^3.0 | ^4.0", - "mockery/mockery": "^1.3", - "orchestra/testbench": "^4.7 | ^5.1 | ^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^8.5 | ^9.6 | ^10.4 | ^11.5" - }, - "type": "library", - "extra": { - "laravel": { - "aliases": { - "Sentry": "Sentry\\Laravel\\Facade" - }, - "providers": [ - "Sentry\\Laravel\\ServiceProvider", - "Sentry\\Laravel\\Tracing\\ServiceProvider" - ] - } - }, - "autoload": { - "psr-0": { - "Sentry\\Laravel\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Sentry", - "email": "accounts@sentry.io" - } - ], - "description": "Laravel SDK for Sentry (https://sentry.io)", - "homepage": "https://sentry.io", - "keywords": [ - "crash-reporting", - "crash-reports", - "error-handler", - "error-monitoring", - "laravel", - "log", - "logging", - "profiling", - "sentry", - "tracing" - ], - "support": { - "issues": "https://github.com/getsentry/sentry-laravel/issues", - "source": "https://github.com/getsentry/sentry-laravel/tree/4.27.0" - }, - "funding": [ - { - "url": "https://sentry.io/", - "type": "custom" - }, - { - "url": "https://sentry.io/pricing/", - "type": "custom" - } - ], - "time": "2026-07-15T14:47:03+00:00" - }, { "name": "socialiteproviders/authentik", "version": "5.3.0", @@ -9745,77 +9419,6 @@ ], "time": "2026-09-04T10:45:44+00:00" }, - { - "name": "symfony/options-resolver", - "version": "v8.1.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/options-resolver.git", - "reference": "88f9c561f678a02d54b897014049fa839e33ff82" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/88f9c561f678a02d54b897014049fa839e33ff82", - "reference": "88f9c561f678a02d54b897014049fa839e33ff82", - "shasum": "" - }, - "require": { - "php": ">=8.4.1", - "symfony/deprecation-contracts": "^2.5|^3" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\OptionsResolver\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an improved replacement for the array_replace PHP function", - "homepage": "https://symfony.com", - "keywords": [ - "config", - "configuration", - "options" - ], - "support": { - "source": "https://github.com/symfony/options-resolver/tree/v8.1.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2026-05-29T05:06:50+00:00" - }, { "name": "symfony/polyfill-ctype", "version": "v1.37.0", @@ -10877,93 +10480,6 @@ ], "time": "2026-08-07T15:02:39+00:00" }, - { - "name": "symfony/psr-http-message-bridge", - "version": "v8.1.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/psr-http-message-bridge.git", - "reference": "67fd34de15ded1763aa1e330fe345f080a94022c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/67fd34de15ded1763aa1e330fe345f080a94022c", - "reference": "67fd34de15ded1763aa1e330fe345f080a94022c", - "shasum": "" - }, - "require": { - "php": ">=8.4.1", - "psr/http-message": "^1.0|^2.0", - "symfony/http-foundation": "^7.4|^8.0" - }, - "conflict": { - "php-http/discovery": "<1.15" - }, - "require-dev": { - "nyholm/psr7": "^1.1", - "php-http/discovery": "^1.15", - "psr/log": "^1.1.4|^2|^3", - "symfony/browser-kit": "^7.4|^8.0", - "symfony/config": "^7.4|^8.0", - "symfony/event-dispatcher": "^7.4|^8.0", - "symfony/framework-bundle": "^7.4|^8.0", - "symfony/http-kernel": "^7.4|^8.0", - "symfony/runtime": "^7.4|^8.0" - }, - "type": "symfony-bridge", - "autoload": { - "psr-4": { - "Symfony\\Bridge\\PsrHttpMessage\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "PSR HTTP message bridge", - "homepage": "https://symfony.com", - "keywords": [ - "http", - "http-message", - "psr-17", - "psr-7" - ], - "support": { - "source": "https://github.com/symfony/psr-http-message-bridge/tree/v8.1.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2026-05-29T05:06:50+00:00" - }, { "name": "symfony/routing", "version": "v7.4.15", @@ -14403,6 +13919,66 @@ }, "time": "2025-04-30T06:54:44+00:00" }, + { + "name": "jean85/pretty-package-versions", + "version": "2.1.1", + "source": { + "type": "git", + "url": "https://github.com/Jean85/pretty-package-versions.git", + "reference": "4d7aa5dab42e2a76d99559706022885de0e18e1a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/4d7aa5dab42e2a76d99559706022885de0e18e1a", + "reference": "4d7aa5dab42e2a76d99559706022885de0e18e1a", + "shasum": "" + }, + "require": { + "composer-runtime-api": "^2.1.0", + "php": "^7.4|^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.2", + "jean85/composer-provided-replaced-stub-package": "^1.0", + "phpstan/phpstan": "^2.0", + "phpunit/phpunit": "^7.5|^8.5|^9.6", + "rector/rector": "^2.0", + "vimeo/psalm": "^4.3 || ^5.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Jean85\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Alessandro Lai", + "email": "alessandro.lai85@gmail.com" + } + ], + "description": "A library to get pretty versions strings of installed dependencies", + "keywords": [ + "composer", + "package", + "release", + "versions" + ], + "support": { + "issues": "https://github.com/Jean85/pretty-package-versions/issues", + "source": "https://github.com/Jean85/pretty-package-versions/tree/2.1.1" + }, + "time": "2025-03-19T14:43:43+00:00" + }, { "name": "kelunik/certificate", "version": "v1.1.3", diff --git a/config/constants.php b/config/constants.php index 0c4d9c7834..e4ee6aedb5 100644 --- a/config/constants.php +++ b/config/constants.php @@ -98,10 +98,6 @@ return [ 'verification_code_expiry_minutes' => 10, ], - 'sentry' => [ - 'sentry_dsn' => env('SENTRY_DSN'), - ], - 'sentinel' => [ 'dev_url' => env('DEV_SENTINEL_URL'), // How often (seconds) PushServerUpdateJob is force-dispatched even when diff --git a/config/sentry.php b/config/sentry.php deleted file mode 100644 index 0efb4a0e2b..0000000000 --- a/config/sentry.php +++ /dev/null @@ -1,85 +0,0 @@ - config('constants.sentry.sentry_dsn'), - - // 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' => config('constants.coolify.version'), - - // When left empty or `null` the Laravel environment will be used - 'environment' => config('app.env'), - - 'breadcrumbs' => [ - // Capture Laravel logs in breadcrumbs - 'logs' => true, - - // Capture Laravel cache events in breadcrumbs - 'cache' => 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, - - // 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' => [ - // Trace queue jobs as their own transactions - 'queue_job_transactions' => env('SENTRY_TRACE_QUEUE_ENABLED', false), - - // Capture queue jobs as spans when executed on the sync driver - 'queue_jobs' => true, - - // Capture SQL queries as spans - 'sql_queries' => true, - - // Try to find out where the SQL query originated from and add it to the query spans - 'sql_origin' => true, - - // Capture views as spans - 'views' => 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, - ], - - // @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#send-default-pii - 'send_default_pii' => env('SENTRY_SEND_DEFAULT_PII', false), - - // @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#traces-sample-rate - 'enable_tracing' => env('SENTRY_ENABLE_TRACING', false), - 'traces_sample_rate' => 0.2, - - 'profiles_sample_rate' => env('SENTRY_PROFILES_SAMPLE_RATE') === null ? null : (float) env('SENTRY_PROFILES_SAMPLE_RATE'), - -]; diff --git a/resources/views/layouts/base.blade.php b/resources/views/layouts/base.blade.php index 27ddee9f33..f1f303ad61 100644 --- a/resources/views/layouts/base.blade.php +++ b/resources/views/layouts/base.blade.php @@ -177,7 +177,6 @@ @if (config('app.name') == 'Coolify Cloud') - @endif @auth