Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.17.0
Framework Version
No response
Link to Sentry event
No response
SDK Setup/Reproduction Example
Sentry.init({
dsn:
'...',
integrations: [
Sentry.httpIntegration({
ignoreIncomingRequests: (url: string) => {
console.log(url); // This is always '///'.
const shouldIgnore =
url.includes('/liveness') ||
url.includes('/readiness') ||
url.includes('/metrics');
return shouldIgnore;
},
}),
],
});
Steps to Reproduce
- init sentry as above
- send request to service
- observe all incoming http urls are passed as '///' in the logs
Expected Result
all incoming http urls are a string matching the request, usable to filter ignore true/false
Actual Result
all incoming http urls are passed as '///' in the logs.
Metadata
Metadata
Assignees
Type
Projects
Status
Waiting for: Product Owner