Skip to content

feat(astro): Update @sentry/astro to use OpenTelemetry #10960

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/node-experimental/src/proxy/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
*/

/* eslint-disable jsdoc/require-jsdoc */
import * as http from 'http';
import * as https from 'https';
import * as http from 'node:http';
import * as https from 'node:https';
import type { Readable } from 'stream';

export type ThenableRequest = http.ClientRequest & {
Expand Down
4 changes: 2 additions & 2 deletions packages/node-experimental/src/transports/http-module.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ClientRequest, IncomingHttpHeaders, RequestOptions as HTTPRequestOptions } from 'http';
import type { RequestOptions as HTTPSRequestOptions } from 'https';
import type { ClientRequest, IncomingHttpHeaders, RequestOptions as HTTPRequestOptions } from 'node:http';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These ones shouldn't matter since they're type imports and wont end up in the output

import type { RequestOptions as HTTPSRequestOptions } from 'node:https';

export type HTTPModuleRequestOptions = HTTPRequestOptions | HTTPSRequestOptions | string | URL;

Expand Down
4 changes: 2 additions & 2 deletions packages/node-experimental/src/transports/http.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as http from 'http';
import * as https from 'https';
import * as http from 'node:http';
import * as https from 'node:https';
import { Readable } from 'stream';
import { createGzip } from 'zlib';
import { createTransport } from '@sentry/core';
Expand Down