`beforeSend` is being ignored when `disablePerformance` is `false` (default)
See original GitHub issue- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
- Provide a link to the affected event from your Sentry account
Package + Version
-
@sentry/browser
-
@sentry/ember
-
@sentry/node
-
raven-js
-
raven-node
(raven for node) - other:
Version:
6.4.0
Description
We wanted to turn on performance metrics for our project in Sentry as it looked like a pretty neat feature, but… Project is written in Ember, we’re using @sentry/ember
and up until now everything worked correctly. After turning on performance metrics (previously we were using disablePerformance: true;
option) our hooks stopped working. We’re using beforeSend
pretty extensively, like this:
InitSentryForEmber({
beforeSend(event, hint) {
...
},
});
I noticed that if performance metrics are on (or rather disablePerformance
is not set), beforeSend
hook never fires. I checked it a few times by disabling and enabling metrics, but always with the same result. Looks like enabling performance metrics somehow overrides our settings?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
using ajax beforeSend to modify data - Stack Overflow
As you can see, the setting processData should to be false. So it can be setted when you do request in $.ajax() or...
Read more >Guidelines for Performance Monitoring
When set to false NO transactions should be created for HTTP OPTIONS requests. This configuration is most valuable on backend server SDKs. If...
Read more >botocore/CHANGELOG.rst at develop - GitHub
api-change: ivschat : Adds PendingVerification error type to messaging APIs to block the resource usage for accounts identified as being fraudulent. api-change: ...
Read more >TFTactics-OverwolfInstaller.exe - Hybrid Analysis
The analysis extracted a file that was identified as malicious ... A class should either have a default constructor, one constructor with arguments...
Read more >Configuration | Sentry Documentation
ignoreErrors is a list of these messages to be filtered out before being sent to Sentry as ... true (default); false - all...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@netes FYI you may have been experiencing this issue: https://github.com/getsentry/sentry-javascript/pull/3791
Thanks! That was the problem indeed!