Skip to content
Draft
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: 0 additions & 1 deletion apps/avatax/src/instrumentations/sentry-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const nodeClient = new NodeClient({
dsn: env.NEXT_PUBLIC_SENTRY_DSN,
environment: env.ENV,
// we don't follow OTEL guide from Sentry https://docs.sentry.io/platforms/javascript/guides/nextjs/opentelemetry/custom-setup/ as we use Sentry just for error tracking
skipOpenTelemetrySetup: true,
integrations: [...getDefaultIntegrationsWithoutPerformance()],
transport: makeNodeTransport,
stackParser: defaultStackParser,
Expand Down
4 changes: 2 additions & 2 deletions apps/avatax/src/lib/otel/meter-provider.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Resource } from "@opentelemetry/resources";
import { resourceFromAttributes } from "@opentelemetry/resources";
import { MeterProvider } from "@opentelemetry/sdk-metrics";
import {
ATTR_DEPLOYMENT_ENVIRONMENT_NAME,
Expand All @@ -18,7 +18,7 @@ export const meterProvider = new MeterProvider({
}),
],
// Create new resource as `@vercel/otel` creates its own under the hood and don't expose it
resource: new Resource({
resource: resourceFromAttributes({
// We don't add all attributes from `instrumentations/otel-node.ts` as they will end up as attributes on the metrics in our OTEL collector. If you are using OSS version you can add them here.
[ATTR_SERVICE_NAME]: env.OTEL_SERVICE_NAME,
[ATTR_DEPLOYMENT_ENVIRONMENT_NAME]: env.ENV,
Expand Down
1 change: 0 additions & 1 deletion apps/cms/src/instrumentations/sentry-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const nodeClient = new NodeClient({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
environment: process.env.ENV,
// we don't follow OTEL guide from Sentry https://docs.sentry.io/platforms/javascript/guides/nextjs/opentelemetry/custom-setup/ as we use Sentry just for error tracking
skipOpenTelemetrySetup: true,
integrations: [...getDefaultIntegrationsWithoutPerformance()],
transport: makeNodeTransport,
stackParser: defaultStackParser,
Expand Down
1 change: 0 additions & 1 deletion apps/klaviyo/src/instrumentations/sentry-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const nodeClient = new NodeClient({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
environment: process.env.ENV,
// we don't follow OTEL guide from Sentry https://docs.sentry.io/platforms/javascript/guides/nextjs/opentelemetry/custom-setup/ as we use Sentry just for error tracking
skipOpenTelemetrySetup: true,
integrations: [...getDefaultIntegrationsWithoutPerformance()],
transport: makeNodeTransport,
stackParser: defaultStackParser,
Expand Down
1 change: 0 additions & 1 deletion apps/np-atobarai/src/instrumentations/sentry-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const nodeClient = new NodeClient({
dsn: env.NEXT_PUBLIC_SENTRY_DSN,
environment: env.ENV,
// we don't follow OTEL guide from Sentry https://docs.sentry.io/platforms/javascript/guides/nextjs/opentelemetry/custom-setup/ as we use Sentry just for error tracking
skipOpenTelemetrySetup: true,
integrations: [...getDefaultIntegrationsWithoutPerformance()],
transport: makeNodeTransport,
stackParser: defaultStackParser,
Expand Down
1 change: 0 additions & 1 deletion apps/products-feed/src/instrumentations/sentry-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const nodeClient = new NodeClient({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
environment: process.env.ENV,
// we don't follow OTEL guide from Sentry https://docs.sentry.io/platforms/javascript/guides/nextjs/opentelemetry/custom-setup/ as we use Sentry just for error tracking
skipOpenTelemetrySetup: true,
integrations: [...getDefaultIntegrationsWithoutPerformance()],
transport: makeNodeTransport,
stackParser: defaultStackParser,
Expand Down
1 change: 0 additions & 1 deletion apps/search/src/instrumentations/sentry-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const nodeClient = new NodeClient({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
environment: process.env.ENV,
// we don't follow OTEL guide from Sentry https://docs.sentry.io/platforms/javascript/guides/nextjs/opentelemetry/custom-setup/ as we use Sentry just for error tracking
skipOpenTelemetrySetup: true,
integrations: [...getDefaultIntegrationsWithoutPerformance()],
transport: makeNodeTransport,
stackParser: defaultStackParser,
Expand Down
1 change: 0 additions & 1 deletion apps/segment/src/instrumentations/sentry-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const nodeClient = new NodeClient({
dsn: env.NEXT_PUBLIC_SENTRY_DSN,
environment: env.ENV,
// we don't follow OTEL guide from Sentry https://docs.sentry.io/platforms/javascript/guides/nextjs/opentelemetry/custom-setup/ as we use Sentry just for error tracking
skipOpenTelemetrySetup: true,
integrations: [...getDefaultIntegrationsWithoutPerformance()],
transport: makeNodeTransport,
stackParser: defaultStackParser,
Expand Down
1 change: 0 additions & 1 deletion apps/smtp/src/instrumentations/sentry-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const nodeClient = new NodeClient({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
environment: process.env.ENV,
// we don't follow OTEL guide from Sentry https://docs.sentry.io/platforms/javascript/guides/nextjs/opentelemetry/custom-setup/ as we use Sentry just for error tracking
skipOpenTelemetrySetup: true,
integrations: [...getDefaultIntegrationsWithoutPerformance()],
transport: makeNodeTransport,
stackParser: defaultStackParser,
Expand Down
1 change: 1 addition & 0 deletions apps/stripe/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />
import "./.next/types/routes.d.ts";

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
1 change: 0 additions & 1 deletion apps/stripe/src/instrumentations/sentry-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const nodeClient = new NodeClient({
dsn: env.NEXT_PUBLIC_SENTRY_DSN,
environment: env.ENV,
// we don't follow OTEL guide from Sentry https://docs.sentry.io/platforms/javascript/guides/nextjs/opentelemetry/custom-setup/ as we use Sentry just for error tracking
skipOpenTelemetrySetup: true,
integrations: [...getDefaultIntegrationsWithoutPerformance()],
transport: makeNodeTransport,
stackParser: defaultStackParser,
Expand Down
Loading