Skip to content

Allow to filter Nest.js middleware spans #16713

@mydea

Description

@mydea

Description

Sometimes middleware spans can make up a lot of span quota. We want to allow to statically filter those.

Possible ways to do this:

  1. Allow to opt out of certain span types overall (e.g. ignoreSpans: ['middleware'])
  2. Allow to filter middleware spans by name via string/regex (e.g. ignoreMiddlewareSpans: ['middleware-name']

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions