Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

feat: Update Node SDK to latest v7 and use metrics #47

Merged
merged 5 commits into from
May 15, 2024
Merged

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented May 14, 2024

Updates the SDK to latest v7. For the v8 bump, I'll transpile to CJS first. Gonna do more important things first though 😅

Also adds a couple of metrics to maybe eventually move from transaction/tags usage telemetry to metrics usage telemetry 👀

*/
function createSentryInstance(enabled) {
const client = new NodeClient({
Sentry.init({
Copy link
Member Author

Choose a reason for hiding this comment

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

what we had before worked but I think for migr8 it's fine to actually simply call Sentry.init. We don't have the same leaking concerns as in the plugins. Additionally, we still don't add global integrations

@Lms24 Lms24 force-pushed the lms/sentry-metrics branch from cde2558 to 7c2ff60 Compare May 15, 2024 10:00
@Lms24 Lms24 requested review from a team, mydea and lforst and removed request for a team May 15, 2024 10:59
@Lms24 Lms24 merged commit 65971d8 into main May 15, 2024
2 checks passed
@Lms24 Lms24 deleted the lms/sentry-metrics branch May 15, 2024 11:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants