File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-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(node): Expose ` headersToSpanAttributes ` option on ` nativeNodeFetchIntegration() ` ([ #19770 ] ( https://github.com/getsentry/sentry-javascript/pull/19770 ) )**
810
911 Response headers like ` http.response.header.content-length ` were previously captured automatically on outgoing
3840 changes. We cannot yet guarantee full support for server-islands, due to a [ bug in Astro v6] ( https://github.com/withastro/astro/issues/15753 )
3941 but we'll follow up on this once the bug is fixed.
4042
43+ - ** feat(node-core): Add OTLP integration for node-core/light ([ #19729 ] ( https://github.com/getsentry/sentry-javascript/pull/19729 ) )**
44+
45+ Added ` otlpIntegration ` at ` @sentry/node-core/light/otlp ` for users who manage
46+ their own OpenTelemetry setup and want to send trace data to Sentry without
47+ adopting the full ` @sentry/node ` SDK.
48+
49+ ``` js
50+ import { NodeTracerProvider } from ' @opentelemetry/sdk-trace-node' ;
51+ import * as Sentry from ' @sentry/node-core/light' ;
52+ import { otlpIntegration } from ' @sentry/node-core/light/otlp' ;
53+
54+ const provider = new NodeTracerProvider ();
55+ provider .register ();
56+
57+ Sentry .init ({
58+ dsn: ' __DSN__' ,
59+ integrations: [
60+ otlpIntegration ({
61+ // Export OTel spans to Sentry via OTLP (default: true)
62+ setupOtlpTracesExporter: true ,
63+ }),
64+ ],
65+ });
66+ ```
67+
68+ The integration links Sentry errors to OTel traces and exports spans to Sentry via OTLP.
69+
4170## 10.43.0
4271
4372### Important Changes
You can’t perform that action at this time.
0 commit comments