File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 44
55- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
66
7+ ### Important Changes
8+
79- ** feat(nestjs): Instrument ` @nestjs/schedule ` decorators ([ #19735 ] ( https://github.com/getsentry/sentry-javascript/pull/19735 ) )**
810
911 Automatically capture exceptions thrown in ` @Cron ` , ` @Interval ` , and ` @Timeout ` decorated methods.
1921 changes. We cannot yet guarantee full support for server-islands, due to a [ bug in Astro v6] ( https://github.com/withastro/astro/issues/15753 )
2022 but we'll follow up on this once the bug is fixed.
2123
24+ - ** feat(node-core): Add OTLP integration for node-core/light ([ #19729 ] ( https://github.com/getsentry/sentry-javascript/pull/19729 ) )**
25+
26+ Added ` otlpIntegration ` at ` @sentry/node-core/light/otlp ` for users who manage
27+ their own OpenTelemetry setup and want to send trace data to Sentry without
28+ adopting the full ` @sentry/node ` SDK.
29+
30+ ``` js
31+ import { NodeTracerProvider } from ' @opentelemetry/sdk-trace-node' ;
32+ import * as Sentry from ' @sentry/node-core/light' ;
33+ import { otlpIntegration } from ' @sentry/node-core/light/otlp' ;
34+
35+ const provider = new NodeTracerProvider ();
36+ provider .register ();
37+
38+ Sentry .init ({
39+ dsn: ' __DSN__' ,
40+ integrations: [
41+ otlpIntegration ({
42+ // Export OTel spans to Sentry via OTLP (default: true)
43+ setupOtlpTracesExporter: true ,
44+
45+ // Propagate sentry-trace/baggage headers (default: true)
46+ setupPropagator: true ,
47+
48+ // Capture span.recordException() as Sentry errors (default: false)
49+ captureExceptions: false ,
50+ }),
51+ ],
52+ });
53+ ```
54+
55+ The integration links Sentry errors to OTel traces, exports spans to Sentry via OTLP, and propagates
56+ sentry-trace/baggage headers for distributed tracing.
57+
2258## 10.43.0
2359
2460### Important Changes
You can’t perform that action at this time.
0 commit comments