@sentry/remix
Version:
Official Sentry SDK for Remix
17 lines (14 loc) • 571 B
JavaScript
import { httpIntegration as httpIntegration$1 } from '@sentry/node';
/**
* The http integration instruments Node's internal http and https modules.
* It creates breadcrumbs and spans for outgoing HTTP requests which will be attached to the currently active span.
*/
const httpIntegration = ((options = {}) => {
return httpIntegration$1({
...options,
// We disable incoming request spans here, because otherwise we'd end up with duplicate spans.
disableIncomingRequestSpans: true,
});
}) ;
export { httpIntegration };
//# sourceMappingURL=http.js.map