Issues - Being able to adjust specific issue sample rate for Content Security Policy errors
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 22h 21m
- Merged PRs (30d)
- 586
Description
### Problem Statement
In this case the Content Security Policy errors eat up most quota but are still important to the developers
In order to reduce the amount of traffic and save some quota I want to know if it's possible to use something similar like the [tracesSampler](https://docs.sentry.io/platforms/javascript/configuration/sampling/?original_referrer=https%3A%2F%2Fdocs.sentry.io%2Fproduct%2Faccounts%2Fquotas%2F#setting-a-sampling-function) for JS however it seems that there is no similar option for CSP (Sentry [Docs](https://docs.sentry.io/product/security-policy-reporting/)).
Also the Sentry UI doesn't give options to do like a Dynamic Sample on all CSP issues so it's either filter them out completely or don't filter and accept all.
### Solution Brainstorm
_No response_
### Product Area
Issues
┆Issue is synchronized with this [Jira Improvement](https://getsentry.atlassian.net/browse/FEEDBACK-2207) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.