I hereby claim:
- I am stayallive on github.
- I am stayallive (https://keybase.io/stayallive) on keybase.
- I have a public key whose fingerprint is E2A8 4016 58D1 6621 2FA5 6FA9 B2E4 9FA1 09DF 99AD
To claim this, I am signing this object:
| #!/bin/bash | |
| # Make sure you are up to date | |
| yum -y update && yum -y install wget | |
| # Install EPEL repository | |
| rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
| # Get us a clean working directory | |
| mkdir /php |
| #!/bin/bash | |
| # Make sure you are up to date | |
| yum -y update && yum -y install wget | |
| # Install EPEL repository | |
| rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
| # Get us a clean working directory | |
| mkdir /php |
| #!/bin/bash | |
| # Make sure you are up to date | |
| yum -y update && yum -y install wget | |
| # Install EPEL repository | |
| rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
| # Get us a clean working directory | |
| mkdir /php |
I hereby claim:
To claim this, I am signing this object:
Using closures in Laravel config files doesn't jive with php artisan config:cache but there is an easy alternative.
Consider the following code in your config/sentry.php:
'before_send_transaction' => function (
\Sentry\Event $transaction
): ?\Sentry\Event {
$ignore = ['_debugbar', 'monitoring', 'pleaseignoreme'];
$request = $transaction->getRequest();This example shows how you can use a Cloudflare Worker to proxy events to Sentry from any SDK but most useful for the tunnel option in the JavaScript SDK.
worker.js fileSENTRY_DSN_WHITELIST and/or SENTRY_HOST_WHITELIST with all the DSN's or hosts that are allowed to be proxiedPROXY_PATHNAME with the path you want the proxy to operate on, be careful to not use "sentry" or another keyword here that might trigger an adblocker, keep it simple