Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const Sentry = require('@sentry/node');
const Profiling = require('@sentry/profiling-node');
const { nodeProfilingIntegration } = require('@sentry/profiling-node');

const wait = ms => new Promise(resolve => setTimeout(resolve, ms));

Sentry.init({
dsn: 'https://[email protected]/6625302',
integrations: [new Profiling.ProfilingIntegration()],
integrations: [nodeProfilingIntegration()],
tracesSampleRate: 1.0,
profilesSampleRate: 1.0,
});
Expand Down
248 changes: 0 additions & 248 deletions packages/profiling-node/src/hubextensions.ts

This file was deleted.

6 changes: 1 addition & 5 deletions packages/profiling-node/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
export {
// eslint-disable-next-line deprecation/deprecation
ProfilingIntegration,
nodeProfilingIntegration,
} from './integration';
export { nodeProfilingIntegration } from './integration';
Loading