diff --git a/apps/landing/messages/en.json b/apps/landing/messages/en.json index 315f99d6a5..ff09ee1ab9 100644 --- a/apps/landing/messages/en.json +++ b/apps/landing/messages/en.json @@ -681,7 +681,7 @@ "feat_mcp_hero_title": "Give your AI agent the same tools you use", "feat_mcp_hero_lede": "Maple's MCP server lets agents query your traces, logs and metrics, using the same queries as the dashboard.", "feat_mcp_panel_title": "One endpoint, any MCP client", - "feat_mcp_panel_lede": "Connect Claude Code or any MCP client. It sees the same data you do.", + "feat_mcp_panel_lede": "Connect Claude Code, Cursor or any MCP client. It sees the same data you do, through more than 130 tools.", "feat_mcp_cap_title": "What an agent can do", "feat_mcp_cap_1_title": "Check a service", "feat_mcp_cap_1_body": "diagnose_service reports latency, error rate and throughput, and what changed.", @@ -1544,5 +1544,27 @@ "status_feeds_rule_2_title": "status.json", "status_feeds_rule_2_body": "Overall status, every component, open incidents and planned maintenance in one request. Uptime history is available as JSON too.", "status_feeds_rule_3_title": "A badge for your README", - "status_feeds_rule_3_body": "badge.svg shows the current status in a README, docs site or app footer." + "status_feeds_rule_3_body": "badge.svg shows the current status in a README, docs site or app footer.", + "feat_plan_eyebrow": "On the plan", + "feat_plan_title": "Price, retention and setup", + "feat_plan_row_plan": "plan", + "feat_plan_row_billed": "billed as", + "feat_plan_row_retention": "retention", + "feat_plan_row_limit": "limit", + "feat_plan_value": "{name}, {price}. Every feature is on.", + "feat_plan_value_trial": "{name}, {price}, with a {days}-day free trial. Every feature is on.", + "feat_plan_no_meter": "No separate meter. It is part of the plan.", + "feat_plan_docs": "Set it up", + "feat_plan_pricing": "Full pricing", + "feat_plan_ret_traces": "Spans 30 days. The hourly rollups behind service charts, 365 days.", + "feat_plan_ret_sessions": "Replays 30 days, counted from when Maple received them.", + "feat_plan_ret_events": "Product events 365 days.", + "feat_plan_ret_logs": "Log lines 30 days. Hourly log aggregates, 365 days.", + "feat_plan_ret_metrics": "Data points 90 days.", + "feat_plan_ret_services": "Service charts and map edges, from hourly rollups, 365 days. Raw spans 30 days.", + "feat_plan_ret_errors": "Occurrences 90 days. Open issues are never deleted by age.", + "feat_plan_ret_alerts": "Every rule check, with the value it saw, 365 days.", + "feat_plan_ret_k8s": "Cluster metrics 90 days.", + "feat_plan_ret_ci": "CI runs and jobs 365 days.", + "feat_plan_limit_uptime": "10 monitors on the Startup plan. More on Enterprise." } diff --git a/apps/landing/messages/ja.json b/apps/landing/messages/ja.json index fedfc84cee..22a3dc34ea 100644 --- a/apps/landing/messages/ja.json +++ b/apps/landing/messages/ja.json @@ -1439,5 +1439,28 @@ "status_feeds_rule_2_title": "status.json", "status_feeds_rule_2_body": "全体のステータス、すべてのコンポーネント、進行中のインシデント、予定されたメンテナンスを1回のリクエストで取得できます。稼働履歴もJSONで取得できます。", "status_feeds_rule_3_title": "README用のバッジ", - "status_feeds_rule_3_body": "badge.svgで、README、ドキュメント、アプリのフッターに現在のステータスを表示できます。" + "status_feeds_rule_3_body": "badge.svgで、README、ドキュメント、アプリのフッターに現在のステータスを表示できます。", + "feat_plan_eyebrow": "プラン", + "feat_plan_title": "料金、保持期間、セットアップ", + "feat_plan_row_plan": "plan", + "feat_plan_row_billed": "billed as", + "feat_plan_row_retention": "retention", + "feat_plan_row_limit": "limit", + "feat_plan_value": "{name}、{price}。すべての機能が使えます。", + "feat_plan_value_trial": "{name}、{price}。{days}日間の無料トライアル付き。すべての機能が使えます。", + "feat_plan_no_meter": "個別の課金はありません。プランに含まれます。", + "feat_plan_docs": "セットアップ手順", + "feat_plan_pricing": "料金の詳細", + "feat_plan_ret_traces": "スパンは30日。サービスチャートの元になる1時間単位のロールアップは365日。", + "feat_plan_ret_sessions": "リプレイはMapleが受信した時点から30日。", + "feat_plan_ret_events": "プロダクトイベントは365日。", + "feat_plan_ret_logs": "ログ行は30日。1時間単位のログ集計は365日。", + "feat_plan_ret_metrics": "データポイントは90日。", + "feat_plan_ret_services": "サービスチャートとマップのエッジは1時間単位のロールアップから365日。元のスパンは30日。", + "feat_plan_ret_errors": "発生記録は90日。未解決のイシューは経過日数では削除されません。", + "feat_plan_ret_alerts": "ルールの各チェックと観測値は365日。", + "feat_plan_ret_k8s": "クラスターメトリクスは90日。", + "feat_plan_ret_ci": "CIの実行とジョブは365日。", + "feat_plan_limit_uptime": "Startupプランでは10モニターまで。それ以上はEnterpriseで。", + "pricing_rate_included": "{amount}を含む" } diff --git a/apps/landing/messages/ko.json b/apps/landing/messages/ko.json index 28691c2659..d55cc577ae 100644 --- a/apps/landing/messages/ko.json +++ b/apps/landing/messages/ko.json @@ -1439,5 +1439,28 @@ "status_feeds_rule_2_title": "status.json", "status_feeds_rule_2_body": "전체 상태, 모든 컴포넌트, 진행 중인 인시던트, 예정된 유지보수를 한 번의 요청으로 가져옵니다. 가동 기록도 JSON으로 제공됩니다.", "status_feeds_rule_3_title": "README용 배지", - "status_feeds_rule_3_body": "badge.svg로 README, 문서 사이트, 앱 푸터에 현재 상태를 보여줄 수 있습니다." + "status_feeds_rule_3_body": "badge.svg로 README, 문서 사이트, 앱 푸터에 현재 상태를 보여줄 수 있습니다.", + "feat_plan_eyebrow": "플랜", + "feat_plan_title": "가격, 보존 기간, 설정", + "feat_plan_row_plan": "plan", + "feat_plan_row_billed": "billed as", + "feat_plan_row_retention": "retention", + "feat_plan_row_limit": "limit", + "feat_plan_value": "{name}, {price}. 모든 기능이 포함됩니다.", + "feat_plan_value_trial": "{name}, {price}, {days}일 무료 체험 포함. 모든 기능이 포함됩니다.", + "feat_plan_no_meter": "별도 과금은 없습니다. 플랜에 포함됩니다.", + "feat_plan_docs": "설정 방법", + "feat_plan_pricing": "전체 요금", + "feat_plan_ret_traces": "스팬은 30일. 서비스 차트의 기반인 시간별 롤업은 365일.", + "feat_plan_ret_sessions": "리플레이는 Maple이 받은 시점부터 30일.", + "feat_plan_ret_events": "프로덕트 이벤트는 365일.", + "feat_plan_ret_logs": "로그 라인은 30일. 시간별 로그 집계는 365일.", + "feat_plan_ret_metrics": "데이터 포인트는 90일.", + "feat_plan_ret_services": "서비스 차트와 맵 엣지는 시간별 롤업으로 365일. 원본 스팬은 30일.", + "feat_plan_ret_errors": "발생 기록은 90일. 열린 이슈는 기간이 지나도 삭제되지 않습니다.", + "feat_plan_ret_alerts": "모든 규칙 검사와 관측값은 365일.", + "feat_plan_ret_k8s": "클러스터 메트릭은 90일.", + "feat_plan_ret_ci": "CI 실행과 작업은 365일.", + "feat_plan_limit_uptime": "Startup 플랜은 모니터 10개까지. 더 필요하면 Enterprise.", + "pricing_rate_included": "{amount} 포함" } diff --git a/apps/landing/src/__tests__/feature-markdown.test.ts b/apps/landing/src/__tests__/feature-markdown.test.ts new file mode 100644 index 0000000000..f5e734ce74 --- /dev/null +++ b/apps/landing/src/__tests__/feature-markdown.test.ts @@ -0,0 +1,67 @@ +import { describe, expect, it } from "vitest" +import { GET as featureMd } from "../pages/features/[slug].md" +import { GET as llmsTxt } from "../pages/llms.txt" +import { featureBySlug, features } from "../lib/features" +import type { Feature } from "../lib/page-registry" + +type Context = Parameters[0] + +const render = async (route: typeof featureMd, props: Context["props"] = {}) => { + const context = { site: new URL("https://maple.dev"), props } as Context + const response = await route(context) + return response.text() +} + +const renderFeature = (slug: string) => { + const feature: Feature | undefined = featureBySlug(slug) + if (!feature) throw new Error(`no feature ${slug}`) + return render(featureMd, { feature }) +} + +describe("feature page markdown twins", () => { + it.each(features.map((feature) => feature.slug))( + "%s states the plan price and the scale proof", + async (slug) => { + const text = await renderFeature(slug) + expect(text).toMatch(/- \*\*plan\*\*: Startup, \$39\/month/) + expect(text).toContain("](https://maple.dev/customers/superwall)") + expect(text).toContain("](https://maple.dev/pricing.md)") + }, + ) + + it("quotes the per-GB rate on a metered feature and the retention period", async () => { + const text = await renderFeature("log-management") + expect(text).toContain("Logs: 100 GB included, then $0.30 / GB") + expect(text).toMatch(/- \*\*retention\*\*: Log lines 30 days/) + expect(text).toContain("](https://maple.dev/docs/explore/logs.md)") + }) + + it("bills code review against AI usage", async () => { + const text = await renderFeature("github") + expect(text).toMatch(/- \*\*billed as\*\*: AI usage: \$10 included, then billed per model/) + }) + + it("says an unmetered feature has no separate charge", async () => { + const text = await renderFeature("alerts") + expect(text).toMatch(/- \*\*billed as\*\*: No separate meter/) + }) + + it("carries the install commands the HTML page shows", async () => { + const text = await renderFeature("kubernetes-monitoring") + expect(text).toContain("helm upgrade --install maple-k8s-infra") + expect(text).toContain("```bash") + }) + + it("carries the product event snippets with their docs links", async () => { + const text = await renderFeature("product-events") + expect(text).toContain('MapleBrowser.track("checkout_completed"') + expect(text).toContain("](https://maple.dev/docs/product-events/api)") + }) +}) + +describe("llms.txt features section", () => { + it("counts every feature page in the registry", async () => { + const text = await render(llmsTxt) + expect(text).toContain(`One page per capability, ${features.length} in all.`) + }) +}) diff --git a/apps/landing/src/components/page/FeaturePage.astro b/apps/landing/src/components/page/FeaturePage.astro index 443e65a5ce..1c62034a36 100644 --- a/apps/landing/src/components/page/FeaturePage.astro +++ b/apps/landing/src/components/page/FeaturePage.astro @@ -11,8 +11,9 @@ * 03 ScreenGallery bg-bg border-t more of the surface * 04 [extra sections] per section kubernetes only * 05 CapabilityLedger bg-bg-deep no border tone steps → tone is the rule - * 06 CrossLinks bg-bg-deep border-t tone flat → hairline - * 07 PageCta amber the one peak + * 06 PlanFacts bg-bg-deep border-t price, retention, proof, docs + * 07 CrossLinks bg-bg-deep border-t tone flat → hairline + * 08 PageCta amber the one peak * * The tonal rule is tighter here than on the homepage because these pages carry * more frames: `.live-frame` is itself `--bg-deep`, so any section holding one @@ -23,8 +24,12 @@ * `.live-frame__live` pulse and `--severity-warn` fills, which share the * primary hue; two of them plus the closing CTA reads speckled rather than rare. */ +import { getRelativeLocaleUrl } from "astro:i18n"; import * as m from "../../paraglide/messages.js"; +import { planRows } from "../../lib/feature-plan"; import { featureBySlug } from "../../lib/features"; +import { getOffer } from "../../lib/pricing-offer"; +import { SCALE_PROOF_STORY_PATH } from "../../lib/scale-proof"; import { featurePath, useCasePath } from "../../lib/page-registry"; import { useCaseBySlug } from "../../lib/use-cases"; import Layout from "../../layouts/Layout.astro"; @@ -36,6 +41,7 @@ import CapabilityLedger from "./CapabilityLedger.astro"; import CrossLinks from "./CrossLinks.astro"; import PageCta from "./PageCta.astro"; import PageHero from "./PageHero.astro"; +import PlanFacts from "./PlanFacts.astro"; import ScreenGallery from "./ScreenGallery.astro"; import SurfacePanel from "./SurfacePanel.astro"; import { ARTIFACTS, EXTRA_SECTIONS } from "./slots"; @@ -55,6 +61,8 @@ const locale = Astro.currentLocale ?? "en"; const title = feature.seoTitle(); const description = feature.seoDescription(); +const plan = planRows(feature.plan, await getOffer()); + const Artifact = feature.artifact ? ARTIFACTS[feature.artifact.id] : null; // Resolved here rather than inside the template: Astro's compiler can't parse a @@ -152,6 +160,14 @@ const crossLinks = [ }))} /> + + +
+

{m.feat_plan_eyebrow()}

+

+ {m.feat_plan_title()} +

+ +
+ { + rows.map((row) => ( +
+
{row.key}
+
{row.value}
+
+ )) + } + +
+ +

+ {m.scale_proof_label()}: + {m.scale_proof()} + + {m.scale_proof_link()} + +

+ + +
+ diff --git a/apps/landing/src/components/page/sections/K8sInstall.astro b/apps/landing/src/components/page/sections/K8sInstall.astro index 55704d447c..9a58b1c4d5 100644 --- a/apps/landing/src/components/page/sections/K8sInstall.astro +++ b/apps/landing/src/components/page/sections/K8sInstall.astro @@ -10,21 +10,9 @@ * works or it isn't a button. */ import * as m from "../../../paraglide/messages.js"; +import { K8S_INSTALL_STEPS } from "../../../lib/feature-sections"; -const installSteps = [ - { - caption: m.page_k8s_install_step_1(), - code: "kubectl create namespace maple\nkubectl -n maple create secret generic maple-ingest-key \\\n --from-literal=ingest-key=$MAPLE_INGEST_KEY", - }, - { - caption: m.page_k8s_install_step_2(), - code: "helm upgrade --install maple-k8s-infra \\\n oci://ghcr.io/mapletechlabs/charts/maple-k8s-infra \\\n --namespace maple \\\n --set maple.ingestKey.existingSecret.name=maple-ingest-key \\\n --set maple.ingestKey.existingSecret.key=ingest-key \\\n --set global.clusterName=production", - }, - { - caption: m.page_k8s_install_step_3(), - code: "kubectl -n maple rollout status daemonset/maple-k8s-infra-agent", - }, -]; +const installSteps = K8S_INSTALL_STEPS.map((step) => ({ caption: step.caption(), code: step.code })); ---
diff --git a/apps/landing/src/components/page/sections/ProductEventsSources.astro b/apps/landing/src/components/page/sections/ProductEventsSources.astro index 7763aa7486..4553dd55b7 100644 --- a/apps/landing/src/components/page/sections/ProductEventsSources.astro +++ b/apps/landing/src/components/page/sections/ProductEventsSources.astro @@ -14,51 +14,23 @@ import { getRelativeLocaleUrl } from "astro:i18n"; import { Code } from "astro:components"; import * as m from "../../../paraglide/messages.js"; import { codeTheme } from "../../../lib/code-theme.mjs"; +import { PRODUCT_EVENT_SOURCES } from "../../../lib/feature-sections"; import PixelIcon, { type PixelIconName } from "../../icons/PixelIcon.astro"; const locale = Astro.currentLocale ?? "en"; -const sources: { - label: string; - icon: PixelIconName; - title: string; - body: string; - file: string; - lang: "ts" | "bash"; - code: string; - href: string; -}[] = [ - { - label: "browser", - icon: "globe", - title: m.pe_src_browser_title(), - body: m.pe_src_browser_body(), - file: "checkout.tsx", - lang: "ts", - code: 'MapleBrowser.track("checkout_completed", {\n plan: "pro",\n seats: 12,\n})', - href: "/docs/session-replay/browser-sdk#custom-events", - }, - { - label: "span", - icon: "sitemap", - title: m.pe_src_span_title(), - body: m.pe_src_span_body(), - file: "billing.ts", - lang: "ts", - code: 'span.setAttributes({\n "maple.product_event.name": "plan_started",\n "maple.product_event.user_id": user.id,\n})', - href: "/docs/product-events/from-traces", - }, - { - label: "server", - icon: "cloud", - title: m.pe_src_server_title(), - body: m.pe_src_server_body(), - file: "terminal", - lang: "bash", - code: 'curl https://ingest.maple.dev/v1/events \\\n -H "Authorization: Bearer $INGEST_KEY" \\\n -H "Content-Type: application/x-ndjson" \\\n -d \'{"name":"plan_started","user_id":"u_123"}\'', - href: "/docs/product-events/api", - }, -]; +const ICONS = { + browser: "globe", + span: "sitemap", + server: "cloud", +} satisfies Record<(typeof PRODUCT_EVENT_SOURCES)[number]["label"], PixelIconName>; + +const sources = PRODUCT_EVENT_SOURCES.map((source) => ({ + ...source, + icon: ICONS[source.label], + title: source.title(), + body: source.body(), +})); ---
diff --git a/apps/landing/src/components/page/sections/StatusPageFeeds.astro b/apps/landing/src/components/page/sections/StatusPageFeeds.astro index b99254e5de..4130d8fe0d 100644 --- a/apps/landing/src/components/page/sections/StatusPageFeeds.astro +++ b/apps/landing/src/components/page/sections/StatusPageFeeds.astro @@ -7,15 +7,10 @@ */ import * as m from "../../../paraglide/messages.js"; import { demoStatusJson } from "../../../lib/status-page-demo"; +import { STATUS_PAGE_ENDPOINTS } from "../../../lib/feature-sections"; const json = JSON.stringify(demoStatusJson(), null, 2); -const ENDPOINTS = [ - { path: "/feed.rss", what: "RSS" }, - { path: "/feed.atom", what: "Atom" }, - { path: "/badge.svg", what: "badge" }, -]; - const rules = [ { title: m.status_feeds_rule_1_title(), body: m.status_feeds_rule_1_body() }, { title: m.status_feeds_rule_2_title(), body: m.status_feeds_rule_2_body() }, @@ -34,7 +29,7 @@ const rules = [
{json}
{ - ENDPOINTS.map((endpoint) => ( + STATUS_PAGE_ENDPOINTS.map((endpoint) => (
{endpoint.path} {endpoint.what} diff --git a/apps/landing/src/content/roadmap/ai-observability.md b/apps/landing/src/content/roadmap/ai-observability.md index 56cd39ea2b..f5dfc1d13e 100644 --- a/apps/landing/src/content/roadmap/ai-observability.md +++ b/apps/landing/src/content/roadmap/ai-observability.md @@ -1,8 +1,9 @@ --- -title: "AI observability" -status: "in-progress" +title: "AI observability: Agent Sessions" +status: "shipped" category: "ai" quarter: "Q3 2026" -description: "Monitoring for AI and LLM workloads: token usage, model latency, prompt and completion pairs, and cost per inference across providers." +description: "Every AI agent conversation as one session: each turn, model call and tool call with its tokens, cost, timing and failures. Works with any OpenTelemetry GenAI instrumentation, including Claude Code." order: 13 +shipped_date: "2026-09" --- diff --git a/apps/landing/src/content/roadmap/anomaly-detection.md b/apps/landing/src/content/roadmap/anomaly-detection.md new file mode 100644 index 0000000000..8cf7322f7b --- /dev/null +++ b/apps/landing/src/content/roadmap/anomaly-detection.md @@ -0,0 +1,9 @@ +--- +title: "Anomaly detection" +status: "shipped" +category: "alerting" +quarter: "Q2 2026" +description: "Detects error-rate, latency, throughput and log-volume anomalies per service without a threshold, and can hand one to an investigation." +order: 20 +shipped_date: "2026-06" +--- diff --git a/apps/landing/src/content/roadmap/api-observability.md b/apps/landing/src/content/roadmap/api-observability.md index 265dd7bf1d..a00bba38ba 100644 --- a/apps/landing/src/content/roadmap/api-observability.md +++ b/apps/landing/src/content/roadmap/api-observability.md @@ -1,8 +1,9 @@ --- -title: "API observability dashboard" -status: "exploring" +title: "API view on service pages" +status: "shipped" category: "platform" -quarter: "" -description: "Dedicated dashboards for API endpoints with per-route latency, error rates, request volume, and payload size tracking." +quarter: "Q4 2026" +description: "Per-service API tab: what an HTTP service rejects and why, which routes are slow, who calls it and how big the requests are." order: 12 +shipped_date: "2026-10" --- diff --git a/apps/landing/src/content/roadmap/continuous-profiling.md b/apps/landing/src/content/roadmap/continuous-profiling.md new file mode 100644 index 0000000000..a381ac6856 --- /dev/null +++ b/apps/landing/src/content/roadmap/continuous-profiling.md @@ -0,0 +1,8 @@ +--- +title: "Continuous profiling" +status: "in-progress" +category: "traces" +quarter: "Q4 2026" +description: "OTLP profiles with CPU samples linked to the spans they ran in: a flame chart and top functions per service, and a Profile tab on each span." +order: 24 +--- diff --git a/apps/landing/src/content/roadmap/eu-region.md b/apps/landing/src/content/roadmap/eu-region.md new file mode 100644 index 0000000000..8365ccee18 --- /dev/null +++ b/apps/landing/src/content/roadmap/eu-region.md @@ -0,0 +1,9 @@ +--- +title: "EU data region" +status: "shipped" +category: "platform" +quarter: "Q3 2026" +description: "Maple Cloud in the European Union (Frankfurt). An organization picks its region at creation, and its telemetry is stored and processed there." +order: 16 +shipped_date: "2026-09" +--- diff --git a/apps/landing/src/content/roadmap/github-code-review.md b/apps/landing/src/content/roadmap/github-code-review.md new file mode 100644 index 0000000000..f73bc9f5b1 --- /dev/null +++ b/apps/landing/src/content/roadmap/github-code-review.md @@ -0,0 +1,9 @@ +--- +title: "GitHub, CI and code review" +status: "shipped" +category: "integrations" +quarter: "Q3 2026" +description: "Pull request reviews that read your production telemetry, CI runs as traces, and a check an hour after deploy." +order: 18 +shipped_date: "2026-09" +--- diff --git a/apps/landing/src/content/roadmap/investigations.md b/apps/landing/src/content/roadmap/investigations.md new file mode 100644 index 0000000000..7b900b5b87 --- /dev/null +++ b/apps/landing/src/content/roadmap/investigations.md @@ -0,0 +1,9 @@ +--- +title: "AI investigations" +status: "shipped" +category: "ai" +quarter: "Q3 2026" +description: "An agent investigates an alert or error issue in one turn: it reads the traces, logs and metrics, can read your linked GitHub source, and ends with a written diagnosis." +order: 15 +shipped_date: "2026-07" +--- diff --git a/apps/landing/src/content/roadmap/on-call.md b/apps/landing/src/content/roadmap/on-call.md new file mode 100644 index 0000000000..7c1514dd63 --- /dev/null +++ b/apps/landing/src/content/roadmap/on-call.md @@ -0,0 +1,9 @@ +--- +title: "On-call and escalation" +status: "shipped" +category: "alerting" +quarter: "Q4 2026" +description: "Schedules, escalation chains, acknowledgements and silences, so alerts page whoever is on call without a separate paging tool." +order: 23 +shipped_date: "2026-11" +--- diff --git a/apps/landing/src/content/roadmap/product-events.md b/apps/landing/src/content/roadmap/product-events.md new file mode 100644 index 0000000000..f26ef0976c --- /dev/null +++ b/apps/landing/src/content/roadmap/product-events.md @@ -0,0 +1,9 @@ +--- +title: "Product events and funnels" +status: "shipped" +category: "platform" +quarter: "Q3 2026" +description: "Track product events from the browser, the backend or existing spans, and chart funnels, drop-off and paths next to the traces behind them." +order: 17 +shipped_date: "2026-08" +--- diff --git a/apps/landing/src/content/roadmap/selfhosting-setup.md b/apps/landing/src/content/roadmap/selfhosting-setup.md index bde1bb95e4..6bd32dccde 100644 --- a/apps/landing/src/content/roadmap/selfhosting-setup.md +++ b/apps/landing/src/content/roadmap/selfhosting-setup.md @@ -1,8 +1,9 @@ --- -title: "Self-hosting setup" -status: "planned" +title: "Self-hosting" +status: "shipped" category: "platform" -quarter: "" -description: "Simplified self-hosting with a single-command deployment and automated configuration." +quarter: "Q4 2026" +description: "Maple as one container image with OTLP ingest, the dashboard and the query API on an embedded ClickHouse, guarded by an ingest key and an access token. Built for one team on one machine." order: 10 +shipped_date: "2026-10" --- diff --git a/apps/landing/src/content/roadmap/slos.md b/apps/landing/src/content/roadmap/slos.md new file mode 100644 index 0000000000..a3bc76e437 --- /dev/null +++ b/apps/landing/src/content/roadmap/slos.md @@ -0,0 +1,9 @@ +--- +title: "SLOs with burn-rate alerts" +status: "shipped" +category: "alerting" +quarter: "Q4 2026" +description: "Availability or latency objectives per service, with an error budget and alerts when it burns too fast." +order: 22 +shipped_date: "2026-11" +--- diff --git a/apps/landing/src/content/roadmap/status-pages.md b/apps/landing/src/content/roadmap/status-pages.md new file mode 100644 index 0000000000..3afd1d6e5b --- /dev/null +++ b/apps/landing/src/content/roadmap/status-pages.md @@ -0,0 +1,9 @@ +--- +title: "Status pages" +status: "shipped" +category: "alerting" +quarter: "Q4 2026" +description: "Public or password-protected status pages on your domain, with incidents, maintenance, 90 days of uptime per component, RSS, Atom and a status.json." +order: 21 +shipped_date: "2026-11" +--- diff --git a/apps/landing/src/content/roadmap/uptime-monitoring.md b/apps/landing/src/content/roadmap/uptime-monitoring.md new file mode 100644 index 0000000000..c8fa800afd --- /dev/null +++ b/apps/landing/src/content/roadmap/uptime-monitoring.md @@ -0,0 +1,9 @@ +--- +title: "Uptime monitoring" +status: "shipped" +category: "alerting" +quarter: "Q4 2026" +description: "HTTP, TCP, DNS and heartbeat checks. A failed HTTP check opens as the trace of the request inside your app." +order: 19 +shipped_date: "2026-10" +--- diff --git a/apps/landing/src/lib/feature-plan.ts b/apps/landing/src/lib/feature-plan.ts new file mode 100644 index 0000000000..3550937d55 --- /dev/null +++ b/apps/landing/src/lib/feature-plan.ts @@ -0,0 +1,73 @@ +/** + * What a feature costs, how long it keeps data, and where its setup doc is: + * the facts a buyer or an agent asks a feature page for first. + * + * Rates come from `getOffer()`, the same source as `/pricing` and `/pricing.md`, + * so a feature page can't quote a different number. Retention mirrors + * `/docs/reference/retention`. Messages are called inside the functions, never + * at module scope (`page-registry.ts` rule 1). + */ +import * as m from "../paraglide/messages.js" +import { Array as Arr } from "effect" +import { + isUsageCredit, + money, + rateBlock, + rateLabel, + volume, + type Allotment, + type Offer, +} from "./pricing-offer" + +/** The Autumn features a page's data is billed under. */ +export type MeterId = "traces" | "logs" | "metrics" | "browser_sessions" | "product_events" | "ai_credits" + +export interface FeaturePlan { + /** Empty when the feature has no meter of its own. */ + meters: MeterId[] + retention: (() => string) | null + /** A hard allowance or other limit worth stating, e.g. a monitor count. */ + limit: (() => string) | null + /** Docs path for setting the feature up, e.g. "/docs/explore/traces". Null when no page covers it. */ + docs: string | null +} + +export interface PlanRow { + key: string + value: string +} + +const rateText = (a: Allotment): string => { + if (a.unlimited) return m.pricing_free_beta() + if (isUsageCredit(a) || a.rate === undefined) return m.pricing_rate_ai_usage() + const rate = rateLabel(a.rate) + if (a.unit === "sessions") return m.pricing_rate_session({ rate }) + if (a.unit === "events") return m.pricing_rate_events({ rate, block: rateBlock(a) }) + return m.pricing_rate_gb({ rate }) +} + +/** "Traces: 100 GB included, then $0.30 / GB". */ +export const meterLine = (a: Allotment): string => + `${a.label}: ${m.pricing_rate_included({ amount: volume(a, a.included) })}, ${rateText(a)}` + +export const planRows = (plan: FeaturePlan, offer: Offer): PlanRow[] => { + const price = `${money(offer.price)}${offer.interval ?? ""}` + const trialDays = offer.hasTrial ? (offer.trialDuration ?? 0) : 0 + const meters = Arr.filter(offer.allotments, (a) => Arr.some(plan.meters, (id) => id === a.featureId)) + + return [ + { + key: m.feat_plan_row_plan(), + value: + trialDays > 0 + ? m.feat_plan_value_trial({ name: offer.name, price, days: String(trialDays) }) + : m.feat_plan_value({ name: offer.name, price }), + }, + { + key: m.feat_plan_row_billed(), + value: meters.length > 0 ? Arr.join(Arr.map(meters, meterLine), " · ") : m.feat_plan_no_meter(), + }, + ...(plan.retention ? [{ key: m.feat_plan_row_retention(), value: plan.retention() }] : []), + ...(plan.limit ? [{ key: m.feat_plan_row_limit(), value: plan.limit() }] : []), + ] +} diff --git a/apps/landing/src/lib/feature-sections.ts b/apps/landing/src/lib/feature-sections.ts new file mode 100644 index 0000000000..f70f630df3 --- /dev/null +++ b/apps/landing/src/lib/feature-sections.ts @@ -0,0 +1,162 @@ +/** + * The content of each feature page's extra sections, and its markdown form. + * + * The `.md` twins used to stop at the capability list, so an agent reading + * `/features/kubernetes-monitoring.md` never saw the Helm install the HTML page + * shows. Snippets live here so the section component and the twin print the same + * commands. Messages are called inside functions only (`page-registry.ts` rule 1); + * no `.astro` imports, since the registry that reads `SectionId` ships to the nav island. + */ +import * as m from "../paraglide/messages.js" +import { Array as Arr } from "effect" +import { absolute, blocks } from "./page-markdown" +import type { SectionId } from "./page-registry" + +export const K8S_INSTALL_STEPS = [ + { + caption: m.page_k8s_install_step_1, + code: "kubectl create namespace maple\nkubectl -n maple create secret generic maple-ingest-key \\\n --from-literal=ingest-key=$MAPLE_INGEST_KEY", + }, + { + caption: m.page_k8s_install_step_2, + code: "helm upgrade --install maple-k8s-infra \\\n oci://ghcr.io/mapletechlabs/charts/maple-k8s-infra \\\n --namespace maple \\\n --set maple.ingestKey.existingSecret.name=maple-ingest-key \\\n --set maple.ingestKey.existingSecret.key=ingest-key \\\n --set global.clusterName=production", + }, + { + caption: m.page_k8s_install_step_3, + code: "kubectl -n maple rollout status daemonset/maple-k8s-infra-agent", + }, +] + +/** Copied from `/docs/product-events/*` and must stay runnable, so never translated. */ +export const PRODUCT_EVENT_SOURCES = [ + { + label: "browser", + title: m.pe_src_browser_title, + body: m.pe_src_browser_body, + file: "checkout.tsx", + lang: "ts", + code: 'MapleBrowser.track("checkout_completed", {\n plan: "pro",\n seats: 12,\n})', + href: "/docs/session-replay/browser-sdk#custom-events", + }, + { + label: "span", + title: m.pe_src_span_title, + body: m.pe_src_span_body, + file: "billing.ts", + lang: "ts", + code: 'span.setAttributes({\n "maple.product_event.name": "plan_started",\n "maple.product_event.user_id": user.id,\n})', + href: "/docs/product-events/from-traces", + }, + { + label: "server", + title: m.pe_src_server_title, + body: m.pe_src_server_body, + file: "terminal", + lang: "bash", + code: 'curl https://ingest.maple.dev/v1/events \\\n -H "Authorization: Bearer $INGEST_KEY" \\\n -H "Content-Type: application/x-ndjson" \\\n -d \'{"name":"plan_started","user_id":"u_123"}\'', + href: "/docs/product-events/api", + }, +] as const + +export const STATUS_PAGE_ENDPOINTS = [ + { path: "/feed.rss", what: "RSS" }, + { path: "/feed.atom", what: "Atom" }, + { path: "/badge.svg", what: "badge" }, +] + +type Rule = { title: () => string; body: () => string } + +const fence = (lang: string, code: string) => `\`\`\`${lang}\n${code}\n\`\`\`` + +const section = (title: string, lede: string, ...rest: string[]) => blocks(`## ${title}`, lede, ...rest) + +const rules = (items: Rule[]) => Arr.map(items, (rule) => `### ${rule.title()}\n\n${rule.body()}`) + +const views = () => + Arr.join( + Arr.map( + [ + [ + m.page_k8s_views_workloads_caption, + m.page_k8s_views_workloads_route, + m.page_k8s_views_workloads_lede, + ], + [m.page_k8s_views_pods_caption, m.page_k8s_views_pods_route, m.page_k8s_views_pods_lede], + [m.page_k8s_views_nodes_caption, m.page_k8s_views_nodes_route, m.page_k8s_views_nodes_lede], + ] as const, + ([caption, route, lede]) => `- **${caption()}** (\`${route()}\`): ${lede()}`, + ), + "\n", + ) + +export const sectionMarkdown = (id: SectionId, site: URL | undefined): string => { + switch (id) { + case "k8s-console": + return section(m.page_k8s_console_title(), m.page_k8s_console_lede()) + case "k8s-views": + return section(m.page_k8s_views_title(), m.page_k8s_views_lede(), views()) + case "k8s-correlation": + return section(m.page_k8s_correlation_title(), m.page_k8s_correlation_lede()) + case "k8s-install": + return section( + m.page_k8s_install_title(), + m.page_k8s_install_lede(), + ...Arr.map( + K8S_INSTALL_STEPS, + (step, i) => `${i + 1}. ${step.caption()}\n\n${fence("bash", step.code)}`, + ), + ) + case "product-events-sources": + return section( + m.pe_src_title(), + m.pe_src_lede(), + ...Arr.map(PRODUCT_EVENT_SOURCES, (source) => + blocks( + `### ${source.label}: ${source.title()}`, + source.body(), + fence(source.lang, source.code), + `[${m.pe_src_docs_link()}](${absolute(site, source.href)})`, + ), + ), + ) + case "github-ci": + return section(m.gh_ci_title(), m.gh_ci_lede()) + case "github-after-merge": + return section( + m.gh_after_title(), + m.gh_after_lede(), + ...rules([ + { title: m.gh_after_rule_1_title, body: m.gh_after_rule_1_body }, + { title: m.gh_after_rule_2_title, body: m.gh_after_rule_2_body }, + { title: m.gh_after_rule_3_title, body: m.gh_after_rule_3_body }, + ]), + ) + case "uptime-check-trace": + return section( + m.uptime_trace_title(), + m.uptime_trace_lede(), + ...rules([ + { title: m.uptime_trace_rule_1_title, body: m.uptime_trace_rule_1_body }, + { title: m.uptime_trace_rule_2_title, body: m.uptime_trace_rule_2_body }, + { title: m.uptime_trace_rule_3_title, body: m.uptime_trace_rule_3_body }, + ]), + ) + case "status-page-feeds": + return section( + m.status_feeds_title(), + m.status_feeds_lede(), + Arr.join( + [ + "- `GET /api/v1/status.json`: statuspage.io summary format", + ...Arr.map(STATUS_PAGE_ENDPOINTS, (e) => `- \`GET ${e.path}\`: ${e.what}`), + ], + "\n", + ), + ...rules([ + { title: m.status_feeds_rule_1_title, body: m.status_feeds_rule_1_body }, + { title: m.status_feeds_rule_2_title, body: m.status_feeds_rule_2_body }, + { title: m.status_feeds_rule_3_title, body: m.status_feeds_rule_3_body }, + ]), + ) + } +} diff --git a/apps/landing/src/lib/features.ts b/apps/landing/src/lib/features.ts index 742042d77e..189da5b311 100644 --- a/apps/landing/src/lib/features.ts +++ b/apps/landing/src/lib/features.ts @@ -93,6 +93,12 @@ export const features: Feature[] = [ { op: "db.statement", title: m.feat_tracing_cap_4_title, body: m.feat_tracing_cap_4_body }, { op: "trace_id", title: m.feat_tracing_cap_5_title, body: m.feat_tracing_cap_5_body }, ], + plan: { + meters: ["traces"], + retention: m.feat_plan_ret_traces, + limit: null, + docs: "/docs/explore/traces", + }, related: ["service-catalog", "log-management", "error-tracking"], relatedUseCases: ["microservices-debugging"], locales: ["en", "ja", "ko"], @@ -142,6 +148,12 @@ export const features: Feature[] = [ { op: "http.status_code", title: m.feat_sessions_cap_4_title, body: m.feat_sessions_cap_4_body }, { op: "mask rules", title: m.feat_sessions_cap_5_title, body: m.feat_sessions_cap_5_body }, ], + plan: { + meters: ["browser_sessions"], + retention: m.feat_plan_ret_sessions, + limit: null, + docs: "/docs/session-replay/browser-sdk", + }, related: ["distributed-tracing", "error-tracking", "product-events"], relatedUseCases: ["ecommerce-observability"], locales: ["en", "ja", "ko"], @@ -176,6 +188,12 @@ export const features: Feature[] = [ { op: "source: product_events", title: m.feat_pe_cap_5_title, body: m.feat_pe_cap_5_body }, { op: "query_funnel()", title: m.feat_pe_cap_6_title, body: m.feat_pe_cap_6_body }, ], + plan: { + meters: ["product_events"], + retention: m.feat_plan_ret_events, + limit: null, + docs: "/docs/product-events/overview", + }, related: ["browser-sessions", "metrics-dashboards", "distributed-tracing"], relatedUseCases: ["ecommerce-observability"], locales: ["en", "ja", "ko"], @@ -238,6 +256,7 @@ export const features: Feature[] = [ { op: "volume histogram", title: m.feat_logs_cap_4_title, body: m.feat_logs_cap_4_body }, { op: "OTLP", title: m.feat_logs_cap_5_title, body: m.feat_logs_cap_5_body }, ], + plan: { meters: ["logs"], retention: m.feat_plan_ret_logs, limit: null, docs: "/docs/explore/logs" }, related: ["distributed-tracing", "error-tracking", "metrics-dashboards"], relatedUseCases: ["ecommerce-observability"], locales: ["en", "ja", "ko"], @@ -311,6 +330,12 @@ export const features: Feature[] = [ { op: "group by", title: m.feat_metrics_cap_4_title, body: m.feat_metrics_cap_4_body }, { op: "select range", title: m.feat_metrics_cap_5_title, body: m.feat_metrics_cap_5_body }, ], + plan: { + meters: ["metrics"], + retention: m.feat_plan_ret_metrics, + limit: null, + docs: "/docs/explore/metrics", + }, related: ["alerts", "log-management", "kubernetes-monitoring"], relatedUseCases: ["api-performance"], locales: ["en", "ja", "ko"], @@ -387,6 +412,12 @@ export const features: Feature[] = [ { op: "service.name", title: m.feat_catalog_cap_4_title, body: m.feat_catalog_cap_4_body }, { op: "service.version", title: m.feat_catalog_cap_5_title, body: m.feat_catalog_cap_5_body }, ], + plan: { + meters: ["traces"], + retention: m.feat_plan_ret_services, + limit: null, + docs: "/docs/explore/services", + }, related: ["anomalies", "kubernetes-monitoring", "uptime-monitoring"], relatedUseCases: ["microservices-debugging"], locales: ["en", "ja", "ko"], @@ -447,6 +478,12 @@ export const features: Feature[] = [ { op: "claim", title: m.feat_errors_cap_4_title, body: m.feat_errors_cap_4_body }, { op: "set severity", title: m.feat_errors_cap_5_title, body: m.feat_errors_cap_5_body }, ], + plan: { + meters: ["traces"], + retention: m.feat_plan_ret_errors, + limit: null, + docs: "/docs/errors/overview", + }, related: ["github", "anomalies", "ai-mcp-integration"], relatedUseCases: ["ecommerce-observability"], locales: ["en", "ja", "ko"], @@ -513,6 +550,12 @@ export const features: Feature[] = [ { op: "check log", title: m.feat_alerts_cap_4_title, body: m.feat_alerts_cap_4_body }, { op: "renotify 30m", title: m.feat_alerts_cap_5_title, body: m.feat_alerts_cap_5_body }, ], + plan: { + meters: [], + retention: m.feat_plan_ret_alerts, + limit: null, + docs: "/docs/alerting/alert-rules", + }, related: ["uptime-monitoring", "status-pages", "product-events"], relatedUseCases: ["api-performance"], locales: ["en", "ja", "ko"], @@ -550,6 +593,12 @@ export const features: Feature[] = [ body: m.feat_uptime_cap_6_body, }, ], + plan: { + meters: [], + retention: null, + limit: m.feat_plan_limit_uptime, + docs: "/docs/alerting/uptime-monitoring", + }, related: ["alerts", "status-pages", "distributed-tracing"], relatedUseCases: ["api-performance"], locales: ["en", "ja", "ko"], @@ -624,6 +673,7 @@ export const features: Feature[] = [ body: m.feat_status_cap_8_body, }, ], + plan: { meters: [], retention: null, limit: null, docs: null }, related: ["uptime-monitoring", "alerts", "ai-mcp-integration"], relatedUseCases: ["api-performance"], locales: ["en", "ja", "ko"], @@ -657,6 +707,7 @@ export const features: Feature[] = [ { op: "log_volume", title: m.feat_anomalies_cap_5_title, body: m.feat_anomalies_cap_5_body }, { op: "investigate", title: m.feat_anomalies_cap_6_title, body: m.feat_anomalies_cap_6_body }, ], + plan: { meters: [], retention: null, limit: null, docs: "/docs/alerting/anomalies" }, related: ["alerts", "error-tracking", "service-catalog"], relatedUseCases: ["api-performance"], locales: ["en", "ja", "ko"], @@ -681,12 +732,19 @@ export const features: Feature[] = [ alt: "The MCP server page showing the endpoint and client setup", }, facts: [ - { key: "protocol", value: "MCP / HTTP" }, - { key: "clients", value: "Claude Code · any MCP client" }, - { key: "auth", value: "API key · OAuth" }, + { key: "protocol", value: "MCP · Streamable HTTP" }, + { key: "clients", value: "Claude Code · Cursor · any Streamable HTTP client" }, + { key: "auth", value: "API key · OAuth with PKCE" }, { key: "scope", value: "one org per key" }, - { key: "reads", value: "traces · logs · metrics · sessions · issues" }, - { key: "writes", value: "issues · alert rules" }, + { key: "tools", value: "130+ · each marked read or write" }, + { + key: "reads", + value: "traces · logs · metrics · sessions · issues · agent sessions · infra", + }, + { + key: "writes", + value: "issues · alert rules · on-call · SLOs · uptime monitors · status pages · dashboards · ingest rules", + }, ], title: m.feat_mcp_panel_title, lede: m.feat_mcp_panel_lede, @@ -707,6 +765,7 @@ export const features: Feature[] = [ { op: "claim_error_issue()", title: m.feat_mcp_cap_4_title, body: m.feat_mcp_cap_4_body }, { op: "org scope", title: m.feat_mcp_cap_5_title, body: m.feat_mcp_cap_5_body }, ], + plan: { meters: [], retention: null, limit: null, docs: "/docs/reference/mcp" }, related: ["error-tracking", "github", "service-catalog"], relatedUseCases: ["api-performance"], locales: ["en", "ja", "ko"], @@ -742,6 +801,12 @@ export const features: Feature[] = [ { op: "OTel Operator", title: m.page_k8s_operator, body: m.page_k8s_operator_desc }, { op: "one endpoint", title: m.page_k8s_multi, body: m.page_k8s_multi_desc }, ], + plan: { + meters: ["metrics"], + retention: m.feat_plan_ret_k8s, + limit: null, + docs: "/docs/infrastructure/kubernetes", + }, related: ["service-catalog", "metrics-dashboards", "distributed-tracing"], relatedUseCases: ["microservices-debugging"], locales: ["en", "ja", "ko"], @@ -795,6 +860,12 @@ export const features: Feature[] = [ { op: "read_source_file()", title: m.feat_github_cap_7_title, body: m.feat_github_cap_7_body }, { op: "review.rules", title: m.feat_github_cap_8_title, body: m.feat_github_cap_8_body }, ], + plan: { + meters: ["ai_credits"], + retention: m.feat_plan_ret_ci, + limit: null, + docs: "/docs/code-review/overview", + }, related: ["error-tracking", "ai-mcp-integration", "distributed-tracing"], relatedUseCases: ["api-performance"], locales: ["en", "ja", "ko"], diff --git a/apps/landing/src/lib/page-registry.ts b/apps/landing/src/lib/page-registry.ts index 1eb29ab72a..5e7243f41c 100644 --- a/apps/landing/src/lib/page-registry.ts +++ b/apps/landing/src/lib/page-registry.ts @@ -21,6 +21,8 @@ * built by the pure helpers below rather than by `getRelativeLocaleUrl`. */ +import type { FeaturePlan } from "./feature-plan" + type Locale = "en" | "ja" | "ko" /** A Paraglide message, uncalled. See rule 1 above. */ @@ -137,6 +139,8 @@ export interface Feature { gallery: GalleryShot[] capTitle: Msg capabilities: Capability[] + /** Price, retention and setup doc: the facts agents and buyers ask for first. */ + plan: FeaturePlan /** Hand-picked, so no slug ends up with zero inbound links. */ related: string[] relatedUseCases: string[] diff --git a/apps/landing/src/lib/pricing-offer.ts b/apps/landing/src/lib/pricing-offer.ts index 73f49f4443..d86a50e2fa 100644 --- a/apps/landing/src/lib/pricing-offer.ts +++ b/apps/landing/src/lib/pricing-offer.ts @@ -103,6 +103,19 @@ export const platformFeatures = (): string[] => [ m.pricing_audit_log(), ] +/** + * One Autumn request per build: every feature page reads the offer, in three + * locales. The response carries no localized text, so sharing it is safe; labels + * are still resolved per call. The site is fully static, so nothing outlives a build. + */ +let plansRequest: ReturnType | undefined + +const listPlans = () => + (plansRequest ??= new Autumn({ + secretKey: import.meta.env.AUTUMN_SECRET_KEY, + xApiVersion: AUTUMN_API_VERSION, + }).plans.list()) + /** * The live offer, or the `autumn.config.ts` mirror if Autumn is unreachable at * build time. The fallback carries browser sessions and product events too, since a @@ -112,11 +125,7 @@ export async function getOffer(): Promise { const labels = dataFeatureLabels() try { - const autumn = new Autumn({ - secretKey: import.meta.env.AUTUMN_SECRET_KEY, - xApiVersion: AUTUMN_API_VERSION, - }) - const result = await autumn.plans.list() + const result = await listPlans() const products = Arr.filter(result.list ?? [], (p) => !p.addOn) if (products.length > 1) { diff --git a/apps/landing/src/pages/features/[slug].md.ts b/apps/landing/src/pages/features/[slug].md.ts index f5f3886445..4211ca5f34 100644 --- a/apps/landing/src/pages/features/[slug].md.ts +++ b/apps/landing/src/pages/features/[slug].md.ts @@ -8,19 +8,25 @@ * the same behaviour as a hazard for `getStaticPaths`, so don't "fix" it. * * Screenshots are dropped: their `alt` text describes a capture rather than - * making the argument, which is noise in a text-only representation. + * making the argument, which is noise in a text-only representation. Extra + * sections are kept, since some carry the install commands themselves. */ import type { APIRoute, GetStaticPaths } from "astro" import { featureBySlug, features } from "../../lib/features" import type { Feature } from "../../lib/page-registry" import { useCaseBySlug } from "../../lib/use-cases" import { absolute, blocks, docHeader, markdown } from "../../lib/page-markdown" +import { planRows } from "../../lib/feature-plan" +import { sectionMarkdown } from "../../lib/feature-sections" +import { getOffer } from "../../lib/pricing-offer" +import { scaleProofMarkdown } from "../../lib/scale-proof" +import * as m from "../../paraglide/messages.js" import { Array as Arr } from "effect" export const getStaticPaths: GetStaticPaths = () => Arr.map(features, (feature) => ({ params: { slug: feature.slug }, props: { feature } })) -export const GET: APIRoute = ({ props, site }) => { +export const GET: APIRoute = async ({ props, site }) => { const { feature } = props as { feature: Feature } const facts = feature.panel @@ -34,6 +40,24 @@ export const GET: APIRoute = ({ props, site }) => { ) : undefined + const plan = blocks( + `## ${m.feat_plan_title()}`, + Arr.join( + Arr.map(planRows(feature.plan, await getOffer()), ({ key, value }) => `- **${key}**: ${value}`), + "\n", + ), + scaleProofMarkdown(site), + Arr.join( + [ + ...(feature.plan.docs + ? [`- [${m.feat_plan_docs()}](${absolute(site, `${feature.plan.docs}.md`)})`] + : []), + `- [${m.feat_plan_pricing()}](${absolute(site, "/pricing.md")})`, + ], + "\n", + ), + ) + const related = blocks( "## Related", Arr.join( @@ -57,6 +81,8 @@ export const GET: APIRoute = ({ props, site }) => { blocks( docHeader(feature.heroTitle(), feature.heroLede()), facts, + plan, + ...Arr.map(feature.extraSections, (id) => sectionMarkdown(id, site)), `## ${feature.capTitle()}`, ...Arr.map(feature.capabilities, (cap) => `### ${cap.op}: ${cap.title()}\n\n${cap.body()}`), related, diff --git a/apps/landing/src/pages/llms.txt.ts b/apps/landing/src/pages/llms.txt.ts index 56a8bd05f9..74f82ffed2 100644 --- a/apps/landing/src/pages/llms.txt.ts +++ b/apps/landing/src/pages/llms.txt.ts @@ -86,7 +86,7 @@ export const GET: APIRoute = ({ site }) => { "## Features", "", - `One page per capability: tracing, session replay, logs, metrics, service catalog, error tracking, MCP, Kubernetes. ${CONVENTION("feature")}`, + `One page per capability, ${features.length} in all. Each states what it costs, how long it keeps data, and links its setup doc. ${CONVENTION("feature")}`, "", ...Arr.map( features,