Metric alert on event.type:default

I’m running self-hosted Sentry (20.12.1) and my Metric Alert is limited to error.type error and to transaction. What am I missing here? According to this post annoucement I should be able to create alarm on warnings also. Version 20.12.1 was released two weeks after this post…

When I try to create one through Discovery query I get this error:

An alert needs a event.type.error or event.type.transaction. Use one of these and try again.

Here are my features:

for feature in (
            "organizations:discover",
            "organizations:events",
            "organizations:discover-basic",
            "organizations:discover-query",
            "organizations:events-v2",
            "organizations:global-views",
            "organizations:incidents",
            "organizations:integrations-issue-basic",
            "organizations:integrations-issue-sync",
            "organizations:invite-members",
            "organizations:metric-alert-builder-aggregate",
            "organizations:sso-basic",
            "organizations:sso-rippling",
            "organizations:sso-saml2",
            "organizations:performance-view",
            "organizations:advanced-search",
            "organizations:custom-event-title",
            "projects:custom-inbound-filters",
            "projects:data-forwarding",
            "projects:discard-groups",
            "projects:plugins",
            "projects:rate-limits",

I think you need something like event.type:error level:warning. Log levels are not part of the event type.

I’m trying to create metric alert for event.type:default like so:
event.type:default message:"Could not write status file * Reason: Could not find a part of the path *"

My Sentry instance is not letting me do that and gives me following explanation:

An alert needs a event.type.error or event.type.transaction. Use one of these and try again.

In the announcement I linked in my first post under Workflows it says:

  • Create metric alerts on “default” events, not just errors & transactions.

Sorry for confusion with warning level: event.type:default is the event type I want to create metric alert on

It seems no one is having this problem. What am I missing here?

Maybe you can try a more recent version which may have a fix?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.