Per title, I'm looking for a way to specify in code what that the "Response Time Threshold" setting should be for a particular endpoint/transaction.
I know this is possible to configure a) globally, and b) per-endpoint via Web UI, but this isn't sufficient for our use-case:
- We're deploying our app to several standalone envs, using separate Sentry projects.
- We have a good number of "background jobs" that have no end-user involvement, and we want to those to have more relaxed thresholds as to not mess up apex metrics.
- It's important that we have an apples-to-apples comparison across envs in Sentry.
- Manual configuration of each endpoint's threshold is practically guaranteed to get out of sync across envs/Sentry projects.
Is this possible and/or a feature request I can upvote?
(Edit: NextJS 14.x, pages router, Sentry 7.x)