-
Notifications
You must be signed in to change notification settings - Fork 870
docs(metrics): remove metrics API #7248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* `prisma-client-js` deprecated * chore: empty commit * broken link updated
* added env vars section to various pages * minor coderabbit updates * verbose removed * test removed redirect list * removed quickstart addition * converted quickstarts back
* middleware deleted * more middleware removed * more middleware removed * coderabbit changes
|
Caution Review failedThe pull request is closed. WalkthroughThis PR removes Prisma Client's built-in metrics feature from documentation. It replaces metric-based code examples with counter-based alternatives, removes $metrics from the API reference, redirects users toward driver-native metrics and OpenTelemetry for observability, and updates connection pooling guidance accordingly. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Areas requiring attention:
Possibly related PRs
Pre-merge checks✅ Passed checks (3 passed)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Dangerous URL checkNo absolute URLs to prisma.io/docs found. |
Redirect checkThis PR probably requires the following redirects to be added to static/_redirects:
|
🍈 Lychee Link Check Report
📊 Results Overview
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx (1)
89-89: Hyphenate compound adjective.Change "built in APIs" to "built-in APIs" to follow standard English grammar for compound adjectives. As per coding guidelines, hyphens join compound modifiers that precede a noun.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (8)
content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx(1 hunks)content/200-orm/200-prisma-client/300-client-extensions/110-client.mdx(1 hunks)content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx(0 hunks)content/200-orm/200-prisma-client/600-observability-and-logging/250-opentelemetry-tracing.mdx(2 hunks)content/200-orm/500-reference/050-prisma-client-reference.mdx(0 hunks)content/200-orm/500-reference/500-preview-features/050-client-preview-features.mdx(1 hunks)content/200-orm/800-more/400-comparisons/04-prisma-and-drizzle.mdx(0 hunks)content/250-postgres/1200-more/1000-faq.mdx(1 hunks)
💤 Files with no reviewable changes (3)
- content/200-orm/800-more/400-comparisons/04-prisma-and-drizzle.mdx
- content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx
- content/200-orm/500-reference/050-prisma-client-reference.mdx
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2025-08-11T09:40:55.237Z
Learnt from: ankur-arch
Repo: prisma/docs PR: 7066
File: content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/245-troubleshooting-binary-size-issues.mdx:8-22
Timestamp: 2025-08-11T09:40:55.237Z
Learning: When the queryCompiler preview feature is enabled in Prisma ORM (v6.7.0+), it does not require Rust engines for CLI tools like `prisma migrate` or `prisma db pull`. The previous understanding that CLI tools would still need Rust binaries even with queryCompiler enabled is incorrect.
Applied to files:
content/200-orm/500-reference/500-preview-features/050-client-preview-features.mdx
📚 Learning: 2025-10-09T21:32:50.340Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7167
File: content/900-ai/prompts/astro.mdx:84-84
Timestamp: 2025-10-09T21:32:50.340Z
Learning: The `npx prisma init` command supports the following flags: `--db` (shorthand for `--datasource-provider prisma+postgres`), `--output` (specifies output location for generated client), `--generator-provider` (defines the generator provider), `--datasource-provider`, `--url`, `--preview-feature`, and `--with-model`. These are documented valid CLI options for Prisma init command.
Applied to files:
content/200-orm/500-reference/500-preview-features/050-client-preview-features.mdx
🪛 LanguageTool
content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx
[grammar] ~89-~89: Use a hyphen to join words.
Context: ...rvability-and-logging/logging) and built in APIs provided by the Prisma Postgres ...
(QB_NEW_EN_HYPHEN)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: runner / linkspector
- GitHub Check: Check internal links
- GitHub Check: Cloudflare Pages
🔇 Additional comments (6)
content/200-orm/200-prisma-client/600-observability-and-logging/250-opentelemetry-tracing.mdx (1)
10-14: Clean refinement of the info block.The info block now focuses exclusively on tracing's operation-level insights, removing the competing reference to aggregated metrics. This improves clarity by keeping the message laser-focused on what the page covers.
content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx (1)
87-89: Content update appropriately redirects users to available APIs.Shifting the documentation focus from metrics to "built-in APIs provided by the Prisma Postgres Driver" aligns with the PR's removal of metrics and properly guides users toward the actual observability mechanisms available in the connection pool section.
content/200-orm/500-reference/500-preview-features/050-client-preview-features.mdx (1)
15-23: Clean removal of metrics from active preview features.The metrics preview feature row is removed and the table is reordered with no gaps or broken references. The remaining features are properly aligned with their release versions and feedback channels.
content/200-orm/200-prisma-client/300-client-extensions/110-client.mdx (2)
37-37: Updated description matches implementation.The description now accurately reflects that
$totalQueriesreturns the number of queries executed, aligning with the new counter-based implementation.
39-56: Well-designed migration pattern from metrics to simple counter.The example elegantly demonstrates how users can replicate operation counting without the metrics API. Using a module-level counter and a query extension hook is:
- Straightforward and transparent
- Follows the extension pattern already shown for
$log- Provides a clear model for users to adapt to their own observability needs
The code is syntactically correct and the pattern is sound.
content/250-postgres/1200-more/1000-faq.mdx (1)
98-100: Appropriate simplification of operation-counting guidance.The FAQ answer now provides general guidance on using APM tools like Prometheus, removing the metrics-specific walkthrough. This aligns with the metrics removal and respects that users have multiple observability strategies available—from the counter pattern shown in the client extensions guide to external APM integrations.
...-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx
Outdated
Show resolved
Hide resolved
content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx
Outdated
Show resolved
Hide resolved
* feat: add new features * fix: revert links * fix: broken links * fix: broken link
* feat(docs): add youtube embeded link to blog post (#7220) Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> * feat(docs): add quick section to blog after the prompt (#7221) Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> * DC-5242 Astro Better-Auth Guide (#7215) * doc created * nextjs betterauth fixed * guide broken down into manageable steps * image added * Optimised images with calibre/image-actions * image updated * Optimised images with calibre/image-actions * lychee only comments on broken links * config updated * lychee updated based on CR comment * chore: trigger CI checks * ignore gnu * fix: update naming to better-auth DC-6120 * Optimised images with calibre/image-actions * chore: shorten word --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> * feat: restructure getting started side nav * DC-5841 Removed Linkspector (#7231) * removed linkspector * retrigger * retrigger * retrigger * Update label for Prisma Postgres tab (#7236) * fix: content changes for getting started page (#7216) * fix: content changes for getting started page * fix: add redirects * getting started checkpoint * css styles fixed * updates --------- Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com> Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com> * DC-5820 AI Agents Served Markdown (#7237) * ai crawler check successful * ai crawlers checked * update * added anthropic * middleware update * improve detection --------- Co-authored-by: Mike Hartington <mikehartington@gmail.com> * feat: add prisma-orm quickstarts * fix: update times and add proper links * fix: instropspect changes * feat: add get started from prisma orm page * feat: add other orms * fix: update other tools + ppg * fix: add more clarity * fix: add prisma postgres * feat: clear migrate from early access * fix: add to existing dbs sections * Remove MCP server exploration tip (#7241) Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work. * fix: clean-up docs files * fix: typeorm missing urls * fix: broken link * fix: update titles * fix: clear redirect loop (#7250) * fix: add generate step + sqlite fixes * fix: clean-up redirects file DC-6228 * fix: clean-up unnecessary file * fix: remove unknown word * fix: add links --------- Co-authored-by: Arthur <arthur_gamby@hotmail.fr> Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Petra Donka <donkapetra@gmail.com> Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com> Co-authored-by: Mike Hartington <mikehartington@gmail.com>
* update * use pg adapter instead of accelerate * update * add dotenv in prisma.config.ts * fix warning note * update * update
* (feat) Update guides to use prisma.config.ts * refactor: Updated guides for Prisma 7 changes --------- Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>
* feat: add kysley * feat: add drizzle * feat: add typeorm * fix: clean-up * feat: separate the sections better * fix: remove badges
* feat: add kysley * feat: add drizzle * feat: add typeorm * fix: clean-up * fix: update prisma init command changes * feat: update prisma cli docs * fix: clarify the usage of prisma init better * fix: add type defs * feat: add pg as a dependency * fix: broken internal link
* feat: add mentions of new Prisma Studio * feat: add note for Studio for SQLite * Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx * Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx * fix: make prisma studio docs more accurate * fix: add missing punctuation
* feat: add mention of mongo support coming for mongo * fix: refinements * Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx
…ng/240-metrics.mdx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx (1)
13-19: Page structure undermines the removal notice—visible placeholder comments create confusing UX for users redirected here.The danger admonition (lines 13–19) is clear and correct. However, the file contains approximately 13 instances of bare
/* Lines X-Y omitted */comments throughout the page that will render as visible text in the final output—these are not proper MDX comments (which would use{/* */}syntax).Additionally, old section headers ("Prerequisites," "Retrieve metrics in JSON format," "Retrieve metrics in Prometheus format," "Global labels") remain intact with their content replaced by visible placeholders. The
_redirectsconfiguration routes old URLs directly to this page, meaning users arriving via redirects will see the removal notice followed by sections with visible placeholder text—creating an incomplete and confusing experience.To fix:
- Replace bare
/* */comments with proper hidden MDX syntax or remove entirely. The visible placeholders undermine clarity.- Choose one approach for the page structure:
- Minimal removal page: Keep only the danger admonition (lines 13–19) and a brief "See alternatives" section with links to driver metrics docs and OpenTelemetry tracing. Delete all old headers and placeholders.
- Complete removal: Delete the page entirely and ensure
_redirectsroutes to the alternatives (e.g., observability documentation landing page).- Update the Prerequisites section if kept—it currently instructs users to install v3.15.0–6.13.x, which is now outdated and contradicts the removal notice.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx(1 hunks)content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx(9 hunks)
🧰 Additional context used
🧠 Learnings (5)
📓 Common learnings
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:85-90
Timestamp: 2025-10-08T16:23:00.388Z
Learning: For .mdx files in the prisma/docs repository: Only flag code snippets for (1) exposed secrets with real-looking values that should be placeholders (e.g., API keys, database passwords, AWS credentials), or (2) blatant syntax errors like missing parentheses, brackets, braces, or mismatched delimiters. Do not flag code quality issues, anti-patterns, security vulnerabilities, missing error handling, unused variables, or any other bad practices, as documentation intentionally shows problematic code.
📚 Learning: 2025-10-08T16:23:00.388Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:85-90
Timestamp: 2025-10-08T16:23:00.388Z
Learning: For .mdx files in the prisma/docs repository: Only flag code snippets for (1) exposed secrets with real-looking values that should be placeholders (e.g., API keys, database passwords, AWS credentials), or (2) blatant syntax errors like missing parentheses, brackets, braces, or mismatched delimiters. Do not flag code quality issues, anti-patterns, security vulnerabilities, missing error handling, unused variables, or any other bad practices, as documentation intentionally shows problematic code.
Applied to files:
content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx
📚 Learning: 2025-10-08T16:22:57.129Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:50-66
Timestamp: 2025-10-08T16:22:57.129Z
Learning: In `.mdx` files, do NOT flag or suggest changes for the following code quality issues even if they represent poor practices: React anti-patterns (using var instead of useState, direct DOM manipulation), missing keys in .map() iterations, non-serializable props in getServerSideProps, unused variables, missing error handling, SQL injection vulnerabilities (unless actively showing how to fix them), insecure cookie settings, missing TypeScript types, PrismaClient instantiation patterns, or any other code quality, security, or performance issues. Documentation code snippets are copied from source code and often intentionally show "before" examples or common mistakes.
Applied to files:
content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx
📚 Learning: 2025-08-11T09:40:55.237Z
Learnt from: ankur-arch
Repo: prisma/docs PR: 7066
File: content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/245-troubleshooting-binary-size-issues.mdx:8-22
Timestamp: 2025-08-11T09:40:55.237Z
Learning: When the queryCompiler preview feature is enabled in Prisma ORM (v6.7.0+), it does not require Rust engines for CLI tools like `prisma migrate` or `prisma db pull`. The previous understanding that CLI tools would still need Rust binaries even with queryCompiler enabled is incorrect.
Applied to files:
content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx
📚 Learning: 2025-10-09T21:32:50.340Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7167
File: content/900-ai/prompts/astro.mdx:84-84
Timestamp: 2025-10-09T21:32:50.340Z
Learning: The `npx prisma init` command supports the following flags: `--db` (shorthand for `--datasource-provider prisma+postgres`), `--output` (specifies output location for generated client), `--generator-provider` (defines the generator provider), `--datasource-provider`, `--url`, `--preview-feature`, and `--with-model`. These are documented valid CLI options for Prisma init command.
Applied to files:
content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx
🪛 LanguageTool
content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx
[grammar] ~89-~89: Use a hyphen to join words.
Context: ...rvability-and-logging/logging) and built in APIs provided by the driver adapter b...
(QB_NEW_EN_HYPHEN)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Cloudflare Pages
...-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx
Outdated
Show resolved
Hide resolved
…050-databases-connections/115-connection-pool.mdx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
🍈 Lychee Link Check Report
📊 Results Overview
Errors per inputErrors in 200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx
|
d68abc3 to
e92f2a3
Compare
🍈 Lychee Link Check Report
📊 Results Overview
Errors per inputErrors in 200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx
|
* DC-5044 `prisma-client-js` deprecated (#7219) * `prisma-client-js` deprecated * chore: empty commit * broken link updated * DC-5040 Env Vars via Config (#7227) * added env vars section to various pages * minor coderabbit updates * verbose removed * test removed redirect list * removed quickstart addition * converted quickstarts back * urls deprecated (#7226) * minimum version uodated (#7234) * DC-5043 Middleware removed from docs (#7233) * middleware deleted * more middleware removed * more middleware removed * coderabbit changes * DC-6174: Remove adapter, engine, directUrl, studio from config (#7256) * feat: add new features * fix: revert links * fix: broken links * fix: broken link * feat: restructure getting started side nav (#7245) * feat(docs): add youtube embeded link to blog post (#7220) Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> * feat(docs): add quick section to blog after the prompt (#7221) Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> * DC-5242 Astro Better-Auth Guide (#7215) * doc created * nextjs betterauth fixed * guide broken down into manageable steps * image added * Optimised images with calibre/image-actions * image updated * Optimised images with calibre/image-actions * lychee only comments on broken links * config updated * lychee updated based on CR comment * chore: trigger CI checks * ignore gnu * fix: update naming to better-auth DC-6120 * Optimised images with calibre/image-actions * chore: shorten word --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> * feat: restructure getting started side nav * DC-5841 Removed Linkspector (#7231) * removed linkspector * retrigger * retrigger * retrigger * Update label for Prisma Postgres tab (#7236) * fix: content changes for getting started page (#7216) * fix: content changes for getting started page * fix: add redirects * getting started checkpoint * css styles fixed * updates --------- Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com> Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com> * DC-5820 AI Agents Served Markdown (#7237) * ai crawler check successful * ai crawlers checked * update * added anthropic * middleware update * improve detection --------- Co-authored-by: Mike Hartington <mikehartington@gmail.com> * feat: add prisma-orm quickstarts * fix: update times and add proper links * fix: instropspect changes * feat: add get started from prisma orm page * feat: add other orms * fix: update other tools + ppg * fix: add more clarity * fix: add prisma postgres * feat: clear migrate from early access * fix: add to existing dbs sections * Remove MCP server exploration tip (#7241) Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work. * fix: clean-up docs files * fix: typeorm missing urls * fix: broken link * fix: update titles * fix: clear redirect loop (#7250) * fix: add generate step + sqlite fixes * fix: clean-up redirects file DC-6228 * fix: clean-up unnecessary file * fix: remove unknown word * fix: add links --------- Co-authored-by: Arthur <arthur_gamby@hotmail.fr> Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Petra Donka <donkapetra@gmail.com> Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com> Co-authored-by: Mike Hartington <mikehartington@gmail.com> * feat: update .env docs DC-6204 (#7259) * fix: clarify config file path better (#7261) * Update ORM docs (#7260) * update * use pg adapter instead of accelerate * update * add dotenv in prisma.config.ts * fix warning note * update * update * Update guides to use prisma.config.ts (#7243) * (feat) Update guides to use prisma.config.ts * refactor: Updated guides for Prisma 7 changes --------- Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com> * feat: update ppg for other dbs section (#7264) * feat: add kysley * feat: add drizzle * feat: add typeorm * fix: clean-up * feat: separate the sections better * fix: remove badges * feat: update prisma init related changes in other parts (#7267) * feat: add kysley * feat: add drizzle * feat: add typeorm * fix: clean-up * fix: update prisma init command changes * feat: update prisma cli docs * fix: clarify the usage of prisma init better * fix: add type defs * feat: add pg as a dependency * fix: broken internal link * Update docs to perform migrations with connection pooling and Prisma config (#7266) * feat: add mentions of new Prisma Studio (#7270) * feat: add mentions of new Prisma Studio * feat: add note for Studio for SQLite * Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx * Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx * fix: make prisma studio docs more accurate * fix: add missing punctuation * feat: add mention of mongo support coming for P7 (#7271) * feat: add mention of mongo support coming for mongo * fix: refinements * Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx * (feat) Removes Accelerate specific instructions for Prisma Postgres (#7268) * (feat) Removes Accelerate specific instructions for Prisma Postgres * feat: update Deno integration guide to include additional development dependencies * Update Cloudflare D1 Guides (#7273) * feat: update serverless driver docs (#7272) * feat: update serverless driver docs * feat: add connection pool defaults * feat: add query caching steps for prisma postgres * Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx * Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/index.mdx * Update content/200-orm/050-overview/500-databases/200-database-drivers.mdx * Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx * docs(): add v7 migration guide (#7249) * docs(): add v7 migration guide * docs(): update based on feedback * Update content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/400-upgrading-to-prisma-7.mdx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * docs(): update based on feedback * docs(): update based on feedback * docs(): update based on feedback --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * update turso guide (#7274) * (feat) Explicitly running prisma generate after migrate dev command and import updates (#7276) * Update nuxt guides (#7275) * update nuxt guide * update * broken link fix * broken link fixed * fix: add SQLite notes (#7277) * fix: add SQLite notes * fix: update serverless driver doc * feat: add callout * Prisma 7 merge fix (#7278) * feat(docs): add youtube embeded link to blog post (#7220) Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> * feat(docs): add quick section to blog after the prompt (#7221) Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> * DC-5242 Astro Better-Auth Guide (#7215) * doc created * nextjs betterauth fixed * guide broken down into manageable steps * image added * Optimised images with calibre/image-actions * image updated * Optimised images with calibre/image-actions * lychee only comments on broken links * config updated * lychee updated based on CR comment * chore: trigger CI checks * ignore gnu * fix: update naming to better-auth DC-6120 * Optimised images with calibre/image-actions * chore: shorten word --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> * DC-5841 Removed Linkspector (#7231) * removed linkspector * retrigger * retrigger * retrigger * Update label for Prisma Postgres tab (#7236) * fix: content changes for getting started page (#7216) * fix: content changes for getting started page * fix: add redirects * getting started checkpoint * css styles fixed * updates --------- Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com> Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com> * DC-5820 AI Agents Served Markdown (#7237) * ai crawler check successful * ai crawlers checked * update * added anthropic * middleware update * improve detection --------- Co-authored-by: Mike Hartington <mikehartington@gmail.com> * Remove MCP server exploration tip (#7241) Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work. * fix: clear redirect loop (#7250) * Fix typo in environment variables reference (#7193) * Fix typo in environment variables reference * remove duplicate can be --------- Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> * chore(): add summary sections to top pages (#7228) * DC-6234 Getting Started Page Updates (#7254) * arrow added * quickstart card hover * always copy button added * hover effect on copy button * spcaer added * pointless css removed * updaets * fuctional * revewrt * fixed for mobile * link fix --------- Co-authored-by: Arthur <arthur_gamby@hotmail.fr> Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Co-authored-by: Petra Donka <donkapetra@gmail.com> Co-authored-by: Mike Hartington <mikehartington@gmail.com> Co-authored-by: Odysseus Zhang <b1fzhang@gmail.com> Co-authored-by: Mike Hartington <mhartington@users.noreply.github.com> * spell check words added * Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx * `pgcrypto` added to spellcheck * Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx * Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx * Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> * docs(): add note about vscode version pinning (#7279) * docs(): add note about vscode version pinning * Optimised images with calibre/image-actions * Update content/250-postgres/350-integrations/500-vscode.mdx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * docs(postgres): remove accelerate reference (#7246) * DC-5044 `prisma-client-js` deprecated (#7219) * `prisma-client-js` deprecated * chore: empty commit * broken link updated * DC-5040 Env Vars via Config (#7227) * added env vars section to various pages * minor coderabbit updates * verbose removed * test removed redirect list * removed quickstart addition * converted quickstarts back * urls deprecated (#7226) * minimum version uodated (#7234) * DC-5043 Middleware removed from docs (#7233) * middleware deleted * more middleware removed * more middleware removed * coderabbit changes * DC-6174: Remove adapter, engine, directUrl, studio from config (#7256) * feat: add new features * fix: revert links * fix: broken links * fix: broken link * feat: restructure getting started side nav (#7245) * feat(docs): add youtube embeded link to blog post (#7220) Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> * feat(docs): add quick section to blog after the prompt (#7221) Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> * DC-5242 Astro Better-Auth Guide (#7215) * doc created * nextjs betterauth fixed * guide broken down into manageable steps * image added * Optimised images with calibre/image-actions * image updated * Optimised images with calibre/image-actions * lychee only comments on broken links * config updated * lychee updated based on CR comment * chore: trigger CI checks * ignore gnu * fix: update naming to better-auth DC-6120 * Optimised images with calibre/image-actions * chore: shorten word --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> * feat: restructure getting started side nav * DC-5841 Removed Linkspector (#7231) * removed linkspector * retrigger * retrigger * retrigger * Update label for Prisma Postgres tab (#7236) * fix: content changes for getting started page (#7216) * fix: content changes for getting started page * fix: add redirects * getting started checkpoint * css styles fixed * updates --------- Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com> Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com> * DC-5820 AI Agents Served Markdown (#7237) * ai crawler check successful * ai crawlers checked * update * added anthropic * middleware update * improve detection --------- Co-authored-by: Mike Hartington <mikehartington@gmail.com> * feat: add prisma-orm quickstarts * fix: update times and add proper links * fix: instropspect changes * feat: add get started from prisma orm page * feat: add other orms * fix: update other tools + ppg * fix: add more clarity * fix: add prisma postgres * feat: clear migrate from early access * fix: add to existing dbs sections * Remove MCP server exploration tip (#7241) Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work. * fix: clean-up docs files * fix: typeorm missing urls * fix: broken link * fix: update titles * fix: clear redirect loop (#7250) * fix: add generate step + sqlite fixes * fix: clean-up redirects file DC-6228 * fix: clean-up unnecessary file * fix: remove unknown word * fix: add links --------- Co-authored-by: Arthur <arthur_gamby@hotmail.fr> Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Petra Donka <donkapetra@gmail.com> Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com> Co-authored-by: Mike Hartington <mikehartington@gmail.com> * feat: update .env docs DC-6204 (#7259) * fix: clarify config file path better (#7261) * Update ORM docs (#7260) * update * use pg adapter instead of accelerate * update * add dotenv in prisma.config.ts * fix warning note * update * update * Update guides to use prisma.config.ts (#7243) * (feat) Update guides to use prisma.config.ts * refactor: Updated guides for Prisma 7 changes --------- Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com> * feat: update ppg for other dbs section (#7264) * feat: add kysley * feat: add drizzle * feat: add typeorm * fix: clean-up * feat: separate the sections better * fix: remove badges * feat: update prisma init related changes in other parts (#7267) * feat: add kysley * feat: add drizzle * feat: add typeorm * fix: clean-up * fix: update prisma init command changes * feat: update prisma cli docs * fix: clarify the usage of prisma init better * fix: add type defs * feat: add pg as a dependency * fix: broken internal link * Update docs to perform migrations with connection pooling and Prisma config (#7266) * feat: add mentions of new Prisma Studio (#7270) * feat: add mentions of new Prisma Studio * feat: add note for Studio for SQLite * Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx * Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx * fix: make prisma studio docs more accurate * fix: add missing punctuation * feat: add mention of mongo support coming for P7 (#7271) * feat: add mention of mongo support coming for mongo * fix: refinements * Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx * docs(postgres): remove accelerate reference Remove reference to accelerate and rework the docs to account for the new v7 changes * Optimised images with calibre/image-actions * docs(): update with feedback * Optimised images with calibre/image-actions * docs(ppg): updates * docs(): update based on feedback * docs(): update based on feedback --------- Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com> Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Co-authored-by: Arthur <arthur_gamby@hotmail.fr> Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Petra Donka <donkapetra@gmail.com> Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com> Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com> Co-authored-by: Nurul Sundarani <sundarani@prisma.io> * docs(metrics): remove metrics API (#7248) * DC-5044 `prisma-client-js` deprecated (#7219) * `prisma-client-js` deprecated * chore: empty commit * broken link updated * DC-5040 Env Vars via Config (#7227) * added env vars section to various pages * minor coderabbit updates * verbose removed * test removed redirect list * removed quickstart addition * converted quickstarts back * urls deprecated (#7226) * minimum version uodated (#7234) * DC-5043 Middleware removed from docs (#7233) * middleware deleted * more middleware removed * more middleware removed * coderabbit changes * docs(metrics): remove metrics API * DC-6174: Remove adapter, engine, directUrl, studio from config (#7256) * feat: add new features * fix: revert links * fix: broken links * fix: broken link * feat: restructure getting started side nav (#7245) * feat(docs): add youtube embeded link to blog post (#7220) Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> * feat(docs): add quick section to blog after the prompt (#7221) Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> * DC-5242 Astro Better-Auth Guide (#7215) * doc created * nextjs betterauth fixed * guide broken down into manageable steps * image added * Optimised images with calibre/image-actions * image updated * Optimised images with calibre/image-actions * lychee only comments on broken links * config updated * lychee updated based on CR comment * chore: trigger CI checks * ignore gnu * fix: update naming to better-auth DC-6120 * Optimised images with calibre/image-actions * chore: shorten word --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> * feat: restructure getting started side nav * DC-5841 Removed Linkspector (#7231) * removed linkspector * retrigger * retrigger * retrigger * Update label for Prisma Postgres tab (#7236) * fix: content changes for getting started page (#7216) * fix: content changes for getting started page * fix: add redirects * getting started checkpoint * css styles fixed * updates --------- Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com> Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com> * DC-5820 AI Agents Served Markdown (#7237) * ai crawler check successful * ai crawlers checked * update * added anthropic * middleware update * improve detection --------- Co-authored-by: Mike Hartington <mikehartington@gmail.com> * feat: add prisma-orm quickstarts * fix: update times and add proper links * fix: instropspect changes * feat: add get started from prisma orm page * feat: add other orms * fix: update other tools + ppg * fix: add more clarity * fix: add prisma postgres * feat: clear migrate from early access * fix: add to existing dbs sections * Remove MCP server exploration tip (#7241) Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work. * fix: clean-up docs files * fix: typeorm missing urls * fix: broken link * fix: update titles * fix: clear redirect loop (#7250) * fix: add generate step + sqlite fixes * fix: clean-up redirects file DC-6228 * fix: clean-up unnecessary file * fix: remove unknown word * fix: add links --------- Co-authored-by: Arthur <arthur_gamby@hotmail.fr> Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Petra Donka <donkapetra@gmail.com> Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com> Co-authored-by: Mike Hartington <mikehartington@gmail.com> * feat: update .env docs DC-6204 (#7259) * fix: clarify config file path better (#7261) * Update ORM docs (#7260) * update * use pg adapter instead of accelerate * update * add dotenv in prisma.config.ts * fix warning note * update * update * Update guides to use prisma.config.ts (#7243) * (feat) Update guides to use prisma.config.ts * refactor: Updated guides for Prisma 7 changes --------- Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com> * feat: update ppg for other dbs section (#7264) * feat: add kysley * feat: add drizzle * feat: add typeorm * fix: clean-up * feat: separate the sections better * fix: remove badges * feat: update prisma init related changes in other parts (#7267) * feat: add kysley * feat: add drizzle * feat: add typeorm * fix: clean-up * fix: update prisma init command changes * feat: update prisma cli docs * fix: clarify the usage of prisma init better * fix: add type defs * feat: add pg as a dependency * fix: broken internal link * Update docs to perform migrations with connection pooling and Prisma config (#7266) * feat: add mentions of new Prisma Studio (#7270) * feat: add mentions of new Prisma Studio * feat: add note for Studio for SQLite * Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx * Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx * fix: make prisma studio docs more accurate * fix: add missing punctuation * feat: add mention of mongo support coming for P7 (#7271) * feat: add mention of mongo support coming for mongo * fix: refinements * Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx * Restore content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx * docs(): update based on feedback * Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com> Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Co-authored-by: Arthur <arthur_gamby@hotmail.fr> Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Petra Donka <donkapetra@gmail.com> Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com> Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com> Co-authored-by: Nurul Sundarani <sundarani@prisma.io> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * fix build errors * fix * Add callout for bun and sqlite (#7280) * Add caalout for bun and sqlite * add link to bun docs * fix: get started path url (#7281) * fix: clarify studio better (#7282) * feat: add connection pooling gif (#7284) --------- Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com> Co-authored-by: Arthur <arthur_gamby@hotmail.fr> Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Petra Donka <donkapetra@gmail.com> Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com> Co-authored-by: Mike Hartington <mikehartington@gmail.com> Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com> Co-authored-by: Nurul Sundarani <sundarani@prisma.io> Co-authored-by: Mike Hartington <mhartington@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Odysseus Zhang <b1fzhang@gmail.com>
Summary by CodeRabbit
Documentation