Skip to content

Docs: AI Gateway guide, web UI and reference updates#2051

Merged
dmontagu merged 6 commits into
mainfrom
claude/logfire-docs-audit-yg6c8p
Jul 3, 2026
Merged

Docs: AI Gateway guide, web UI and reference updates#2051
dmontagu merged 6 commits into
mainfrom
claude/logfire-docs-audit-yg6c8p

Conversation

@strawgate

@strawgate strawgate commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • AI Gateway: add a usage guide (reference/advanced/gateway/index.md) covering setup, connecting SDKs, providers, API keys, routing groups, spending controls, and the gateway CLI; group it with the migration page under an "AI Gateway" nav entry, and update the migration page now that the legacy shutdown date has passed.
  • Web UI & reference docs: document the delivery channels and schedules flow for alerts, per-panel dashboard variables, logfire.url_from_eval(), the remaining CLI subcommands (whoami, auth logout, info, read-tokens, run, prompt), additional configuration environment variables, newer @logfire.instrument options, and the v4.35 query client deprecation notes.
  • Comparisons & examples: bring the comparison and AI overview pages up to date with the current feature set (evals in the web UI, prompt management, playground, AI gateway) and pricing units, and use region-specific US/EU endpoints consistently across configuration examples.

All UI labels, SDK signatures, endpoints, plan details, and links were checked against the product and the live site.

🤖 Generated with Claude Code

https://claude.ai/code/session_012SoYPsGwJvndvahMWV54Gr


Generated by Claude Code

Review in cubic

@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 12ab32e3-9511-406e-902e-b517baa3fa06

📥 Commits

Reviewing files that changed from the base of the PR and between cbe3a60 and 2b037a0.

📒 Files selected for processing (5)
  • docs/gateway-migration.md
  • docs/nav.json
  • docs/reference/advanced/gateway/index.md
  • docs/reference/advanced/prompt-management/plan-requirements.md
  • mkdocs.yml
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • pydantic/logfire (manual)
  • pydantic/pydantic-ai (manual)
  • pydantic/pydantic (auto-detected)
💤 Files with no reviewable changes (1)
  • docs/reference/advanced/gateway/index.md
✅ Files skipped from review due to trivial changes (1)
  • docs/reference/advanced/prompt-management/plan-requirements.md

📝 Walkthrough

Walkthrough

This PR updates AI observability and evals documentation, adds the AI Gateway reference and navigation, revises alerting and Slack setup guides, standardizes endpoint examples, and expands CLI, configuration, and comparison docs. It also refreshes FAQ, dashboard/evals guides, and product positioning copy to reflect the newer AI feature set and updated URLs.

Changes

Area Change
AI observability Updated evals, prompt management, AI Gateway, and LLMs copy
AI Gateway Added reference page, navigation, and migration framing
Alerts UI docs Reworked alert creation, delivery, and Slack setup steps
Endpoints Updated region-specific URL and auth examples
CLI/config Added new CLI commands, env aliases, and docstring updates
Comparisons/positioning Revised AI feature, pricing, and selection copy

Sequence Diagram(s)

Not applicable.

Related Issues: Not specified in provided context.

Related PRs: Not specified in provided context.

Suggested labels: documentation

Suggested reviewers: Not specified in provided context.

🐰 Docs now point to the newer paths and names,
AI features are grouped in clearer frames,
Alerts, endpoints, and CLI notes align,
With small text shifts across the docs line by line.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main docs work around the AI Gateway, web UI, and reference updates.
Description check ✅ Passed The description is detailed and directly matches the documentation changes in this pull request.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/logfire-docs-audit-yg6c8p

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/guides/web-ui/evals.md`:
- Around line 64-67: Update the tip to make the fallback behavior of
logfire.url_from_eval(report) explicit: it should mention that this helper
returns None when the project URL or trace/span IDs are missing, rather than
always producing a comparison link. Keep the wording close to the existing
explanation in the web UI evals docs and reference logfire.url_from_eval so the
behavior is clear to readers.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 763ab66c-98bf-4a5d-a8e8-b638e14a5056

📥 Commits

Reviewing files that changed from the base of the PR and between ef5c776 and 011917a.

📒 Files selected for processing (31)
  • docs/ai-observability.md
  • docs/comparisons/arize-phoenix.md
  • docs/comparisons/braintrust.md
  • docs/comparisons/datadog.md
  • docs/comparisons/index.md
  • docs/comparisons/langfuse.md
  • docs/comparisons/langsmith.md
  • docs/comparisons/sentry.md
  • docs/comparisons/signoz.md
  • docs/faq.md
  • docs/gateway-migration.md
  • docs/guides/onboarding-checklist/add-manual-tracing.md
  • docs/guides/web-ui/alerts.md
  • docs/guides/web-ui/dashboards.md
  • docs/guides/web-ui/evals.md
  • docs/guides/web-ui/live.md
  • docs/how-to-guides/client-side-feature-flags.md
  • docs/how-to-guides/codex-logfire-exporter.md
  • docs/how-to-guides/otel-collector/host-monitoring.md
  • docs/how-to-guides/otel-collector/kubernetes-monitoring.md
  • docs/how-to-guides/query-api.md
  • docs/how-to-guides/setup-slack-alerts.md
  • docs/integrations/event-streams/airflow.md
  • docs/nav.json
  • docs/reference/advanced/gateway/index.md
  • docs/reference/advanced/managed-variables/external.md
  • docs/reference/advanced/migrate-to-new-project.md
  • docs/reference/cli.md
  • docs/reference/configuration.md
  • logfire/_internal/config_params.py
  • mkdocs.yml
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • pydantic/pydantic (auto-detected)
  • pydantic/pydantic-ai (auto-detected)

Comment thread docs/guides/web-ui/evals.md Outdated
@strawgate strawgate force-pushed the claude/logfire-docs-audit-yg6c8p branch from 011917a to 359a735 Compare July 3, 2026 01:53
Comment thread docs/gateway-migration.md Outdated
Comment on lines +73 to +75
### Did anything carry over from PAIG Console?

Not right now, but if you'd like help, email us at [engineering@pydantic.dev](mailto:engineering@pydantic.dev).
No. This was a clean start — usage history, project settings, and API keys did not transfer. You configure everything fresh on Logfire.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can probably just delete this reference entirely, it's pretty old at this point and that service has been down for a while..?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess probably the whole migration FAQ can go

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done — removed the whole migration FAQ. The page now keeps just the pointer to the gateway overview, the shutdown timeline, and the "why we made this change" section, with a contact line for any outstanding refund questions.


Generated by Claude Code

@strawgate strawgate force-pushed the claude/logfire-docs-audit-yg6c8p branch from cc5b7f3 to cd97e37 Compare July 3, 2026 13:37
claude added 3 commits July 3, 2026 13:47
Add a usage guide for the AI Gateway: enabling it, connecting SDKs,
providers, API keys, routing groups, spending controls, and the
gateway CLI. Group it with the migration page under an AI Gateway nav
entry, and trim the migration page down now that the legacy shutdown
date has passed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012SoYPsGwJvndvahMWV54Gr
Document the delivery channels and schedules flow for alerts, per-panel
dashboard variables, `logfire.url_from_eval()`, the remaining CLI
subcommands (`whoami`, `auth logout`, `info`, `read-tokens`, `run`,
`prompt`), additional configuration environment variables, and the
newer `@logfire.instrument` options. Add the v4.35 query client
deprecation notes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012SoYPsGwJvndvahMWV54Gr
Bring the overview, FAQ, and comparison pages up to date with the
current feature set (evals in the web UI, prompt management,
playground, AI gateway) and pricing units, and use the region-specific
US/EU endpoints consistently across configuration examples.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012SoYPsGwJvndvahMWV54Gr
@strawgate strawgate force-pushed the claude/logfire-docs-audit-yg6c8p branch from cd97e37 to 1c4d284 Compare July 3, 2026 13:48

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/comparisons/signoz.md`:
- Line 50: The pricing copy is inconsistent between the summary and the detailed
section, so update the new “10M spans/logs/metrics per month” wording in the
Signoz comparison content to match the existing “10M spans free” phrasing, or
revise both so they use the same free-tier description throughout the page.
Check the pricing paragraph in the comparison doc and keep the terminology
consistent across all mentions of the free plan.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 80fd18c9-6fe6-410f-9efd-a3bbb4769bfc

📥 Commits

Reviewing files that changed from the base of the PR and between cd97e37 and 1c4d284.

📒 Files selected for processing (32)
  • docs/ai-observability.md
  • docs/comparisons/arize-phoenix.md
  • docs/comparisons/braintrust.md
  • docs/comparisons/datadog.md
  • docs/comparisons/index.md
  • docs/comparisons/langfuse.md
  • docs/comparisons/langsmith.md
  • docs/comparisons/sentry.md
  • docs/comparisons/signoz.md
  • docs/faq.md
  • docs/gateway-migration.md
  • docs/guides/onboarding-checklist/add-manual-tracing.md
  • docs/guides/web-ui/alerts.md
  • docs/guides/web-ui/dashboards.md
  • docs/guides/web-ui/evals.md
  • docs/guides/web-ui/live.md
  • docs/how-to-guides/client-side-feature-flags.md
  • docs/how-to-guides/codex-logfire-exporter.md
  • docs/how-to-guides/otel-collector/host-monitoring.md
  • docs/how-to-guides/otel-collector/kubernetes-monitoring.md
  • docs/how-to-guides/query-api.md
  • docs/how-to-guides/setup-slack-alerts.md
  • docs/integrations/event-streams/airflow.md
  • docs/nav.json
  • docs/reference/advanced/gateway/index.md
  • docs/reference/advanced/managed-variables/external.md
  • docs/reference/advanced/migrate-to-new-project.md
  • docs/reference/cli.md
  • docs/reference/configuration.md
  • docs/why.md
  • logfire/_internal/config_params.py
  • mkdocs.yml
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • pydantic/logfire (manual)
  • pydantic/pydantic-ai (manual)
  • pydantic/pydantic (auto-detected)
✅ Files skipped from review due to trivial changes (24)
  • logfire/_internal/config_params.py
  • docs/guides/web-ui/evals.md
  • docs/why.md
  • docs/reference/advanced/migrate-to-new-project.md
  • docs/comparisons/braintrust.md
  • docs/reference/configuration.md
  • docs/comparisons/sentry.md
  • docs/reference/advanced/managed-variables/external.md
  • docs/reference/cli.md
  • docs/comparisons/arize-phoenix.md
  • docs/guides/onboarding-checklist/add-manual-tracing.md
  • docs/comparisons/langsmith.md
  • docs/comparisons/langfuse.md
  • docs/faq.md
  • docs/guides/web-ui/dashboards.md
  • docs/comparisons/datadog.md
  • docs/how-to-guides/codex-logfire-exporter.md
  • docs/how-to-guides/otel-collector/host-monitoring.md
  • docs/how-to-guides/setup-slack-alerts.md
  • docs/ai-observability.md
  • docs/comparisons/index.md
  • docs/how-to-guides/query-api.md
  • docs/integrations/event-streams/airflow.md
  • docs/guides/web-ui/alerts.md
🚧 Files skipped from review as they are similar to previous changes (4)
  • docs/nav.json
  • mkdocs.yml
  • docs/how-to-guides/client-side-feature-flags.md
  • docs/how-to-guides/otel-collector/kubernetes-monitoring.md

Comment thread docs/comparisons/signoz.md Outdated
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012SoYPsGwJvndvahMWV54Gr
Comment on lines +19 to +21

!!! note "Migrating from gateway.pydantic.dev?"
The standalone Pydantic AI Gateway at `gateway.pydantic.dev` has been shut down and replaced by this integrated gateway. See [Migration from gateway.pydantic.dev](../../../gateway-migration.md).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we don't need to add references to gateway.pydantic.dev, it's long enough dead now.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed in cbe3a60 — dropped the migration note admonition and de-branded the see-also link (kept the link to the migration page itself since it's still in the nav).


Generated by Claude Code

Comment thread docs/gateway-migration.md
---

# Pydantic AI Gateway is Moving to Pydantic Logfire
# Pydantic AI Gateway Has Moved to Pydantic Logfire

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can keep this page to not break URLs but I think we should make it as low-visibility as possible to reduce confusion given it's so out of date now, and the original gateway.pydantic.dev wasn't long lived anyway.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 2b037a0 — the page stays at its URL but is now removed from the nav (the "AI Gateway" nav entry is just the overview page), unlinked from the overview and prompt-management docs, and marked robots: noindex (same treatment as roadmap.md).


Generated by Claude Code

Keep the page so existing URLs continue to work, but remove it from
the navigation and inbound links and mark it noindex.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012SoYPsGwJvndvahMWV54Gr
@dmontagu dmontagu merged commit ddaffa6 into main Jul 3, 2026
18 checks passed
@dmontagu dmontagu deleted the claude/logfire-docs-audit-yg6c8p branch July 3, 2026 14:52
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.

3 participants