Skip to content

There is no option to ignore specific symfony routes by id #906

Closed
@gabplch

Description

@gabplch

Problem Statement

For the only way according docs to remove profiling by some of the routes is explicitly writing it e.g.:

sentry:
  options:
    ignore_transactions:
      - 'GET /healthz'
...

But it'll be cool to put only route it to make it more reliable. For e.g Artprime prometheus metrics bundle have such an option:

    ignored_routes:
        - healthz

Solution Brainstorm

add configuration method for tracing_ignored_routes, and accept symfony route id parameter in it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions