You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our Express server receives many OPTIONS requests due to CORS. These OPTIONS traces are not very informative, and I'd like to exclude them. However, I haven't found a method to do so.
According to the express plugin document, there appears to be no way to exclude requests based on an HTTP method.
I attempted to exclude them using MANUAL_DROP as shown below, but it was ineffective because it added the tag to a new child span instead of the root span.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Our Express server receives many
OPTIONS
requests due to CORS. TheseOPTIONS
traces are not very informative, and I'd like to exclude them. However, I haven't found a method to do so.MANUAL_DROP
as shown below, but it was ineffective because it added the tag to a new child span instead of the root span.Can I add the
MANUAL_DROP
tag to the root spanexpress.request
? Or, is there any other way to excludeOPTIONS
requests from traces?Beta Was this translation helpful? Give feedback.
All reactions