Documentation
    Preparing search index...
    • Creates a function that checks if the incoming request URL should be ignored based on the provided regular expressions. The function should be used for configuring the http instrumentation.

      Parameters

      • urlsToIgnore: RegExp[]

        An array of regular expressions to match against the request URL.

      Returns (request: IncomingMessage) => boolean

      A function that takes an incoming request and returns a boolean indicating whether the request URL should be ignored.