Problem Statement
I want to filter out my healthcheck transactions (grpc.health.v1.Health/Check, PING), preferably configured using an Environment variable.
I am using the new version of the sentry-opentelemetry-agent which works great, my only issue is filtering out healthcheck transactions.
Solution Brainstorm
In a perfect world I could provide an environment variable with a list of transactions to exclude (SENTRY_EXCLUDE_TRANSACTIONS=grpc.health.v1.Health/Check,PING) but I would settle for being able to configure it in code while still being able to take advantage of the auto initialisation (I've tried calling Sentry.init and just specifying a beforeSendTransaction options but I get the error "DSN is required. Use empty string or set enabled to false in SentryOptions to disable SDK.").
Problem Statement
I want to filter out my healthcheck transactions (
grpc.health.v1.Health/Check,PING), preferably configured using an Environment variable.I am using the new version of the sentry-opentelemetry-agent which works great, my only issue is filtering out healthcheck transactions.
Solution Brainstorm
In a perfect world I could provide an environment variable with a list of transactions to exclude (
SENTRY_EXCLUDE_TRANSACTIONS=grpc.health.v1.Health/Check,PING) but I would settle for being able to configure it in code while still being able to take advantage of the auto initialisation (I've tried calling Sentry.init and just specifying abeforeSendTransactionoptions but I get the error "DSN is required. Use empty string or set enabled to false in SentryOptions to disable SDK.").