Prompt Buddy logoPrompt Buddy

prisma ยท Prisma Docs

Prisma Datadog (/docs/guides/integrations/datadog)

Sets up Datadog tracing for Prisma projects by combining the @prisma/instrumentation package with Prisma Client extensions and the dd-trace library to capture database query spans.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Prisma Datadog (/docs/guides/integrations/datadog)

Sets up Datadog tracing for Prisma projects by combining the @prisma/instrumentation package with Prisma Client extensions and the dd-trace library to capture database query spans.

When To Use

Use when you need to monitor database query latency, inspect raw SQL arguments, or trace Prisma operations within Datadog APM.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/prisma-datadog-docs-guides-integrations-workflow-guide.mdA guide explaining how to set up Datadog tracing for Prisma projects using the @prisma/instrumentation package and Prisma Client extensions.Questions about a guide explaining how to set up Datadog tracing for Prisma projects using the @prisma/instrumentation package and Pr...
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup.bashBash commands to initialize a new project directory and npm configuration for Prisma Datadog integration.Exact payloads, commands, or snippets shown in Bash commands to initialize a new project directory and npm configuration for Prisma Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup-2.bashBash commands to initialize a new directory and project for Prisma Datadog integration setup.Exact payloads, commands, or snippets shown in Bash commands to initialize a new directory and project for Prisma Datadog integration setup.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup-3.bashBash commands to initialize a new project directory and configure yarn for Prisma Datadog integration.Exact payloads, commands, or snippets shown in Bash commands to initialize a new project directory and configure yarn for Prisma Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-tracing-setup.bashBash commands to initialize a new directory and project for Prisma Datadog tracing using bun.Exact payloads, commands, or snippets shown in Bash commands to initialize a new directory and project for Prisma Datadog tracing using bun.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup-4.bashBash commands to install prisma and tsx as development dependencies for the Datadog integration setup.Exact payloads, commands, or snippets shown in Bash commands to install prisma and tsx as development dependencies for the Datadog integration setup.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup-5.bashBash commands to install prisma and tsx as development dependencies for the Datadog integration setup.Exact payloads, commands, or snippets shown in Bash commands to install prisma and tsx as development dependencies for the Datadog integration setup.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup-6.bashBash commands to install the necessary prisma and tsx development dependencies for the Datadog integration.Exact payloads, commands, or snippets shown in Bash commands to install the necessary prisma and tsx development dependencies for the Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-bun-i.bashA bash command to install prisma and tsx as development dependencies using the bun package manager.Exact payloads, commands, or snippets shown in A bash command to install prisma and tsx as development dependencies using the bun package manager.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-init-command.bashA bash command to initialize a Prisma project with a specific output directory for Datadog integration setup.Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma project with a specific output directory for Datadog integration setup.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-init-command-2.bashA bash command to initialize a Prisma project with a specific output directory for Datadog integration setup.Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma project with a specific output directory for Datadog integration setup.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-init-command-3.bashA bash command to initialize a Prisma project with a specific output directory for Datadog integration setup.Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma project with a specific output directory for Datadog integration setup.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-init-bun-command.bashA bash command to initialize a Prisma client using bunx with a specific output directory for Datadog integration.Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma client using bunx with a specific output directory for Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-datab.textA text file containing a placeholder DATABASE_URL environment variable for configuring the Prisma Datadog integration.Exact payloads, commands, or snippets shown in A text file containing a placeholder DATABASEURL environment variable for configuring the Prisma Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-npm-i.bashThe bash command to install the Prisma PostgreSQL adapter and the pg driver required for Datadog integration.Exact payloads, commands, or snippets shown in The bash command to install the Prisma PostgreSQL adapter and the pg driver required for Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-pg-adapter-instal.bashBash commands to install the Prisma PostgreSQL adapter and pg driver for Datadog integration.Exact payloads, commands, or snippets shown in Bash commands to install the Prisma PostgreSQL adapter and pg driver for Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-depen.bashBash commands to install the Prisma PostgreSQL adapter and pg driver for Datadog integration.Exact payloads, commands, or snippets shown in Bash commands to install the Prisma PostgreSQL adapter and pg driver for Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-pg-adapter-bun-in.bashA bash command to install the Prisma PostgreSQL adapter and pg driver using the bun package manager.Exact payloads, commands, or snippets shown in A bash command to install the Prisma PostgreSQL adapter and pg driver using the bun package manager.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-npm-i-2.bashThe bash command to install the pg type definitions required for the Prisma Datadog integration.Exact payloads, commands, or snippets shown in The bash command to install the pg type definitions required for the Prisma Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-pnpm-.bashA bash command to install the pg types package using pnpm for the Prisma Datadog integration.Exact payloads, commands, or snippets shown in A bash command to install the pg types package using pnpm for the Prisma Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-depen-2.bashBash command to install the @types/pg development dependency required for the Prisma Datadog integration.Exact payloads, commands, or snippets shown in Bash command to install the @types/pg development dependency required for the Prisma Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-bun-d.bashA bash command to add the pg type definitions using the bun package manager for Prisma Datadog integration.Exact payloads, commands, or snippets shown in A bash command to add the pg type definitions using the bun package manager for Prisma Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup-7.bashA bash command sequence for initializing a database using npx to facilitate Prisma Datadog integration.Exact payloads, commands, or snippets shown in A bash command sequence for initializing a database using npx to facilitate Prisma Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-setup-pnpm-comman.bashA bash command using pnpm to execute the create-db utility for Prisma Datadog integration.Exact payloads, commands, or snippets shown in A bash command using pnpm to execute the create-db utility for Prisma Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup-8.bashA bash command sequence using yarn dlx to create a database for testing the Prisma Datadog integration.Exact payloads, commands, or snippets shown in A bash command sequence using yarn dlx to create a database for testing the Prisma Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup-9.bashA bash command to initialize a database using bunx for the Prisma Datadog integration guide.Exact payloads, commands, or snippets shown in A bash command to initialize a database using bunx for the Prisma Datadog integration guide.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration.prismaA Prisma schema file configured to support Datadog integration monitoring.Exact payloads, commands, or snippets shown in A Prisma schema file configured to support Datadog integration monitoring.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-types.typescriptA TypeScript configuration file demonstrating how to set up the Prisma Datadog integration with schema and migration paths.Exact payloads, commands, or snippets shown in A TypeScript configuration file demonstrating how to set up the Prisma Datadog integration with schema and migration...
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup-10.bashBash commands to install the dotenv package for Prisma Datadog integration setup.Exact payloads, commands, or snippets shown in Bash commands to install the dotenv package for Prisma Datadog integration setup.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup-11.bashBash commands for installing the dotenv dependency required for the Prisma Datadog integration.Exact payloads, commands, or snippets shown in Bash commands for installing the dotenv dependency required for the Prisma Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup-12.bashBash commands to install the dotenv dependency required for the Prisma Datadog integration setup.Exact payloads, commands, or snippets shown in Bash commands to install the dotenv dependency required for the Prisma Datadog integration setup.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup-13.bashBash commands to install the dotenv package using bun for Prisma Datadog integration setup.Exact payloads, commands, or snippets shown in Bash commands to install the dotenv package using bun for Prisma Datadog integration setup.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-generate-command.bashThe bash command used to generate the Prisma client for Datadog integration.Exact payloads, commands, or snippets shown in The bash command used to generate the Prisma client for Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-gener.bashA bash command to generate the Prisma client using pnpm for Datadog integration setup.Exact payloads, commands, or snippets shown in A bash command to generate the Prisma client using pnpm for Datadog integration setup.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-gener-2.bashA bash command to generate the Prisma client using yarn dlx for Datadog integration setup.Exact payloads, commands, or snippets shown in A bash command to generate the Prisma client using yarn dlx for Datadog integration setup.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-gener-3.bashA bash command to generate the Prisma client using bunx.Exact payloads, commands, or snippets shown in A bash command to generate the Prisma client using bunx.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-migra.bashA bash command to initialize a database migration using the Prisma CLI for a Datadog integration setup.Exact payloads, commands, or snippets shown in A bash command to initialize a database migration using the Prisma CLI for a Datadog integration setup.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-migra-2.bashA bash command to initialize a Prisma database migration using pnpm.Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma database migration using pnpm.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-migra-3.bashA bash command to initialize a database migration using the Prisma CLI for a Datadog integration setup.Exact payloads, commands, or snippets shown in A bash command to initialize a database migration using the Prisma CLI for a Datadog integration setup.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-migration-command.bashA bash command to run a Prisma database migration using bunx.Exact payloads, commands, or snippets shown in A bash command to run a Prisma database migration using bunx.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-instrumentation-s.bashBash commands to install the @prisma/instrumentation and dd-trace packages for Datadog integration.Exact payloads, commands, or snippets shown in Bash commands to install the @prisma/instrumentation and dd-trace packages for Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-instrumentation-s-2.bashBash commands to install the @prisma/instrumentation and dd-trace packages using pnpm.Exact payloads, commands, or snippets shown in Bash commands to install the @prisma/instrumentation and dd-trace packages using pnpm.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-instrumentation-s-3.bashBash commands to install the @prisma/instrumentation and dd-trace packages via yarn for Datadog integration.Exact payloads, commands, or snippets shown in Bash commands to install the @prisma/instrumentation and dd-trace packages via yarn for Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-instrumentation-b.bashBash commands to install the @prisma/instrumentation and dd-trace packages using the Bun package manager.Exact payloads, commands, or snippets shown in Bash commands to install the @prisma/instrumentation and dd-trace packages using the Bun package manager.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup-14.bashBash commands to install typescript and necessary dependencies for the Prisma Datadog integration.Exact payloads, commands, or snippets shown in Bash commands to install typescript and necessary dependencies for the Prisma Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-types.bashA bash command to install typescript as a development dependency using pnpm for the Prisma Datadog integration.Exact payloads, commands, or snippets shown in A bash command to install typescript as a development dependency using pnpm for the Prisma Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup-15.bashBash commands to install the necessary development dependencies for the Prisma Datadog integration.Exact payloads, commands, or snippets shown in Bash commands to install the necessary development dependencies for the Prisma Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-bun-i-2.bashA bash command to add typescript as a development dependency using the bun package manager for the Prisma Datadog integration.Exact payloads, commands, or snippets shown in A bash command to add typescript as a development dependency using the bun package manager for the Prisma Datadog int...
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-tracer-setup.bashA bash command to create the tracer.ts file for Prisma Datadog integration setup.Exact payloads, commands, or snippets shown in A bash command to create the tracer.ts file for Prisma Datadog integration setup.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-dd-trace-init-typ.tsA TypeScript code snippet demonstrating how to initialize the dd-trace library with specific configuration options for Prisma Datadog integration.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to initialize the dd-trace library with specific configuration options fo...
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-types.tsA TypeScript implementation demonstrating how to use Prisma client extensions to log database queries as Datadog spans.Exact payloads, commands, or snippets shown in A TypeScript implementation demonstrating how to use Prisma client extensions to log database queries as Datadog spans.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-typescript-instru.typescriptA TypeScript example demonstrating how to initialize the PrismaInstrumentation with a Datadog tracer provider.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to initialize the PrismaInstrumentation with a Datadog tracer provider.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-opentelemetry-api.jsonA JSON configuration snippet showing how to override the @opentelemetry/api version for Prisma Datadog integration.Exact payloads, commands, or snippets shown in A JSON configuration snippet showing how to override the @opentelemetry/api version for Prisma Datadog integration.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-npm-i-3.bashThe npm installation command required to add the Prisma Datadog integration to a project.Exact payloads, commands, or snippets shown in The npm installation command required to add the Prisma Datadog integration to a project.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-insta.bashThe bash command to install the necessary packages for the Prisma Datadog integration using pnpm.Exact payloads, commands, or snippets shown in The bash command to install the necessary packages for the Prisma Datadog integration using pnpm.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup-16.bashBash commands to install the necessary dependencies for the Prisma Datadog integration using yarn.Exact payloads, commands, or snippets shown in Bash commands to install the necessary dependencies for the Prisma Datadog integration using yarn.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-bun-i-3.bashA bash command to install the necessary dependencies for the Prisma Datadog integration using the bun package manager.Exact payloads, commands, or snippets shown in A bash command to install the necessary dependencies for the Prisma Datadog integration using the bun package manager.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-execu.bashThe bash command used to execute the Prisma Datadog integration script using npx tsx.Exact payloads, commands, or snippets shown in The bash command used to execute the Prisma Datadog integration script using npx tsx.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-run-c.bashA bash command used to execute the Prisma Datadog integration script using pnpm and tsx.Exact payloads, commands, or snippets shown in A bash command used to execute the Prisma Datadog integration script using pnpm and tsx.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-setup-17.bashA bash command to execute the Prisma Datadog integration using tsx.Exact payloads, commands, or snippets shown in A bash command to execute the Prisma Datadog integration using tsx.
examples/prisma-datadog-docs-guides-integrations-prisma-datadog-integration-bun-e.bashA bash command used to execute the Prisma Datadog integration using bunx and tsx.Exact payloads, commands, or snippets shown in A bash command used to execute the Prisma Datadog integration using bunx and tsx.

What This Skill Covers

  • Datadog (/docs/guides/integrations/datadog)
  • Main sections: npm, pnpm, yarn, bun, npm.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://www.prisma.io/docs/guides/integrations/datadog