Skip to content

Commit 228d15e

Browse files
committed
reinstate profiling
1 parent 96ca696 commit 228d15e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hooks.server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { dev } from '$app/environment';
1212
import { UPSPLASH_TOKEN, UPSPLASH_URL } from '$env/static/private';
1313
import get_show_path from '$utilities/slug';
1414
import { Redis } from '@upstash/redis';
15-
// import { nodeProfilingIntegration } from '@sentry/profiling-node';
15+
import { nodeProfilingIntegration } from '@sentry/profiling-node';
1616

1717
export const cache_status = UPSPLASH_URL && UPSPLASH_TOKEN ? 'ONLINE' : 'OFFLINE';
1818

@@ -38,7 +38,7 @@ Sentry.init({
3838
profilesSampleRate: 1.0, // Profiling sample rate is relative to tracesSampleRate
3939
environment: dev ? 'development' : 'production',
4040
integrations: [
41-
// nodeProfilingIntegration,
41+
nodeProfilingIntegration,
4242
Sentry.prismaIntegration(),
4343
Sentry.redisIntegration({ cachePrefixes: ['show:', 'shows:', 'show-og:'] })
4444
],

0 commit comments

Comments
 (0)