getsentry / sentry

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

Allow customizing health check patterns #65016

Open amitnavindgi opened 7 months ago

amitnavindgi commented 7 months ago

Problem Statement

It looks like the current set of glob patterns for a transaction to be considered a health check may not be comprehensive. Most that I know have the pattern */health* - for example, /health/status.

I understand that having custom ones for every Sentry customer may not be ideal. Especially for Sentry's customers in health care (irony?).

I'd love to see a feature that allows us to configure that list of patterns at an organization level.

Solution Brainstorm

The list is probably hard-coded somewhere. Make it configurable for each organization and front load it when accepting transactions from projects in that org.

Product Area

Settings - General

┆Issue is synchronized with this Jira Improvement by Unito

getsantry[bot] commented 7 months ago

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] commented 7 months ago

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

k-fish commented 7 months ago

That's a great suggestion @amitnavindgi I'm going to forward this to the involved teams.

In the meantime if you need to exclude specific transactions beyond that list you can always add to ignoreTransactions on the sdk (which eg. uses this health check ignore list by default).

getsantry[bot] commented 7 months ago

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

amitnavindgi commented 7 months ago

Looks like ignore_transactions is not available in the Python SDK? I guess I can always just use before_send_transaction.

bruno-garcia commented 1 month ago

A customer with transaction name health_check is seeing these transactions in Sentry and would rather have them filtered out.