Open andreeatirgovatu opened 9 months ago
Is this for requests originating from the browser?
ie. you are sending out HEAD requests?
If so we added the ability to add a dependency listener / initializer (the initializer is what you would want here), where you can "inspect" the events before they are "tracked" -- https://github.com/Microsoft/ApplicationInsights-JS?tab=readme-ov-file#dependency-listeners
Failing that you can use a standard telemetryInitializer() to inspect every event and just return false
when you detect that is an event you don't want to include. https://github.com/Microsoft/ApplicationInsights-JS?tab=readme-ov-file#dependency-listeners
Hi,
I was wondering is there the ability to prevent logs with status code 308 (HEAD method) and static files requests. I tried some things within react app like :
but it is not working. In app insights I can still see the logs .
Thank you in advance, Andreea