sentry-java
sentry-java copied to clipboard
Do not start transaction for OPTIONS requests
Integration
sentry-spring
Java Version
8
Version
6.4.1
Steps to Reproduce
Have a mapping for an OPTIONS request like:
@RequestMapping(method = RequestMethod.OPTIONS, value = "{id}")
void options(@PathVariable Long id) {
LOGGER.info("options called");
}
Send OPTIONS request
This should affect Spring WebMVC and Webflux as well.
Expected Result
No transaction is created for OPTIONS requests
Actual Result
Starts a transaction and sends it