getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
38.53k stars 4.12k forks source link

Filter alerts by dynamic tag value #71239

Open OmerCohenAviv opened 3 months ago

OmerCohenAviv commented 3 months ago

Problem Statement

Problem: Need to be able to create an alert that will be triggered by a tag value that is dynamic.

Why? Our company is b2c and every client has his configurations etc to the application... We need to be able to react to any errors / slowness per client. The company has a large list of clients and is expanding fast.

P.S - we need to duplicate those alerts across teams as we use micro-frontends, if you know about any solution for it

Solution Brainstorm

Add the option to add a dynamic value to filters

Product Area

Alerts

getsantry[bot] commented 3 months ago

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] commented 3 months ago

Routing to @getsentry/product-owners-alerts for triage ⏲️

rachrwang commented 3 months ago

@OmerCohenAviv - thanks for sharing this feature idea.

I wanted to clarify the example you provided above:

OmerCohenAviv commented 3 months ago

Hi @rachrwang thanks for replying on this,

  1. Yes exactly, Dynamic tag value refers to the client client identifier,
  2. This is a good point, as each client is on different scale, it make sense to have different thresholds, but as first step it's not a requirement.
  3. We are using module-federation to render pages that belong to teams, each team can own serval pages. on our frontend we send errors and transactions to relevant projects.

Thanks again :)

rachrwang commented 3 months ago

That's super helpful context, thank you @OmerCohenAviv! This is an area that we're discussing expanding alerts on, though we aren't actively building this right now. I've logged your feature request and will let you know when we have any updates.