Skip to content

docs: explain backend span context setup - #21313

Draft
pauldambra wants to merge 3 commits into
masterfrom
posthog/backend-span-context-docs
Draft

pauldambra wants to merge 3 commits into
masterfrom
posthog/backend-span-context-docs

Conversation

@pauldambra

@pauldambra pauldambra commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

[Robot] Prepared with PostHog Desktop on behalf of @pauldambra.

Changes

Backend users need to connect application spans to the person and session that caused a request. Add setup steps to the existing SDK and backend framework guides. Reuse each application's PostHog client and tracing provider. State the setup order, request lifetime, explicit identity rules, and background-work limits.

The Node guides cover Express, Fastify, Hono, NestJS, Next.js, Nuxt, SvelteKit, Remix, React Router, Astro, and TanStack Start. The Workers guide uses explicit event IDs because its edge client has no working ambient context bridge. The Convex guide passes IDs explicitly between functions and uses the Node bridge only in Node actions. PHP Fiber, Phoenix adapter/process, and sampled-parent limits are explicit. Python and Django settings match SDK 7.71.0.

Release gate: Keep this PR in draft until the linked SDK changes are merged and released. Add the exact minimum PostHog package versions before this docs PR becomes ready. This PR does not mean the new APIs are available in published packages.

Tracks sdk-specs#128. Implementation PRs: Node.js, Python bridge, Python adapters, Ruby/Rails, Go, .NET, PHP, Elixir, Next.js/Nuxt, and Active Job.

Validation:

  • Loaded the changed guides in the local Gatsby browser before and after the edits. Each checked page returned HTTP 200 with no new console error signatures or page exceptions.
  • Checked the examples against real framework runtimes, including concurrent requests, error paths, explicit IDs, and expired scopes. Workers and Convex limits come from runtime checks, rather than an assumption that all Node APIs work there.
  • Ran the repository MDX formatting and normal commit hooks. Preserved existing frontmatter and unrelated formatting. git diff --check passes.
  • The Vercel preview remains unchecked. The release gate below remains open until the required SDK versions exist.

Models: GPT-6 (Codex) and GPT-6 Astra, through PostHog Desktop. Used the GitHub CLI, framework runtimes, local Gatsby tools, and Playwright. Human-driven, agent-assisted work.

Checklist

  • I've read the docs and/or content style guides.
  • Words are spelled using American English
  • Use relative URLs for internal links
  • I've checked the pages added or changed in the Vercel preview build
  • If I moved a page, I added a redirect in vercel.json

Created with PostHog Desktop

Generated-By: PostHog Desktop
Task-Id: 5681be44-4986-48db-b140-1bda88f75f96
@pauldambra pauldambra self-assigned this Oct 17, 2026
@github-actions github-actions Bot added docs Improvements or additions to product documentation, "Docs" content PR only touches files under contents/ labels Oct 17, 2026
@github-actions

github-actions Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Deploy preview

Status Details Updated (UTC)
🟢 Ready View preview Oct 17, 2026 10:46PM

Changed pages

Page Source
.NET tracing installation contents/docs/distributed-tracing/installation/dotnet.mdx
Go tracing installation contents/docs/distributed-tracing/installation/go.mdx
Node.js tracing installation contents/docs/distributed-tracing/installation/nodejs.mdx
PHP tracing installation contents/docs/distributed-tracing/installation/php.mdx
Python tracing installation contents/docs/distributed-tracing/installation/python.mdx
Astro contents/docs/libraries/astro.mdx
Cloudflare Workers contents/docs/libraries/cloudflare-workers.mdx
Convex contents/docs/libraries/convex.mdx
Elixir contents/docs/libraries/elixir/index.mdx
Fastify contents/docs/libraries/fastify.mdx
Hono contents/docs/libraries/hono.mdx
NestJS contents/docs/libraries/nestjs.mdx
Next.js: @posthog/next contents/docs/libraries/next-js/posthog-next.mdx
Nuxt.js contents/docs/libraries/nuxt-js.mdx
Phoenix contents/docs/libraries/phoenix.mdx
Python contents/docs/libraries/python/index.mdx
React Router V7 framework mode (Remix V3) contents/docs/libraries/react-router/react-router-v7-framework-mode.mdx
Remix contents/docs/libraries/remix.mdx
Ruby on Rails contents/docs/libraries/ruby-on-rails.mdx
Svelte contents/docs/libraries/svelte.mdx
TanStack Start contents/docs/libraries/tanstack-start.mdx

@github-actions

github-actions Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Vale prose linter → found 8 errors, 180 warnings, 11 suggestions in your markdown

Full report → Copy the linter results into an LLM to batch-fix issues.

Linter being weird? Update the rules!

contents/docs/distributed-tracing/installation/dotnet.mdx — 0 errors, 2 warnings, 0 suggestions
Line Severity Message Rule
3:15 warning 'dotnet' is a possible misspelling. PostHogBase.Spelling
107:178 warning 'untrusted' is a possible misspelling. PostHogBase.Spelling
contents/docs/distributed-tracing/installation/nodejs.mdx — 0 errors, 2 warnings, 0 suggestions
Line Severity Message Rule
3:15 warning 'nodejs' is a possible misspelling. PostHogBase.Spelling
118:4 warning 'With OpenTelemetry' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
contents/docs/distributed-tracing/installation/php.mdx — 0 errors, 1 warnings, 0 suggestions
Line Severity Message Rule
3:15 warning Use 'PHP' instead of 'php'. Vale.Terms
contents/docs/distributed-tracing/installation/python.mdx — 0 errors, 2 warnings, 0 suggestions
Line Severity Message Rule
124:4 warning 'With OpenTelemetry' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
212:559 warning 'untrusted' is a possible misspelling. PostHogBase.Spelling
contents/docs/libraries/astro.mdx — 0 errors, 11 warnings, 0 suggestions
Line Severity Message Rule
10:18 warning Avoid trivializing words. 'easy to' can sound dismissive to the reader. PostHogDocs.Trivializers
10:219 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
42:144 warning Capitalize 'Endpoints' for PostHog's product. Use 'endpoints' for the general industry concept. PostHogBase.ProductNames
57:140 warning 'untrusted' is a possible misspelling. PostHogBase.Spelling
57:310 warning 'navigations' is a possible misspelling. PostHogBase.Spelling
61:162 warning 'middleware's' is a possible misspelling. PostHogBase.Spelling
80:55 warning 'Prerendered' is a possible misspelling. PostHogBase.Spelling
99:107 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
99:135 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
103:35 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
105:18 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
contents/docs/libraries/cloudflare-workers.mdx — 3 errors, 11 warnings, 0 suggestions
Line Severity Message Rule
90:5 warning Capitalize 'Error Tracking' for PostHog's product. Use 'Error tracking' for the general industry concept. PostHogBase.ProductNames
90:5 warning 'Error tracking' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
94:76 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
100:123 warning 'untrusted' is a possible misspelling. PostHogBase.Spelling
135:153 warning 'waitUntil' is a possible misspelling. PostHogBase.Spelling
135:315 warning Use 'Cloudflare' instead of 'cloudflare'. Vale.Terms
141:81 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
157:42 warning 'polyfill' is a possible misspelling. PostHogBase.Spelling
157:51 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
167:32 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
169:15 warning 'waitUntil' is a possible misspelling. PostHogBase.Spelling
180:75 warning 'globals' is a possible misspelling. PostHogBase.Spelling
182:4 warning 'Durable Objects and local evaluation' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
198:13 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
contents/docs/libraries/convex.mdx — 3 errors, 9 warnings, 0 suggestions
Line Severity Message Rule
12:31 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
15:67 warning Capitalize 'Data Warehouse' for PostHog's product. Use 'data warehouse' for the general industry concept. PostHogBase.ProductNames
16:18 warning Capitalize 'Logs' for PostHog's product. Use 'logs' for the general industry concept. PostHogBase.ProductNames
38:1 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
39:1 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
43:175 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
120:49 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
169:17 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
393:27 warning Capitalize 'Logs' for PostHog's product. Use 'logs' for the general industry concept. PostHogBase.ProductNames
411:4 warning 'Trace LLM calls and Convex Agent' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
419:72 warning Capitalize 'Data Warehouse' for PostHog's product. Use 'data warehouse' for the general industry concept. PostHogBase.ProductNames
427:11 warning Capitalize 'Data Warehouse' for PostHog's product. Use 'data warehouse' for the general industry concept. PostHogBase.ProductNames
contents/docs/libraries/elixir/index.mdx — 0 errors, 10 warnings, 0 suggestions
Line Severity Message Rule
6:18 warning Use 'GitHub' instead of 'github'. Vale.Terms
6:29 warning Use 'PostHog' instead of 'posthog'. Vale.Terms
18:98 warning Use 'PostHog' instead of 'posthog'. Vale.Terms
95:4 warning Capitalize 'Feature Flags' for PostHog's product. Use 'Feature flags' for the general industry concept. PostHogBase.ProductNames
95:4 warning 'Feature flags' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
131:4 warning 'Error tracking' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
131:4 warning Capitalize 'Error Tracking' for PostHog's product. Use 'Error tracking' for the general industry concept. PostHogBase.ProductNames
133:1 warning Capitalize 'Error Tracking' for PostHog's product. Use 'Error tracking' for the general industry concept. PostHogBase.ProductNames
215:79 warning 'nkezhaya' is a possible misspelling. PostHogBase.Spelling
215:154 warning 'martosaur' is a possible misspelling. PostHogBase.Spelling
contents/docs/libraries/fastify.mdx — 0 errors, 10 warnings, 0 suggestions
Line Severity Message Rule
2:8 warning 'Fastify' is a possible misspelling. PostHogBase.Spelling
6:101 warning 'Fastify' is a possible misspelling. PostHogBase.Spelling
10:25 warning 'Fastify' is a possible misspelling. PostHogBase.Spelling
16:17 warning 'Fastify' is a possible misspelling. PostHogBase.Spelling
20:90 warning 'Fastify' is a possible misspelling. PostHogBase.Spelling
22:73 warning 'Fastify' is a possible misspelling. PostHogBase.Spelling
81:66 warning 'Fastify' is a possible misspelling. PostHogBase.Spelling
130:68 warning 'Fastify' is a possible misspelling. PostHogBase.Spelling
157:1 warning 'Fastify's' is a possible misspelling. PostHogBase.Spelling
161:97 warning 'Fastify' is a possible misspelling. PostHogBase.Spelling
contents/docs/libraries/hono.mdx — 0 errors, 7 warnings, 0 suggestions
Line Severity Message Rule
8:18 warning Avoid trivializing words. 'easy to' can sound dismissive to the reader. PostHogDocs.Trivializers
8:70 warning Use 'Hono' instead of 'hono'. Vale.Terms
8:162 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
69:4 warning 'Error tracking' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
69:4 warning Capitalize 'Error Tracking' for PostHog's product. Use 'Error tracking' for the general industry concept. PostHogBase.ProductNames
71:154 warning Capitalize 'Error Tracking' for PostHog's product. Use 'Error tracking' for the general industry concept. PostHogBase.ProductNames
132:15 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
contents/docs/libraries/nestjs.mdx — 0 errors, 2 warnings, 1 suggestions
Line Severity Message Rule
8:47 warning 'nestjs' is a possible misspelling. PostHogBase.Spelling
73:19 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
150:22 warning 'Fastify' is a possible misspelling. PostHogBase.Spelling
contents/docs/libraries/next-js/posthog-next.mdx — 0 errors, 6 warnings, 0 suggestions
Line Severity Message Rule
2:19 warning Use 'PostHog' instead of 'posthog'. Vale.Terms
9:23 warning Use 'PostHog' instead of 'posthog'. Vale.Terms
267:382 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
350:15 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
352:53 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
375:371 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
contents/docs/libraries/nuxt-js.mdx — 0 errors, 19 warnings, 0 suggestions
Line Severity Message Rule
9:57 warning Use 'Nuxt' instead of 'nuxt'. Vale.Terms
11:18 warning Avoid trivializing words. 'easy to' can sound dismissive to the reader. PostHogDocs.Trivializers
11:202 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
13:27 warning Use 'X' instead of 'x'. Vale.Terms
18:45 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
19:35 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
20:43 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
24:103 warning Use 'X' instead of 'x'. Vale.Terms
106:89 warning 'accessor' is a possible misspelling. PostHogBase.Spelling
171:4 warning 'Feature flags' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
171:4 warning Capitalize 'Feature Flags' for PostHog's product. Use 'Feature flags' for the general industry concept. PostHogBase.ProductNames
173:51 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
211:16 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
211:133 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
215:24 warning Use 'PostHog' instead of 'posthog'. Vale.Terms
221:106 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
221:134 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
226:18 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
228:18 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
contents/docs/libraries/phoenix.mdx — 0 errors, 2 warnings, 1 suggestions
Line Severity Message Rule
6:18 warning Avoid trivializing words. 'easy to' can sound dismissive to the reader. PostHogDocs.Trivializers
6:239 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
39:108 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
contents/docs/libraries/python/_snippets/django-context-middleware.mdx — 0 errors, 2 warnings, 3 suggestions
Line Severity Message Rule
5:252 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
43:64 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
55:59 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
61:76 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
72:5 warning 'Capture Django REST Framework exceptions' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
contents/docs/libraries/python/index.mdx — 0 errors, 38 warnings, 1 suggestions
Line Severity Message Rule
6:18 warning Use 'GitHub' instead of 'github'. Vale.Terms
6:37 warning Use 'PostHog' instead of 'posthog'. Vale.Terms
21:25 warning Avoid trivializing words. 'easy to' can sound dismissive to the reader. PostHogDocs.Trivializers
21:58 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
31:12 warning 'asyncio' is a possible misspelling. PostHogBase.Spelling
33:28 warning 'asyncio' is a possible misspelling. PostHogBase.Spelling
33:135 warning 'asyncio' is a possible misspelling. PostHogBase.Spelling
84:14 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
86:81 warning 'accessors' is a possible misspelling. PostHogBase.Spelling
102:90 warning 'accessors' is a possible misspelling. PostHogBase.Spelling
150:232 warning 'personless' is a possible misspelling. PostHogBase.Spelling
202:4 warning Capitalize 'Feature Flags' for PostHog's product. Use 'Feature flags' for the general industry concept. PostHogBase.ProductNames
202:4 warning 'Feature flags' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
204:189 warning 'accessors' is a possible misspelling. PostHogBase.Spelling
228:8 warning Capitalize 'Experiments' for PostHog's product. Use 'experiments' for the general industry concept. PostHogBase.ProductNames
228:55 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
228:128 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
240:28 warning Capitalize 'Experiments' for PostHog's product. Use 'experiments' for the general industry concept. PostHogBase.ProductNames
240:54 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
246:4 warning 'Error tracking' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
246:4 warning Capitalize 'Error Tracking' for PostHog's product. Use 'Error tracking' for the general industry concept. PostHogBase.ProductNames
329:8 warning Use 'PostHog' instead of 'posthog'. Vale.Terms
340:134 warning 'asyncio' is a possible misspelling. PostHogBase.Spelling
508:274 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
510:7 warning Use 'PostHog' instead of 'posthog'. Vale.Terms
536:62 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
536:100 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
538:117 warning Capitalize 'Logs' for PostHog's product. Use 'logs' for the general industry concept. PostHogBase.ProductNames
559:5 warning 'Enable TCP keepalive' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
559:16 warning 'keepalive' is a possible misspelling. PostHogBase.Spelling
561:5 warning 'keepalive' is a possible misspelling. PostHogBase.Spelling
569:18 warning 'keepalive' is a possible misspelling. PostHogBase.Spelling
626:47 warning Capitalize 'Logs' for PostHog's product. Use 'logs' for the general industry concept. PostHogBase.ProductNames
636:4 warning 'Serverless environments (Render/Lambda/...)' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
648:5 warning 'Asyncio' is a possible misspelling. PostHogBase.Spelling
658:106 warning 'Starlette' is a possible misspelling. PostHogBase.Spelling
658:117 warning 'Litestar' is a possible misspelling. PostHogBase.Spelling
660:16 warning 'Starlette' is a possible misspelling. PostHogBase.Spelling
677:5 warning 'middleware's' is a possible misspelling. PostHogBase.Spelling
contents/docs/libraries/react-router/react-router-v7-framework-mode.mdx — 0 errors, 3 warnings, 0 suggestions
Line Severity Message Rule
6:18 warning Use 'GitHub' instead of 'github'. Vale.Terms
6:37 warning Use 'PostHog' instead of 'posthog'. Vale.Terms
69:15 warning 'reactRouter' is a possible misspelling. PostHogBase.Spelling
contents/docs/libraries/remix.mdx — 0 errors, 7 warnings, 0 suggestions
Line Severity Message Rule
10:18 warning Avoid trivializing words. 'easy to' can sound dismissive to the reader. PostHogDocs.Trivializers
10:217 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
145:145 warning 'navigations' is a possible misspelling. PostHogBase.Spelling
180:107 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
180:135 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
184:35 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
186:18 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
contents/docs/libraries/ruby-on-rails.mdx — 0 errors, 21 warnings, 4 suggestions
Line Severity Message Rule
8:18 warning Avoid trivializing words. 'easy to' can sound dismissive to the reader. PostHogDocs.Trivializers
8:147 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
10:81 warning Use 'PostHog' instead of 'posthog'. Vale.Terms
26:23 warning 'Gemfile' is a possible misspelling. PostHogBase.Spelling
45:18 warning 'initializer' is a possible misspelling. PostHogBase.Spelling
47:49 warning 'initializer' is a possible misspelling. PostHogBase.Spelling
59:15 warning 'initializer' is a possible misspelling. PostHogBase.Spelling
93:5 warning Capitalize 'Feature Flags' for PostHog's product. Use 'Feature flags' for the general industry concept. PostHogBase.ProductNames
93:5 warning 'Feature flags' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
118:124 warning 'hardcoding' is a possible misspelling. PostHogBase.Spelling
118:198 warning 'initializer' is a possible misspelling. PostHogBase.Spelling
197:32 warning Capitalize 'Logs' for PostHog's product. Use 'logs' for the general industry concept. PostHogBase.ProductNames
199:4 warning 'Error tracking' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
199:4 warning Capitalize 'Error Tracking' for PostHog's product. Use 'Error tracking' for the general industry concept. PostHogBase.ProductNames
201:32 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
201:74 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
230:18 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
305:32 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
319:40 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
387:28 warning Capitalize 'Experiments' for PostHog's product. Use 'experiments' for the general industry concept. PostHogBase.ProductNames
473:83 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
495:15 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
498:5 warning Capitalize 'Feature Flags' for PostHog's product. Use 'Feature flags' for the general industry concept. PostHogBase.ProductNames
498:5 warning 'Feature flags not working' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
504:107 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
contents/docs/libraries/svelte.mdx — 0 errors, 12 warnings, 0 suggestions
Line Severity Message Rule
12:18 warning Avoid trivializing words. 'easy to' can sound dismissive to the reader. PostHogDocs.Trivializers
12:219 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
108:4 warning Capitalize 'Feature Flags' for PostHog's product. Use 'Feature flags' for the general industry concept. PostHogBase.ProductNames
108:4 warning 'Feature flags' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
110:20 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
132:20 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
153:4 warning 'Configuring session replay for server-side rendered apps' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
153:16 warning Capitalize 'Session Replay' for PostHog's product. Use 'session replay' for the general industry concept. PostHogBase.ProductNames
169:108 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
169:136 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
173:36 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
175:18 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
contents/docs/libraries/tanstack-start.mdx — 2 errors, 3 warnings, 1 suggestions
Line Severity Message Rule
8:78 warning Use 'TanStack' instead of 'tanstack'. Vale.Terms
18:19 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
19:17 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
101:39 warning Capitalize 'Logs' for PostHog's product. Use 'logs' for the general industry concept. PostHogBase.ProductNames
150:151 warning 'spoofable' is a possible misspelling. PostHogBase.Spelling
182:57 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress

@github-actions

github-actions Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Bundle report

Total JS (gzip)

10.37 MiB (+0.0 KiB / +0.0%)

Eager graph (modules shipped in each entrypoint's initial chunks)

Entrypoint Eager size Budget Modules
✅ app 20.75 MiB (+0.1 KiB / +0.0%) report-only 2121
Largest modules in the app closure
Module Size
./src/data/mcp-tools.json 1364.4 KiB
css ./node_modules/.pnpm/[email protected][email protected]/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[1]!./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[2]!./src/styles/global.css 818.7 KiB
./src/components/Stickers/Stickers.tsx 696.4 KiB
./node_modules/.pnpm/@[email protected][email protected]/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js 481.4 KiB
./node_modules/.pnpm/@[email protected][email protected]/node_modules/@posthog/brand/dist/generated/hoggies/svg/x-ray.mjs 481.2 KiB
./node_modules/.pnpm/@[email protected][email protected]/node_modules/@posthog/brand/dist/generated/hoggies/svg/trenchcoat.mjs 450.8 KiB
./node_modules/.pnpm/[email protected]/node_modules/rehype-raw/lib/index.js + 29 modules 395.1 KiB
./node_modules/.pnpm/@[email protected][email protected]/node_modules/@posthog/brand/dist/generated/hoggies/svg/im-the-driver.mjs 385.8 KiB
./src/hooks/useCustomers.tsx + 59 modules 380.8 KiB
./node_modules/.pnpm/@[email protected][email protected]/node_modules/@posthog/brand/dist/generated/hoggies/svg/tourist.mjs 364.6 KiB
./node_modules/.pnpm/@[email protected][email protected][email protected][email protected]/node_modules/@posthog/icons/dist/posthog-icons.es.js 354.8 KiB
./node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-markdown/lib/react-markdown.js + 88 modules 351.4 KiB
./src/components/ProductComparisonTable/index.tsx + 127 modules 310.3 KiB
./node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs + 127 modules 287.8 KiB
./node_modules/.pnpm/@[email protected][email protected]/node_modules/@posthog/brand/dist/generated/hoggies/svg/doll-house.mjs 284.1 KiB

Eager-graph budgets are report-only until a baseline is established. Sizes are gzip of public/**/*.js; eager size is webpack module source bytes for the modules actually shipped in the entrypoint's initial chunks (post-tree-shake).

Generated-By: PostHog Desktop
Task-Id: 5681be44-4986-48db-b140-1bda88f75f96
Generated-By: PostHog Desktop
Task-Id: 5681be44-4986-48db-b140-1bda88f75f96
@pauldambra

Copy link
Copy Markdown
Member Author

Note

🤖 Automated comment by QA Swarm — not written by a human

Verdict: ✅ APPROVE (round 1 @ 3c320bc)

Two review passes found no remaining issue in the 23 changed guides.

  • A router review covered the SDK installation guides and the Fastify, Hono, NestJS, SvelteKit, React Router, TanStack Start, Next.js, and Nuxt sections. It fixed one Fastify version problem.
  • A separate reviewer covered Remix, Astro, and Convex. It fixed two small Convex problems.
  • The examples reuse the existing client and tracing provider, treat browser headers as analytics context only, and state the request lifetime limits for each framework.
  • Local framework runs back the examples: Remix, Astro, Nuxt, Next.js 15, SvelteKit, React Router, TanStack Start, and Convex.

Before this leaves draft

  • Add the real minimum SDK versions after the SDK PRs are released.
  • The SDK PRs now skip span IDs for disabled clients. Add one sentence about this to each setup section. The JVM span setup is not in these docs.

Automated by QA Swarm. Human review is required. This comment does not approve a merge or release.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content PR only touches files under contents/ docs Improvements or additions to product documentation, "Docs"

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant