Skip to content

After configuring the https.status_code in Alert Rules, it does not take effect. #11741

@St-coder

Description

@St-coder

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which SDK are you using?

@sentry/vue

SDK Version

7.106.0

Framework Version

vue@2.7.16

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.

image
image
image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: vueIssues related to the Sentry Vue SDKStale

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions