fix(docs): point tracing install guides at the real viewer URL - #19963
Merged
Conversation
The "View your traces in PostHog" button linked to https://app.posthog.com/traces, which is not a route and renders the 404 scene. The viewer lives at /tracing. Fixes the link in the shared next-steps snippet and in the inline copy that each of the eight language guides carries, so both buttons on a page now resolve.
Contributor
Deploy preview
|
christiaan-ph
marked this pull request as ready for review
September 4, 2026 11:03
Contributor
|
Vale prose linter → found 3 errors, 4 warnings, 0 suggestions in your markdown Full report → Copy the linter results into an LLM to batch-fix issues. Linter being weird? Update the rules!
|
| Line | Severity | Message | Rule |
|---|---|---|---|
| 3:15 | warning | 'dotnet' is a possible misspelling. | PostHogBase.Spelling |
contents/docs/distributed-tracing/installation/nextjs.mdx — 3 errors, 1 warnings, 0 suggestions
| Line | Severity | Message | Rule |
|---|---|---|---|
| 36:52 | 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 |
| 36:57 | warning | Use 'X' instead of 'x'. | Vale.Terms |
| 36:193 | 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 |
| 140:135 | 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 |
contents/docs/distributed-tracing/installation/nodejs.mdx — 0 errors, 1 warnings, 0 suggestions
| Line | Severity | Message | Rule |
|---|---|---|---|
| 3:15 | warning | 'nodejs' is a possible misspelling. | PostHogBase.Spelling |
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 |
Contributor
Bundle reportTotal JS (gzip)8.16 MiB (+0.0 KiB / +0.0%) Eager graph (modules shipped in each entrypoint's initial chunks)
Largest modules in the
|
| Module | Size |
|---|---|
./src/data/mcp-tools.json |
1080.2 KiB |
css ./node_modules/.pnpm/css-loader@5.2.7_webpack@5.101.3/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[1]!./node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.5.6_webpack@5.101.3/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[2]!./src/styles/global.css |
758.8 KiB |
./src/components/Stickers/Stickers.tsx |
696.4 KiB |
./node_modules/.pnpm/@radix-ui+react-icons@1.3.2_react@18.3.1/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js |
481.4 KiB |
./node_modules/.pnpm/@posthog+brand@0.8.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/x-ray.mjs |
480.8 KiB |
./node_modules/.pnpm/rehype-raw@7.0.0/node_modules/rehype-raw/lib/index.js + 29 modules |
395.1 KiB |
./node_modules/.pnpm/@posthog+brand@0.8.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/im-the-driver.mjs |
385.7 KiB |
./src/hooks/useCustomers.tsx + 55 modules |
370.0 KiB |
./node_modules/.pnpm/@posthog+icons@0.36.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js |
354.8 KiB |
./node_modules/.pnpm/react-markdown@8.0.7_@types+react@16.14.66_react@18.3.1/node_modules/react-markdown/lib/react-markdown.js + 88 modules |
351.4 KiB |
./src/components/ProductComparisonTable/index.tsx + 126 modules |
301.8 KiB |
./node_modules/.pnpm/cloudinary-core@2.14.0_lodash@4.17.21/node_modules/cloudinary-core/cloudinary-core.js |
281.9 KiB |
./node_modules/.pnpm/@posthog+brand@0.8.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/doll-house.mjs |
281.7 KiB |
./node_modules/.pnpm/@posthog+brand@0.8.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/director.mjs |
275.6 KiB |
./src/components/SearchUI/index.tsx + 87 modules |
273.0 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).
christiaan-ph
marked this pull request as draft
September 4, 2026 11:19
DanielVisca
self-requested a review
September 4, 2026 14:46
DanielVisca
approved these changes
Sep 4, 2026
DanielVisca
left a comment
Contributor
There was a problem hiding this comment.
🤟🏽 Thanks for catching this!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Anyone following a distributed tracing install guide hits a 404 when they click the button that should show them their traces. The guides link to
https://app.posthog.com/traces, which is not a route, so the app renders its "Page not found" scene. The viewer is at/tracing._snippets/tracing-next-steps.mdxblock it imports. This fixes both.contents/blog/traces-beta.mdxalready used/tracing, so the correct URL was in the repo and the install guides drifted from it.The change is 9 identical one-line URL edits and nothing else.
The duplicate button is left alone. Collapsing the inline copies onto the snippet is the right cleanup, but it restructures the steps on 8 pages and would conflict with #19837, which already edits
nodejs.mdxandnextjs.mdx.Nothing looks different apart from where the button goes, so there are no screenshots.
The metrics install guides link to
https://app.posthog.com/metrics, which is a real route. Those are untouched.Verification
app.posthog.com/tracesreturns the 404 scene, confirmed in the app against a live project.app.posthog.com/traces, and nous.posthog.com/tracesoreu.posthog.com/tracesvariants.Checklist
vercel.jsonThe relative-URL box stays unchecked on purpose. These links point at the PostHog app, not at a posthog.com page, so they have to stay absolute. No page moved, so no redirect is needed.
🤖 Agent context
Autonomy: Claude Code wrote this change; a human directed it and reviews it.
Found while investigating a support ticket. A customer sent OpenTelemetry logs, metrics and traces, got HTTP 200 for all three, and reported they could not find any trace UI. Their traces had ingested correctly the whole time. They clicked this button, landed on the 404, and concluded the product did not support their data.
Skills invoked:
/writing-pr-descriptions.Verified before the edit:
/tracingis the registered route infrontend/src/products.tsx, and no/tracesroute or redirect exists in the app.