Skip to content

refactor(rename): use "AI observability" for renamed LLM analytics product#2524

Merged
charlescook-ph merged 1 commit into
mainfrom
posthog-code/rename-llm-analytics-to-ai-observability
Jun 9, 2026
Merged

refactor(rename): use "AI observability" for renamed LLM analytics product#2524
charlescook-ph merged 1 commit into
mainfrom
posthog-code/rename-llm-analytics-to-ai-observability

Conversation

@charlescook-ph

Copy link
Copy Markdown
Contributor

Problem

PostHog renamed the LLM analytics product to AI observability. PostHog Code still showed the old name in several places in the UI, so the copy is now out of date.

Changes

Renamed all user-facing references from "LLM analytics" to "AI observability" (sentence case, matching the other product labels like "Web analytics" / "Session replay"):

  • Canonical product label in POSTHOG_PRODUCTS (packages/agent/src/posthog-products.ts) — drives the session "PostHog resources used" product chip.
  • Desktop inbox: signal-source label/icon badge, filter dropdown, signal card source line, and the signal-source toggles section header + "Learn about…" link.
  • Mobile inbox: signal card source line and filter sheet label.
  • Billing: token-spend banner copy (normalized the pre-existing "AI Observability" to sentence case) and the spend-analysis agent prompt.
  • Docs URLs updated from /docs/llm-analytics to /docs/ai-observability (the session resources bar already used the new path).

Internal identifiers are intentionally left unchanged: the llm_analytics product id, type unions, API paths (/api/llm_analytics/...), cloud-nav URLs, the /instrument-llm-analytics slash command, and the auto-generated API types in generated.ts.

How did you test this?

  • pnpm --filter agent typecheck — clean
  • posthog-products.test.ts — 59/59 passing
  • spendAnalysisPrompt.test.ts — 21/21 passing (assertion updated to match new prompt text)
  • Inbox renderer tests — 84/84 passing
  • Verified pre-existing agent/renderer test failures are unrelated (reproduced on a clean tree via git stash)
  • Grep confirms no remaining user-facing "LLM analytics" strings (only two intentionally-skipped code comments)

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

…oduct

PostHog renamed the LLM analytics product to AI observability. This updates
all user-facing references in PostHog Code to match.

- Canonical product label in `POSTHOG_PRODUCTS` (drives the session product chip)
- Desktop inbox signal-source labels, filter menu, signal card, and toggles header/link
- Mobile inbox signal card and filter sheet labels
- Billing token-spend banner copy (normalized to sentence case) and spend-analysis prompt
- Docs URLs updated to /docs/ai-observability

Internal identifiers (the `llm_analytics` product id, API paths, type unions,
the `/instrument-llm-analytics` slash command, and generated API types) are
left unchanged.

Generated-By: PostHog Code
Task-Id: 1a6dc0e2-db86-412a-9149-9cb4bb510d7e
@greptile-apps

greptile-apps Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "refactor(rename): use "AI observability"..." | Re-trigger Greptile

@charlescook-ph charlescook-ph requested a review from a team June 8, 2026 11:07
@charlescook-ph charlescook-ph merged commit 59a93d8 into main Jun 9, 2026
15 checks passed
@charlescook-ph charlescook-ph deleted the posthog-code/rename-llm-analytics-to-ai-observability branch June 9, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants