@@ -16,7 +16,11 @@ import { DenoClient } from './client';
1616import { breadcrumbsIntegration } from './integrations/breadcrumbs' ;
1717import { denoContextIntegration } from './integrations/context' ;
1818import { contextLinesIntegration } from './integrations/contextlines' ;
19- import { HTTP_CLIENT_DIAGNOSTICS_CHANNEL_SUPPORTED , HTTP_SERVER_DIAGNOSTICS_CHANNEL_SUPPORTED } from './denoVersion' ;
19+ import {
20+ HTTP_CLIENT_DIAGNOSTICS_CHANNEL_SUPPORTED ,
21+ HTTP_SERVER_DIAGNOSTICS_CHANNEL_SUPPORTED ,
22+ TRACING_CHANNEL_SUPPORTED ,
23+ } from './denoVersion' ;
2024import { denoServeIntegration } from './integrations/deno-serve' ;
2125import { denoHttpIntegration } from './integrations/http' ;
2226import { denoRedisIntegration } from './integrations/redis' ;
@@ -48,7 +52,8 @@ export function getDefaultIntegrations(_options: Options): Integration[] {
4852 ...( HTTP_CLIENT_DIAGNOSTICS_CHANNEL_SUPPORTED || HTTP_SERVER_DIAGNOSTICS_CHANNEL_SUPPORTED
4953 ? [ denoHttpIntegration ( ) ]
5054 : [ ] ) ,
51- denoRedisIntegration ( ) ,
55+ // node:diagnostics_channel.tracingChannel exists on Deno 1.44.3+.
56+ ...( TRACING_CHANNEL_SUPPORTED ? [ denoRedisIntegration ( ) ] : [ ] ) ,
5257 contextLinesIntegration ( ) ,
5358 normalizePathsIntegration ( ) ,
5459 globalHandlersIntegration ( ) ,
0 commit comments