Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Work in this release was contributed by @psh4607, @thijsw, @trinitiwowka, @nehap
- `DenoMysql` => `Mysql`
- `DenoPostgres` => `Postgres`
- feat(node): Add first-party Mastra integration ([#23823](https://github.com/getsentry/sentry-javascript/pull/23823)). Enabled by default; disable with `defaultIntegrations: integrations => integrations.filter(i => i.name !== 'Mastra')`.
- feat(node): Enable the `dataloader` and `knex` integrations by default. Both were previously opt-in — `dataloader` was removed from the defaults in v8 due to an upstream OpenTelemetry bug that has since been fixed, and `knex` was never enabled by default. You no longer need to add `dataloaderIntegration()` or `knexIntegration()` manually. Disable either with `defaultIntegrations: integrations => integrations.filter(i => i.name !== 'Dataloader' /* or 'Knex' */)`.
- **feat(browser): Add `bfcacheMetricsIntegration` to track back/forward cache health**

The new opt-in `bfcacheMetricsIntegration` emits metrics about browser back/forward cache (bfcache) navigations, so you can
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ Sentry.init({
release: '1.0',
tracesSampleRate: 1.0,
transport: loggingTransport,
integrations: [Sentry.dataloaderIntegration()],
});
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ Sentry.init({
release: '1.0',
tracesSampleRate: 1.0,
transport: loggingTransport,
integrations: [Sentry.knexIntegration()],
traceLifecycle: 'stream',
});
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ Sentry.init({
release: '1.0',
tracesSampleRate: 1.0,
transport: loggingTransport,
integrations: [Sentry.knexIntegration()],
});
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ Sentry.init({
release: '1.0',
tracesSampleRate: 1.0,
transport: loggingTransport,
integrations: [Sentry.knexIntegration()],
traceLifecycle: 'stream',
});
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ Sentry.init({
release: '1.0',
tracesSampleRate: 1.0,
transport: loggingTransport,
integrations: [Sentry.knexIntegration()],
});
4 changes: 4 additions & 0 deletions packages/server-utils/src/integrations/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { amqplibIntegration } from './amqplib';
import { dataloaderIntegration } from './dataloader';
import { knexIntegration } from './knex';
import { mongoIntegration } from './mongodb';
import { graphqlIntegration } from './graphql';
import { redisIntegration } from './redis';
Expand Down Expand Up @@ -39,10 +41,12 @@ export function getTracingIntegrations(): Integration[] {
postgresIntegration(),
prismaIntegration(),
tediousIntegration(),
knexIntegration(),
genericPoolIntegration(),
kafkaIntegration(),
amqplibIntegration(),
lruMemoizerIntegration(),
dataloaderIntegration(),
awsIntegration(),
// AI providers
// LangChain must come first to disable AI provider integrations before they instrument
Expand Down
Loading