The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
light website work
ddux45c165d65aca
diff --git a/website/app/globals.css b/website/app/globals.cssindex 6f0a30aa..0c55f3ae 100644--- a/website/app/globals.css+++ b/website/app/globals.css@@ -128,3 +128,4 @@ button,a:hover {cursor: pointer !important;}+diff --git a/website/app/page.tsx b/website/app/page.tsxindex 304e0c8b..80b98e68 100644--- a/website/app/page.tsx+++ b/website/app/page.tsx@@ -27,21 +27,9 @@ import { CodeTabs } from "@/components/code-tabs";import { ImpactScoreVisual } from "@/components/impact-score-visual";import { CostComparison } from "@/components/cost-comparison";import { DockerCommand } from "@/components/docker-command";--const frameworks = [- { name: "Gin", src: "/images/frameworks/gin.png" },- { name: "Chi", src: "/images/frameworks/chi.png" },- { name: "Stdlib", src: "/images/frameworks/stdlib.png" },- { name: "FastHTTP", src: "/images/frameworks/fasthttp.png" },- { name: "Express", src: "/images/frameworks/express.png" },- { name: "NestJS", src: "/images/frameworks/nestjs.png" },- { name: "Next.js", src: "/images/frameworks/nextjs.png" },- { name: "Node.js", src: "/images/frameworks/node.png" },- { name: "Svelte", src: "/images/frameworks/svelte.png" },- { name: "Remix", src: "/images/frameworks/remix.png" },- { name: "OpenTelemetry", src: "/images/frameworks/otel.png" },- { name: "Cloudflare", src: "/images/frameworks/cloudflare.png" },-];+import { DistributedTraceVisual } from "@/components/distributed-trace-visual";+import { HomeTabs } from "@/components/home-tabs";+import { FrameworkMarquee } from "@/components/framework-marquee";export default function Home() {return (@@ -57,12 +45,13 @@ export default function Home() {</span></Link><h1 className="text-4xl md:text-6xl font-bold tracking-tight mb-6 text-zinc-900">- Know what to fix first+ The full picture behind every error</h1><p className="text-zinc-600 text-lg md:text-xl max-w-2xl mx-auto mb-10 leading-relaxed font-medium">- Traceway scores every endpoint and exception by real user impact,- then ranks them. You open the dashboard and immediately know what- needs attention. No triage meetings. No alert fatigue.+ Traceway attaches session replays, distributed traces, and resolved+ stack traces to every error automatically. Open an issue and+ immediately understand what went wrong, across frontend and+ backend.</p><div className="flex flex-col sm:flex-row items-center justify-center gap-3"><Link href="https://docs.tracewayapp.com" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 bg-zinc-900 text-white hover:bg-zinc-800 shadow-lg shadow-zinc-900/20">@@ -85,22 +74,11 @@ export default function Home() {{/* Section 2: Framework Logos */}<section className="pt-0 pb-10 bg-white border-b border-zinc-100">- <div className="container mx-auto px-4 max-w-4xl">+ <div className="mx-auto max-w-4xl"><p className="text-center text-xs font-semibold text-zinc-400 uppercase tracking-wider mb-6">- Works with OpenTelemetry, Go, JavaScript+ Works with YOUR stack</p>- <div className="flex flex-wrap items-center justify-center gap-8 md:gap-10">- {frameworks.map((fw) => (- <Image- key={fw.name}- src={fw.src}- alt={fw.name}- width={40}- height={40}- className="h-8 w-auto opacity-80 hover:opacity-100 transition-all duration-200"- />- ))}- </div>+ <FrameworkMarquee /></div></section>@@ -124,6 +102,45 @@ export default function Home() {</div></section>+ {/* OpenTelemetry Support */}+ <section className="py-16 bg-white border-b border-zinc-100">+ <div className="container mx-auto px-4 max-w-3xl text-center">+ <Image+ src="/images/frameworks/otel.png"+ alt="OpenTelemetry"+ width={48}+ height={48}+ className="mx-auto mb-6 h-12 w-auto"+ />+ <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">+ Send from any OpenTelemetry source+ </h2>+ <p className="text-zinc-600 text-lg max-w-xl mx-auto">+ Already instrumented with OTel? Point your OTLP exporter at+ Traceway. No proprietary SDK lock-in.+ </p>+ </div>+ </section>++ {/* Distributed Tracing Example */}+ <section className="py-20 bg-zinc-50/50 border-b border-zinc-100">+ <div className="container mx-auto px-4 max-w-5xl">+ <div className="text-center mb-12">+ <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">+ Trace requests across every service+ </h2>+ <p className="text-zinc-600 text-lg max-w-2xl mx-auto">+ Follow a single user action from the browser through your API+ gateway, backend services, and database calls. See the full+ picture in one distributed trace.+ </p>+ </div>+ <div className="max-w-4xl mx-auto">+ <DistributedTraceVisual />+ </div>+ </div>+ </section>+{/* Section 4: Feature Showcase */}<section className="py-24 bg-white border-b border-zinc-100"><div className="container mx-auto px-4 max-w-5xl space-y-32">@@ -258,7 +275,23 @@ export default function Home() {</div></section>- {/* Section 5: Open Source & Self-Hosting */}+ {/* Section 6: Use Case Tabs */}+ <section className="py-20 bg-white border-b border-zinc-100">+ <div className="container mx-auto px-4 max-w-5xl">+ <div className="text-center mb-12">+ <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">+ Built for every layer of your stack+ </h2>+ <p className="text-zinc-600 text-lg max-w-2xl mx-auto">+ Whether you're debugging a slow API, a frontend crash, or a+ failing microservice call, Traceway gives you the right view.+ </p>+ </div>+ <HomeTabs />+ </div>+ </section>++ {/* Section 7: Open Source & Self-Hosting */}<section className="py-20 bg-white border-b border-zinc-100"><div className="container mx-auto px-4 max-w-5xl"><div className="text-center mb-12">@@ -319,26 +352,6 @@ export default function Home() {</div></section>- {/* Section 7: OpenTelemetry Support */}- <section className="py-16 bg-zinc-50/50 border-b border-zinc-100">- <div className="container mx-auto px-4 max-w-3xl text-center">- <Image- src="/images/frameworks/otel.png"- alt="OpenTelemetry"- width={48}- height={48}- className="mx-auto mb-6 h-12 w-auto"- />- <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">- Send from any OpenTelemetry source- </h2>- <p className="text-zinc-600 text-lg max-w-xl mx-auto">- Already instrumented with OTel? Point your OTLP exporter at- Traceway. No proprietary SDK lock-in.- </p>- </div>- </section>-{/* Section 8: Quick Integration */}<section className="py-16 bg-white border-b border-zinc-100"><div className="container mx-auto px-4 max-w-5xl">@@ -509,6 +522,81 @@ export default function Home() {OTel-compatible instrumentation.</AccordionContent></AccordionItem>+ <AccordionItem value="item-8" className="border-b-zinc-200">+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">+ How does distributed tracing work?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ Traceway propagates a trace ID across every service in a+ request chain. The frontend SDK generates the ID and passes it+ to your backend via headers. Each backend service forwards it+ to downstream calls. Every span, exception, and session replay+ recorded with that trace ID is linked together, giving you a+ complete picture of a single user action across your entire+ architecture.+ </AccordionContent>+ </AccordionItem>+ <AccordionItem value="item-9" className="border-b-zinc-200">+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">+ Does Traceway connect frontend and backend issues?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ Yes. When a backend service returns an error, Traceway links it+ to the frontend session replay that triggered the request. You+ see the user's clicks and navigations alongside the+ server-side stack trace and span waterfall. Both sides are+ connected automatically via the shared trace ID.+ </AccordionContent>+ </AccordionItem>+ <AccordionItem value="item-10" className="border-b-zinc-200">+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">+ Can I create custom metrics?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ Yes. In addition to the automatic system metrics (CPU, memory,+ goroutines, GC stats), you can capture custom metrics with a+ single function call. Custom metrics appear in the metrics+ dashboard where you can build widget groups with charts and+ organize them however you want.+ </AccordionContent>+ </AccordionItem>+ <AccordionItem value="item-11" className="border-b-zinc-200">+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">+ What types of alerts and notifications does Traceway send?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ Traceway supports notifications via Slack, GitHub Issues, email,+ and custom webhooks. You can configure rules based on new+ exceptions, error rate thresholds, or performance degradations.+ Notifications are sent to the channels you choose so your team+ is alerted where they already work.+ </AccordionContent>+ </AccordionItem>+ <AccordionItem value="item-12" className="border-b-zinc-200">+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">+ What languages and frameworks does Traceway support?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ Traceway has native SDKs for Go (Gin, Chi, Fiber, FastHTTP,+ net/http) and JavaScript (Node.js, NestJS, React, Vue, Svelte,+ jQuery, Remix, Next.js). PHP is supported via the Symfony+ OpenTelemetry bundle. Any language with an OpenTelemetry SDK+ (Java, Python, .NET, Ruby, and more) can send traces and+ metrics to Traceway via OTLP.+ </AccordionContent>+ </AccordionItem>+ <AccordionItem value="item-13" className="border-b-zinc-200">+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">+ Can I monitor background tasks and cron jobs?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ Yes. Traceway tracks background tasks and scheduled jobs with+ the same level of detail as HTTP requests. You see execution+ duration, success/failure status, and any exceptions thrown+ during the task. Tasks are listed in a dedicated dashboard with+ filtering and sorting.+ </AccordionContent>+ </AccordionItem></Accordion></div></section>diff --git a/website/app/product/distributed-tracing/page.tsx b/website/app/product/distributed-tracing/page.tsxnew file mode 100644index 00000000..b7a854bc--- /dev/null+++ b/website/app/product/distributed-tracing/page.tsx@@ -0,0 +1,294 @@+import Image from "next/image";+import Link from "next/link";++import { Badge } from "@/components/ui/badge";+import {+ Accordion,+ AccordionContent,+ AccordionItem,+ AccordionTrigger,+} from "@/components/ui/accordion";+import {+ ArrowRight,+ GitBranch,+ Video,+ FileCode,+ TrendingUp,+} from "lucide-react";++export default function DistributedTracingPage() {+ return (+ <main className="min-h-screen bg-white text-zinc-950 font-sans selection:bg-zinc-100 selection:text-zinc-900">+ {/* Hero Section */}+ <section className="relative pt-16 pb-20 overflow-hidden">+ <div className="absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>+ <div className="container mx-auto px-4 text-center">+ <Badge+ variant="secondary"+ className="mb-4 bg-teal-50 text-teal-700 hover:bg-teal-100 px-2.5 py-0.5 border border-teal-100 text-xs font-normal rounded-full"+ >+ Distributed Tracing+ </Badge>+ <h1 className="text-4xl md:text-6xl font-bold tracking-tight mb-6 text-zinc-900">+ See the user behind <br />+ <span className="text-transparent bg-clip-text bg-gradient-to-r from-teal-600 to-cyan-600">+ every backend error+ </span>+ </h1>+ <p className="text-zinc-600 text-lg md:text-xl max-w-2xl mx-auto mb-10 leading-relaxed font-medium">+ When a backend service throws an exception, Traceway shows you the+ user's session replay, the cross-service trace, and the exact+ span that failed. No log-digging. No guessing what happened.+ </p>+ <div className="flex flex-col sm:flex-row items-center justify-center gap-3">+ <Link+ href="https://docs.tracewayapp.com"+ className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 bg-zinc-900 text-white hover:bg-zinc-800 shadow-lg shadow-zinc-900/20"+ >+ Get Started <ArrowRight className="ml-2 h-4 w-4" />+ </Link>+ <Link+ href="http://cloud.tracewayapp.com/register"+ className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 border border-zinc-200 bg-white hover:bg-zinc-50 text-zinc-900 shadow-sm"+ >+ Try Traceway Cloud+ </Link>+ </div>+ </div>+ </section>++ {/* Feature 1: Cross-Service Visibility */}+ <section className="py-24 bg-white border-y border-zinc-100">+ <div className="container mx-auto px-4 max-w-5xl">+ <div className="flex flex-col md:flex-row items-center gap-12 lg:gap-20">+ <div className="flex-1 space-y-6">+ <div className="w-12 h-12 bg-teal-50 rounded-2xl flex items-center justify-center">+ <GitBranch className="w-6 h-6 text-teal-600" />+ </div>+ <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">+ Trace requests across every service+ </h2>+ <p className="text-zinc-600 text-lg leading-relaxed">+ Follow a single user action from the browser click through your+ API gateway, backend services, and database calls. Traceway+ propagates trace context so every span connects into one+ distributed trace.+ </p>+ <ul className="space-y-3 pt-2">+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-teal-500"></div>+ W3C Trace Context propagation+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-teal-500"></div>+ Cross-service span waterfall+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-teal-500"></div>+ Automatic context linking+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-teal-500"></div>+ Works with any OpenTelemetry-instrumented service+ </li>+ </ul>+ </div>+ <div className="flex-1 w-full relative">+ <div className="absolute inset-0 bg-gradient-to-tr from-teal-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>+ <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white">+ <Image+ src="/images/screenshot-3.png"+ alt="Distributed Trace Waterfall"+ width={800}+ height={600}+ className="w-full h-auto"+ />+ </div>+ </div>+ </div>+ </div>+ </section>++ {/* Feature 2: Session Replay + Backend Errors */}+ <section className="py-24 bg-zinc-50/50">+ <div className="container mx-auto px-4 max-w-5xl">+ <div className="flex flex-col md:flex-row-reverse items-center gap-12 lg:gap-20">+ <div className="flex-1 space-y-6">+ <div className="w-12 h-12 bg-purple-50 rounded-2xl flex items-center justify-center">+ <Video className="w-6 h-6 text-purple-600" />+ </div>+ <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">+ See what the user did when the backend broke+ </h2>+ <p className="text-zinc-600 text-lg leading-relaxed">+ Traceway connects frontend session replays to backend exceptions.+ When your payment service returns a 500, you don't just see+ the stack trace — you see the user clicking+ “Checkout”, filling in their card, and hitting+ submit. The replay is linked to the distributed trace+ automatically.+ </p>+ <ul className="space-y-3 pt-2">+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>+ Frontend replay linked to backend errors+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>+ Automatic correlation via trace ID+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>+ No manual reproduction needed+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>+ Works across browser and server+ </li>+ </ul>+ </div>+ <div className="flex-1 w-full relative">+ <div className="absolute inset-0 bg-gradient-to-tl from-purple-100/50 to-transparent rounded-3xl transform -rotate-3 scale-105 -z-10"></div>+ <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white">+ <Image+ src="/images/session-replay.png"+ alt="Session Replay linked to Backend Error"+ width={800}+ height={600}+ className="w-full h-auto"+ />+ </div>+ </div>+ </div>+ </div>+ </section>++ {/* Two-Card Section */}+ <section className="py-24 bg-white border-y border-zinc-100">+ <div className="container mx-auto px-4 max-w-5xl">+ <div className="grid grid-cols-1 md:grid-cols-2 gap-8">+ <div className="rounded-2xl border border-zinc-200 bg-white p-8 space-y-5">+ <div className="w-12 h-12 bg-orange-50 rounded-2xl flex items-center justify-center">+ <FileCode className="w-6 h-6 text-orange-600" />+ </div>+ <h2 className="text-xl md:text-2xl font-bold text-zinc-900 tracking-tight">+ Source map stack trace resolution+ </h2>+ <p className="text-zinc-600 leading-relaxed">+ Minified JavaScript stack traces are resolved to original source+ files and line numbers automatically. Upload your source maps and+ every frontend error shows readable, actionable traces.+ </p>+ <ul className="space-y-3 pt-1">+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>+ Automatic source map resolution+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>+ Original file names and line numbers+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>+ Works with webpack, esbuild, and Vite+ </li>+ </ul>+ </div>++ <div className="rounded-2xl border border-zinc-200 bg-white p-8 space-y-5">+ <div className="w-12 h-12 bg-blue-50 rounded-2xl flex items-center justify-center">+ <TrendingUp className="w-6 h-6 text-blue-600" />+ </div>+ <h2 className="text-xl md:text-2xl font-bold text-zinc-900 tracking-tight">+ Impact Score for distributed services+ </h2>+ <p className="text-zinc-600 leading-relaxed">+ The Impact Score extends across service boundaries. When an+ upstream service degrades, its impact propagates to every+ downstream consumer — so you fix the root cause, not the+ symptoms.+ </p>+ <ul className="space-y-3 pt-1">+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>+ Cross-service impact propagation+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>+ Root cause identification+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>+ Automatic priority ranking+ </li>+ </ul>+ </div>+ </div>+ </div>+ </section>++ {/* FAQ Section */}+ <section className="py-24 bg-zinc-50 border-t border-zinc-100">+ <div className="container mx-auto px-4 max-w-3xl">+ <div className="text-center mb-12">+ <h2 className="text-3xl font-bold mb-4 text-zinc-900 tracking-tight">+ Frequently Asked Questions+ </h2>+ <p className="text-zinc-600 text-lg">+ Common questions about distributed tracing with Traceway.+ </p>+ </div>++ <Accordion type="single" collapsible className="w-full">+ <AccordionItem value="item-1" className="border-b-zinc-200">+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">+ How does distributed tracing connect to session replay?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ Traceway's frontend SDK generates a trace ID for each user+ interaction and passes it to your backend via the traceparent+ header. When the backend reports a span or exception with that+ trace ID, Traceway links the frontend session replay to the+ backend trace automatically.+ </AccordionContent>+ </AccordionItem>+ <AccordionItem value="item-2" className="border-b-zinc-200">+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">+ What protocols does Traceway use for trace propagation?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ Traceway supports W3C Trace Context (traceparent/tracestate+ headers) and is compatible with any OpenTelemetry-instrumented+ service. If your services already propagate trace context,+ Traceway picks it up automatically.+ </AccordionContent>+ </AccordionItem>+ <AccordionItem value="item-3" className="border-b-zinc-200">+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">+ Do I need to instrument both frontend and backend?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ For the full experience (session replay linked to backend+ traces), yes. The frontend SDK captures user interactions and the+ backend middleware captures server-side spans. Both connect via+ the shared trace ID. However, backend-only distributed tracing+ works independently.+ </AccordionContent>+ </AccordionItem>+ <AccordionItem value="item-4" className="border-b-zinc-200">+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">+ How does source map resolution work?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ Upload your source maps to Traceway or configure your CI to do+ it automatically. When a frontend exception is reported with a+ minified stack trace, Traceway resolves it to the original file+ paths and line numbers before displaying it.+ </AccordionContent>+ </AccordionItem>+ </Accordion>+ </div>+ </section>+ </main>+ );+}diff --git a/website/components/distributed-trace-visual.tsx b/website/components/distributed-trace-visual.tsxnew file mode 100644index 00000000..eb6f6a0b--- /dev/null+++ b/website/components/distributed-trace-visual.tsx@@ -0,0 +1,80 @@+import { Link2, ArrowRight } from "lucide-react";++const traces = [+ {+ service: "Backend API",+ serviceBg: "bg-zinc-100 text-zinc-700",+ method: "GET",+ path: "/api/test-error",+ status: "500",+ statusColor: "text-red-600",+ duration: "72ms",+ badge: "Exception",+ },+ {+ service: "React Frontend",+ serviceBg: "bg-zinc-100 text-zinc-700",+ method: null,+ path: "Error: GET /api/test-error failed: 500 Internal Server Error",+ status: null,+ statusColor: "",+ duration: null,+ badge: "Exception",+ },+];++export function DistributedTraceVisual() {+ return (+ <div className="rounded-xl border border-zinc-200 bg-white overflow-hidden">+ <div className="px-5 py-4 border-b border-zinc-100">+ <div className="flex items-center gap-2 mb-1">+ <Link2 className="w-4 h-4 text-zinc-400" />+ <span className="text-base font-semibold text-zinc-900">+ Distributed Trace+ </span>+ </div>+ <p className="text-sm text-zinc-500">+ This trace spans across multiple services+ </p>+ </div>++ <div className="divide-y divide-zinc-100">+ {traces.map((t, i) => (+ <div+ key={i}+ className="flex items-center gap-4 px-5 py-4"+ >+ <span+ className={`shrink-0 inline-flex items-center px-3 py-1 rounded-full text-xs font-medium ${t.serviceBg}`}+ >+ {t.service}+ </span>++ <div className="flex-1 min-w-0 flex items-center gap-2 text-sm font-mono text-zinc-800 truncate">+ {t.method && (+ <span className="font-semibold">{t.method}</span>+ )}+ <span className="truncate">{t.path}</span>+ {t.status && (+ <span className={`font-semibold ${t.statusColor}`}>+ {t.status}+ </span>+ )}+ {t.duration && (+ <span className="text-zinc-400">{t.duration}</span>+ )}+ </div>++ <span className="shrink-0 inline-flex items-center px-2.5 py-0.5 rounded-full text-[11px] font-semibold bg-red-600 text-white">+ {t.badge}+ </span>++ <span className="shrink-0 flex items-center gap-1 text-sm font-medium text-zinc-500 hover:text-zinc-900 cursor-pointer transition-colors">+ View <ArrowRight className="w-3.5 h-3.5" />+ </span>+ </div>+ ))}+ </div>+ </div>+ );+}diff --git a/website/components/framework-marquee.tsx b/website/components/framework-marquee.tsxnew file mode 100644index 00000000..64c1c955--- /dev/null+++ b/website/components/framework-marquee.tsx@@ -0,0 +1,59 @@+"use client";++import Image from "next/image";++const frameworks = [+ { name: "Gin", src: "/images/frameworks/gin.png" },+ { name: "Chi", src: "/images/frameworks/chi.png" },+ { name: "Stdlib", src: "/images/frameworks/stdlib.png" },+ { name: "FastHTTP", src: "/images/frameworks/fasthttp.png" },+ { name: "Express", src: "/images/frameworks/express.png" },+ { name: "NestJS", src: "/images/frameworks/nestjs.png" },+ { name: "Next.js", src: "/images/frameworks/nextjs.png" },+ { name: "Node.js", src: "/images/frameworks/node.png" },+ { name: "Svelte", src: "/images/frameworks/svelte.png" },+ { name: "Remix", src: "/images/frameworks/remix.png" },+ { name: "OpenTelemetry", src: "/images/frameworks/otel.png" },+ { name: "Cloudflare", src: "/images/frameworks/cloudflare.png" },+ { name: "jQuery", src: "/images/frameworks/jquery.png" },+ { name: "Symfony", src: "/images/frameworks/symfony.png" },+];++export function FrameworkMarquee() {+ return (+ <div+ className="relative overflow-hidden"+ style={{+ maskImage:+ "linear-gradient(to right, transparent, black 10%, black 90%, transparent)",+ WebkitMaskImage:+ "linear-gradient(to right, transparent, black 10%, black 90%, transparent)",+ }}+ >+ <style>{`+ @keyframes scroll-left {+ 0% { transform: translateX(0); }+ 100% { transform: translateX(-50%); }+ }+ `}</style>+ <div+ className="flex items-center gap-10"+ style={{+ width: "max-content",+ animation: "scroll-left 30s linear infinite",+ }}+ >+ {[...frameworks, ...frameworks].map((fw, i) => (+ <Image+ key={`${fw.name}-${i}`}+ src={fw.src}+ alt={fw.name}+ width={40}+ height={40}+ className="h-8 w-auto shrink-0"+ />+ ))}+ </div>+ </div>+ );+}diff --git a/website/components/home-tabs.tsx b/website/components/home-tabs.tsxnew file mode 100644index 00000000..9b1f1434--- /dev/null+++ b/website/components/home-tabs.tsx@@ -0,0 +1,122 @@+"use client";++import { useState } from "react";+import Link from "next/link";+import { Server, Monitor, Network, ArrowRight } from "lucide-react";++const tabs = [+ {+ id: "backend",+ label: "Backend",+ icon: Server,+ iconBg: "bg-teal-50",+ iconColor: "text-teal-600",+ dotColor: "bg-teal-500",+ heading: "Trace every request. Score every endpoint.",+ description:+ "Traceway captures detailed span waterfall traces for every backend request, monitors scheduled tasks and background jobs, and ranks endpoints by real user impact with the Impact Score.",+ bullets: [+ "Full request/response span traces",+ "Scheduled task and background job monitoring",+ "Automatic Impact Score ranking",+ "OpenTelemetry-native ingestion",+ ],+ href: "/product/performance",+ },+ {+ id: "frontend",+ label: "Frontend",+ icon: Monitor,+ iconBg: "bg-purple-50",+ iconColor: "text-purple-600",+ dotColor: "bg-purple-500",+ heading: "Replay the moment before every error.",+ description:+ "See exactly what users did before an exception. Session replays are attached to errors automatically. Source map stack trace resolution turns minified errors into readable, actionable traces.",+ bullets: [+ "Session replay with pre-error capture",+ "Automatic source map stack trace resolution",+ "Click, scroll, and navigation tracking",+ "Linked directly to backend traces",+ ],+ href: "/product/session-replay",+ },+ {+ id: "microservice",+ label: "Microservice",+ icon: Network,+ iconBg: "bg-cyan-50",+ iconColor: "text-cyan-600",+ dotColor: "bg-cyan-500",+ heading: "Follow a request across every service.",+ description:+ "Distributed tracing connects frontend sessions to backend errors across your entire microservice topology. When a backend service throws an exception, you see the user's session replay, the full cross-service trace, and the exact span that failed.",+ bullets: [+ "Cross-service distributed trace propagation",+ "Frontend sessions linked to backend errors",+ "Full trace context across service boundaries",+ "Exception pinpointing across services",+ ],+ href: "/product/distributed-tracing",+ },+];++export function HomeTabs() {+ const [active, setActive] = useState(0);+ const tab = tabs[active];+ const Icon = tab.icon;++ return (+ <div>+ <div className="flex items-center justify-center mb-8">+ <div className="inline-flex items-center bg-zinc-100 rounded-lg p-1 gap-1">+ {tabs.map((t, i) => (+ <button+ key={t.id}+ onClick={() => setActive(i)}+ className={`px-4 py-2 rounded-md text-sm font-medium transition-all ${+ active === i+ ? "bg-white text-zinc-900 shadow-sm"+ : "text-zinc-500 hover:text-zinc-700"+ }`}+ >+ {t.label}+ </button>+ ))}+ </div>+ </div>++ <div className="rounded-2xl border border-zinc-200 bg-white p-8 md:p-10">+ <div className="flex flex-col md:flex-row items-start gap-8">+ <div className="flex-1 space-y-5">+ <div+ className={`w-12 h-12 ${tab.iconBg} rounded-2xl flex items-center justify-center`}+ >+ <Icon className={`w-6 h-6 ${tab.iconColor}`} />+ </div>+ <h3 className="text-xl md:text-2xl font-bold text-zinc-900 tracking-tight">+ {tab.heading}+ </h3>+ <p className="text-zinc-600 leading-relaxed">{tab.description}</p>+ <ul className="space-y-3 pt-1">+ {tab.bullets.map((b) => (+ <li key={b} className="flex items-center gap-3 text-zinc-700">+ <div+ className={`w-1.5 h-1.5 rounded-full ${tab.dotColor}`}+ ></div>+ {b}+ </li>+ ))}+ </ul>+ <Link+ href={tab.href}+ className="inline-flex items-center gap-1 text-sm font-medium text-zinc-500 hover:text-zinc-900 transition-colors pt-2"+ >+ Learn more <ArrowRight className="w-3.5 h-3.5" />+ </Link>+ </div>+ </div>+ </div>+ </div>+ );+}diff --git a/website/components/mobile-nav.tsx b/website/components/mobile-nav.tsxindex 07208d19..713e1152 100644--- a/website/components/mobile-nav.tsx+++ b/website/components/mobile-nav.tsx@@ -66,6 +66,13 @@ export function MobileNav() {>Session Replay</Link>+ <Link+ href="/product/distributed-tracing"+ className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors pl-2"+ onClick={() => setIsOpen(false)}+ >+ Distributed Tracing+ </Link><div className="border-t border-zinc-100"></div><Linkhref="/cloud"diff --git a/website/components/site-footer.tsx b/website/components/site-footer.tsxindex 844c1cc6..f3405215 100644--- a/website/components/site-footer.tsx+++ b/website/components/site-footer.tsx@@ -23,6 +23,11 @@ export function SiteFooter() {Session Replay</Link></li>+ <li>+ <Link href="/product/distributed-tracing" className="hover:text-zinc-900 transition-colors">+ Distributed Tracing+ </Link>+ </li></ul></div><div>diff --git a/website/components/site-header.tsx b/website/components/site-header.tsxindex 2840b86a..64e4b4e3 100644--- a/website/components/site-header.tsx+++ b/website/components/site-header.tsx@@ -4,7 +4,7 @@ import { useState, useRef, useEffect } from "react";import Link from "next/link";import Image from "next/image";-import { Github, AlertCircle, Activity, Video, ChevronDown } from "lucide-react";+import { Github, AlertCircle, Activity, Video, ChevronDown, Network } from "lucide-react";import { MobileNav } from "@/components/mobile-nav";export function SiteHeader() {@@ -92,6 +92,19 @@ export function SiteHeader() {<p className="text-xs text-zinc-500 mt-0.5">See exactly what users did before every exception</p></div></Link>+ <Link+ href="/product/distributed-tracing"+ className="flex items-start gap-3 rounded-md p-3 hover:bg-zinc-50 transition-colors"+ onClick={() => setOpen(false)}+ >+ <div className="w-8 h-8 bg-teal-50 rounded-lg flex items-center justify-center shrink-0 mt-0.5">+ <Network className="w-4 h-4 text-teal-600" />+ </div>+ <div>+ <div className="text-sm font-medium text-zinc-900">Distributed Tracing</div>+ <p className="text-xs text-zinc-500 mt-0.5">Cross-service traces linked to frontend session replays</p>+ </div>+ </Link></div>)}</div>diff --git a/website/public/images/frameworks/jquery.png b/website/public/images/frameworks/jquery.pngnew file mode 100644index 00000000..f035ec72Binary files /dev/null and b/website/public/images/frameworks/jquery.png differdiff --git a/website/public/images/frameworks/symfony.png b/website/public/images/frameworks/symfony.pngnew file mode 100644index 00000000..8152450dBinary files /dev/null and b/website/public/images/frameworks/symfony.png differ