Skip to content

Unable to filter transaction with * in the name #4683

@jebbench

Description

@jebbench

Integration

sentry

Java Version

17 & 21

Version

8.20

Steps to Reproduce

I have a healthcheck request that hits a "version" endpoint, I would like to filter these requests out so the spans are not sent to Sentry.

I filter other healthchecks using the "SENTRY_IGNORED_TRANSACTIONS" environment variable but I'm struggling to do the same for this one.

I'm not sure if I've got the wrong "name" or if it's the * in the name tripping me up.

I think the span name is: GET https://*/_db/_system/_api/version

My env variable is: "grpc.health.v1.Health/Check,PING,GET /api/v1/health,GET /healthz,GET https://\\*/_db/_system/_api/version"

I have also tried without escaping the *: "grpc.health.v1.Health/Check,PING,GET /api/v1/health,GET /healthz,GET https://*/_db/_system/_api/version"

Expected Result

The transaction should be filtered.

Actual Result

The transaction is not filtered.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions