After configuring the https.status_code in Alert Rules, it does not take effect.
Is there an existing issue for this?
- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- [X] I have reviewed the documentation https://docs.sentry.io/
- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Self-hosted/on-premise
Which SDK are you using?
@sentry/vue
SDK Version
7.106.0
Framework Version
Link to Sentry event
https://test-sentry.scxljs.cn/organizations/sentry/issues/547/?project=2&referrer=webhooks_plugin
SDK Setup
Sentry.init({
Vue,
dsn: "...dsn...",
release: process.env.VUE_APP_RELEASE, // 和 vue.config 中的保持一致
environment: process.env.VUE_APP_CURRENTENV,
})
Steps to Reproduce
The Alert Rules configured for https.status_code did not take effect, and a message was still received when the interface reported an error 400.
Expected Result
After configuring the Alert Rules for https.status_code, it should now take effect and trigger an alert when the status code is 400.
Actual Result
After configuring the Alert Rules for https.status_code to exclude error 400, Sentry is still sending me notification alerts.
Can you confirm that you are actually sending transaction events with the http.status_code tag value being 400.
The vue SDK does usually not send such events. Only the backend Node.js SDKs do so.
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀