The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
website updates
ddux655ff8714284
diff --git a/frontend/src/routes/login/+page.svelte b/frontend/src/routes/login/+page.svelteindex 2ebd3468..b5121624 100644--- a/frontend/src/routes/login/+page.svelte+++ b/frontend/src/routes/login/+page.svelte@@ -12,8 +12,8 @@import { themeState } from '$lib/state/theme.svelte';import { toast } from 'svelte-sonner';- let email = $state('');- let password = $state('');+ let email = $state(page.url.searchParams.get('email') ?? '');+ let password = $state(page.url.searchParams.get('password') ?? '');let error = $state('');let loading = $state(false);diff --git a/website/app/layout.tsx b/website/app/layout.tsxindex a8247e41..53b34a45 100644--- a/website/app/layout.tsx+++ b/website/app/layout.tsx@@ -1,4 +1,5 @@import { SiteHeader } from "@/components/site-header";+import { SiteFooter } from "@/components/site-footer";import type { Metadata } from "next";import { Geist, Geist_Mono } from "next/font/google";import "./globals.css";@@ -15,7 +16,7 @@ const geistMono = Geist_Mono({export const metadata: Metadata = {title: "Traceway",- description: "Telemetry & Issue Tracking for Golang",+ description: "Telemetry & Issue Tracking for Go & JavaScript",icons: {icon: "/favicon.ico",},@@ -33,6 +34,7 @@ export default function RootLayout({><SiteHeader />{children}+ <SiteFooter /></body></html>);diff --git a/website/app/page.tsx b/website/app/page.tsxindex 3e6c110a..5d5992fd 100644--- a/website/app/page.tsx+++ b/website/app/page.tsx@@ -1,10 +1,24 @@import Image from "next/image";import Link from "next/link";import { Button } from "@/components/ui/button";-import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";+import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";import { Badge } from "@/components/ui/badge";import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion";import { Github, ArrowRight, Activity, TrendingUp, AlertCircle, Bug, ChartGantt } from "lucide-react";+import { CodeTabs } from "@/components/code-tabs";++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" },+];export default function Home() {return (@@ -15,14 +29,16 @@ export default function Home() {<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 relative z-10 text-center">- <Badge variant="secondary" className="mb-4 bg-zinc-100 text-zinc-600 hover:bg-zinc-200 px-2.5 py-0.5 border border-zinc-200 text-xs font-normal">- Star us on GitHub- </Badge>+ <Link href="https://github.com/tracewayapp/traceway" target="_blank">+ <Badge variant="secondary" className="mb-4 bg-zinc-100 text-zinc-600 hover:bg-zinc-200 px-2.5 py-0.5 border border-zinc-200 text-xs font-normal cursor-pointer">+ Star us on GitHub+ </Badge>+ </Link><h1 className="text-4xl md:text-6xl font-bold tracking-tight mb-6 text-zinc-900">- Telemetry & Issue Tracking <br /> for <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-indigo-600">Golang</span>+ Telemetry & Issue Tracking <br /> for <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-indigo-600">Go & JavaScript</span></h1>- <p className="text-zinc-600 text-lg md:text-xl max-w-xl mx-auto mb-10 leading-relaxed font-medium">- Ship fast and debug less with Traceway. Simple integration, performance insights, and regression tracking.+ <p className="text-zinc-600 text-lg md:text-xl max-w-2xl mx-auto mb-10 leading-relaxed font-medium">+ Traceway automatically ranks your issues so you fix what matters first. Simple integration, performance insights, and regression tracking across your entire stack.</p><div className="flex flex-col sm:flex-row items-center justify-center gap-3"><Link href="https://docs.tracewayapp.com">@@ -39,14 +55,33 @@ export default function Home() {</div></section>+ {/* Framework Logos */}+ <section className="py-10 bg-white border-b border-zinc-100">+ <div className="container mx-auto px-4 max-w-4xl">+ <p className="text-center text-xs font-semibold text-zinc-400 uppercase tracking-wider mb-6">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 grayscale opacity-60 hover:grayscale-0 hover:opacity-100 transition-all duration-200"+ />+ ))}+ </div>+ </div>+ </section>+{/* Code Snippet Section */}- <section className="py-16 bg-zinc-50/50 border-y border-zinc-100">+ <section className="py-16 bg-zinc-50/50 border-b border-zinc-100"><div className="container mx-auto px-4 max-w-5xl"><div className="flex flex-col md:flex-row items-center justify-between gap-12"><div className="flex-1 space-y-4"><h2 className="text-2xl font-bold tracking-tight text-zinc-900">2-Minute Integration</h2><p className="text-zinc-600 text-base leading-relaxed max-w-md">- Add the middleware to your Gin router and start collecting actionable telemetry instantly.+ Add the middleware to your router and start collecting actionable telemetry instantly.No complex configuration required.</p><ul className="space-y-3 pt-2">@@ -65,31 +100,7 @@ export default function Home() {</ul></div><div className="flex-1 w-full max-w-lg">- <div className="rounded-lg overflow-hidden bg-white border border-zinc-200 shadow-xl shadow-zinc-200/50">- <div className="flex items-center justify-between px-3 py-2 bg-zinc-50 border-b border-zinc-100">- <div className="flex items-center gap-1.5">- <div className="w-2.5 h-2.5 rounded-full bg-[#fe5f57]"></div>- <div className="w-2.5 h-2.5 rounded-full bg-[#fdbc2e]"></div>- <div className="w-2.5 h-2.5 rounded-full bg-[#28c841]"></div>- </div>- <span className="text-[10px] text-zinc-500 font-mono font-medium">main.go</span>- </div>- <div className="p-0 overflow-x-auto bg-white">- <pre className="p-4 text-xs font-mono leading-relaxed text-zinc-800">- <code className="block">- <span className="text-purple-600 font-semibold">func</span> <span className="text-blue-600 font-semibold">main</span>() {"{"}{"\n"}- {" "}r := gin.<span className="text-blue-600">Default</span>(){"\n"}- {" "}r.<span className="text-blue-600">Use</span>(tracewaygin.<span className="text-blue-600">New</span>(<span className="text-green-600">"{`{TOKEN}`}@https://{`{SERVER_URL}`}/api/report"</span>)){"\n"}- {"\n"}- {" "}r.<span className="text-blue-600">GET</span>(<span className="text-green-600">"/test"</span>, <span className="text-purple-600 font-semibold">func</span>(ctx *gin.Context) {"{"}{"\n"}- {" "}ctx.<span className="text-blue-600">AbortWithError</span>(<span className="text-orange-600">500</span>, fmt.<span className="text-blue-600">Errorf</span>(<span className="text-green-600">"Worked!"</span>)){"\n"}- {" "}{"}"}){"\n"}- {" "}r.<span className="text-blue-600">Run</span>(<span className="text-green-600">":8080"</span>){"\n"}- {"}"}- </code>- </pre>- </div>- </div>+ <CodeTabs /></div></div></div>@@ -111,9 +122,9 @@ export default function Home() {<div className="w-10 h-10 bg-blue-50 rounded-lg flex items-center justify-center mb-3"><TrendingUp className="w-5 h-5 text-blue-600" /></div>- <CardTitle className="text-lg">Actionable Insights</CardTitle>+ <CardTitle className="text-lg">Automatic Issue Ranking</CardTitle><CardDescription className="text-zinc-500 text-sm mt-1.5">- We verify and rank issues so you know what to prioritize. No more digging through log files.+ Stop triaging manually. Traceway ranks issues by impact so your team fixes the most critical problems first.</CardDescription></CardHeader></Card>@@ -225,7 +236,7 @@ export default function Home() {</div></div>- {/* Feature 3: Performance (Segments) */}+ {/* Feature 3: Performance (Spans) */}<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-orange-50 rounded-2xl flex items-center justify-center">@@ -233,7 +244,7 @@ export default function Home() {</div><h3 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Performance waterfall</h3><p className="text-zinc-600 text-lg leading-relaxed">- Visualize latency with precision. Our segment waterfall view breaks down every operation in your request,+ Visualize latency with precision. Our span waterfall view breaks down every operation in your request,showing you exactly which database query or external API call is slowing you down.</p><ul className="space-y-3 pt-2">@@ -264,6 +275,21 @@ export default function Home() {</div></section>+ {/* Demo CTA Section */}+ <section className="py-20 bg-zinc-50/50 border-b border-zinc-100">+ <div className="container mx-auto px-4 max-w-3xl text-center">+ <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">See it in action</h2>+ <p className="text-zinc-600 text-lg mb-8">+ Explore a live demo with sample data — no signup required.+ </p>+ <Link href="https://cloud.tracewayapp.com/[email protected]&password=demoaccount!">+ <Button size="lg" className="h-10 px-6 text-sm bg-zinc-900 text-white hover:bg-zinc-800 shadow-lg shadow-zinc-900/20">+ Try Live Demo <ArrowRight className="ml-2 h-4 w-4" />+ </Button>+ </Link>+ </div>+ </section>+{/* Q&A Section */}<section className="py-24 bg-zinc-50 border-t border-zinc-100"><div className="container mx-auto px-4 max-w-3xl">@@ -280,7 +306,8 @@ export default function Home() {What is Traceway?</AccordionTrigger><AccordionContent className="text-zinc-600 leading-relaxed">- Traceway is an open-source telemetry and issue tracking platform. It is designed for Golang applications.+ Traceway is an open-source telemetry and issue tracking platform designed for Go and JavaScript applications,+ with support for popular frameworks like Gin, Express, NestJS, Next.js, and more.It helps prioritize tasks, track issues and optimize performance by providing exception tracking,performance insights, and regression monitoring.</AccordionContent>@@ -291,7 +318,7 @@ export default function Home() {</AccordionTrigger><AccordionContent className="text-zinc-600 leading-relaxed">While OpenTelemetry is a powerful, generalized standard, it can be complex to configure and manage.- Traceway is "batteries-included" and opinionated, focusing on immediate value for Go developers+ Traceway is “batteries-included” and opinionated, focusing on immediate value for Go and JavaScript developerswithout the configuration overhead. We provide actionable insights (like issue ranking) out of the box.It has a simple deployment model that makes it cheap to run in production.</AccordionContent>@@ -301,8 +328,10 @@ export default function Home() {How does it compare to Sentry?</AccordionTrigger><AccordionContent className="text-zinc-600 leading-relaxed">- Sentry is a great tool, but it can be expensive and their performance tracking for Golang applications is not as good as Traceway. Traceway is a lightweight,- open-source alternative that is easy to use and deploy. It is also more affordable to run than Sentry. Traceway offers more features for Golang applications specifically focusing on performance.+ Sentry is a great tool, but it requires manual triage and can be expensive at scale.+ Traceway automatically ranks issues by impact so you always know what to fix first.+ It's a lightweight, open-source alternative that combines performance monitoring and issue tracking+ in one tool, with first-class support for both Go and JavaScript.</AccordionContent></AccordionItem><AccordionItem value="item-4" className="border-b-zinc-200">@@ -310,8 +339,8 @@ export default function Home() {How does it compare to New Relic?</AccordionTrigger><AccordionContent className="text-zinc-600 leading-relaxed">- New Relic is incredible for raw data tracking but due to their wide feature set it can be hard to navigate and find what you actually "need" to fix.- Traceway addresses this by focusing on telling you what needs fixing by prioritizing and ranking endpoints. It provides server metrics (similar to new relic) while also providing a great issue tracking solution like Sentry.+ New Relic is incredible for raw data tracking but due to their wide feature set it can be hard to navigate and find what you actually need to fix.+ Traceway addresses this by focusing on telling you what needs fixing by prioritizing and ranking issues across your Go and JavaScript services. It provides server metrics (similar to New Relic) while also providing a great issue tracking solution like Sentry.</AccordionContent></AccordionItem><AccordionItem value="item-5" className="border-b-zinc-200">@@ -329,29 +358,13 @@ export default function Home() {</AccordionTrigger><AccordionContent className="text-zinc-600 leading-relaxed">We designed the Traceway agent to be extremely lightweight. It uses efficient batching and- asynchronous reporting to ensure it has negligible impact on your application's latency or throughput.+ asynchronous reporting to ensure it has negligible impact on your application's latency or throughput.</AccordionContent></AccordionItem></Accordion></div></section>- {/* Footer */}- <footer className="py-8 border-t border-zinc-200 bg-white">- <div className="container mx-auto px-4 flex flex-col md:flex-row items-center justify-between text-zinc-500 text-xs">- <div className="font-medium">- © {new Date().getFullYear()} Traceway. All rights reserved.- </div>- <div className="flex items-center gap-6 mt-3 md:mt-0 font-medium">- <Link href="https://docs.tracewayapp.com" className="hover:text-zinc-900 transition-colors">- Docs- </Link>- <Link href="https://github.com/tracewayapp/traceway" className="hover:text-zinc-900 transition-colors">- GitHub- </Link>- </div>- </div>- </footer></main>);}diff --git a/website/app/product/issue-tracking/page.tsx b/website/app/product/issue-tracking/page.tsxnew file mode 100644index 00000000..bd8f7d4e--- /dev/null+++ b/website/app/product/issue-tracking/page.tsx@@ -0,0 +1,208 @@+import Image from "next/image";+import Link from "next/link";+import { Button } from "@/components/ui/button";+import { Badge } from "@/components/ui/badge";+import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion";+import { ArrowRight, TrendingUp, Layers, Globe } from "lucide-react";++const frameworks = [+ { name: "Gin", src: "/images/frameworks/gin.png" },+ { name: "Chi", src: "/images/frameworks/chi.png" },+ { name: "Express", src: "/images/frameworks/express.png" },+ { name: "NestJS", src: "/images/frameworks/nestjs.png" },+ { name: "Next.js", src: "/images/frameworks/nextjs.png" },+ { name: "Svelte", src: "/images/frameworks/svelte.png" },+ { name: "Remix", src: "/images/frameworks/remix.png" },+];++export default function IssueTrackingPage() {+ 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-red-50 text-red-700 hover:bg-red-100 px-2.5 py-0.5 border border-red-100 text-xs font-normal rounded-full">+ Issue Tracking+ </Badge>+ <h1 className="text-4xl md:text-6xl font-bold tracking-tight mb-6 text-zinc-900">+ Find and fix issues <br /> <span className="text-transparent bg-clip-text bg-gradient-to-r from-red-600 to-orange-600">before your users notice</span>+ </h1>+ <p className="text-zinc-600 text-lg md:text-xl max-w-2xl mx-auto mb-10 leading-relaxed font-medium">+ Traceway automatically ranks issues by impact across your Go and JavaScript services, so your team always knows what to fix first.+ </p>+ <div className="flex flex-col sm:flex-row items-center justify-center gap-3">+ <Link href="https://docs.tracewayapp.com">+ <Button size="lg" className="h-10 px-6 text-sm 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" />+ </Button>+ </Link>+ <Link href="http://cloud.tracewayapp.com/register">+ <Button variant="outline" size="lg" className="h-10 px-6 text-sm border-zinc-200 bg-white hover:bg-zinc-50 text-zinc-900 shadow-sm">+ Try Traceway Cloud+ </Button>+ </Link>+ </div>+ </div>+ </section>++ {/* Automatic Ranking Section */}+ <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-blue-50 rounded-2xl flex items-center justify-center">+ <TrendingUp className="w-6 h-6 text-blue-600" />+ </div>+ <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Issues ranked by what matters</h2>+ <p className="text-zinc-600 text-lg leading-relaxed">+ Stop triaging manually. Traceway ranks every issue by frequency, user impact, and recency so+ your team focuses on the problems that matter most. New regressions surface immediately.+ </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-blue-500"></div>+ Impact-based ranking+ </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>+ Regression detection+ </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>+ Frequency and recency scoring+ </li>+ </ul>+ </div>+ <div className="flex-1 w-full relative">+ <div className="absolute inset-0 bg-gradient-to-tr from-blue-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 shadow-2xl shadow-zinc-200/50 bg-white">+ <Image+ src="/images/screenshot-2.png"+ alt="Issue Ranking Dashboard"+ width={800}+ height={600}+ className="w-full h-auto"+ />+ </div>+ </div>+ </div>+ </div>+ </section>++ {/* Error Grouping Section */}+ <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-orange-50 rounded-2xl flex items-center justify-center">+ <Layers className="w-6 h-6 text-orange-600" />+ </div>+ <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Intelligent error grouping</h2>+ <p className="text-zinc-600 text-lg leading-relaxed">+ Traceway normalizes stack traces before hashing, so the same logical error gets grouped together+ even when runtime values differ. No more duplicate issues cluttering your dashboard.+ </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-orange-500"></div>+ Stack trace normalization+ </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>+ Cross-service deduplication+ </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>+ Full context on every occurrence+ </li>+ </ul>+ </div>+ <div className="flex-1 w-full relative">+ <div className="absolute inset-0 bg-gradient-to-tl from-orange-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 shadow-2xl shadow-zinc-200/50 bg-white">+ <Image+ src="/images/screenshot-2.png"+ alt="Error Grouping Interface"+ width={800}+ height={600}+ className="w-full h-auto"+ />+ </div>+ </div>+ </div>+ </div>+ </section>++ {/* Full Stack Section */}+ <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 items-center text-center space-y-6">+ <div className="w-12 h-12 bg-green-50 rounded-2xl flex items-center justify-center">+ <Globe className="w-6 h-6 text-green-600" />+ </div>+ <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Track issues across your full stack</h2>+ <p className="text-zinc-600 text-lg leading-relaxed max-w-2xl">+ From Go backends to JavaScript frontends, Traceway captures exceptions everywhere your code runs.+ Get a unified view of issues across services, with full stack traces and contextual tags.+ </p>+ <div className="flex flex-wrap items-center justify-center gap-8 md:gap-10 pt-6">+ {frameworks.map((fw) => (+ <Image+ key={fw.name}+ src={fw.src}+ alt={fw.name}+ width={40}+ height={40}+ className="h-8 w-auto grayscale opacity-60 hover:grayscale-0 hover:opacity-100 transition-all duration-200"+ />+ ))}+ </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 issue tracking 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 automatic issue ranking work?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ Traceway scores each issue based on how often it occurs, how recently it appeared, and how many users are affected.+ Issues are continuously re-ranked as new data comes in, so regressions and trending problems surface immediately.+ </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">+ How does error grouping handle different environments?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ Traceway normalizes stack traces by removing runtime-specific values like memory addresses, file paths, UUIDs, and timestamps+ before hashing. This means the same bug produces the same group regardless of which server or environment it occurred on.+ </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">+ Can I track frontend JavaScript errors?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ Yes. Traceway supports frontend frameworks like Next.js, Svelte, and Remix alongside backend frameworks like Express and NestJS.+ Errors from both your frontend and backend appear in the same dashboard with full stack traces.+ </AccordionContent>+ </AccordionItem>+ </Accordion>+ </div>+ </section>+ </main>+ );+}diff --git a/website/app/product/performance/page.tsx b/website/app/product/performance/page.tsxnew file mode 100644index 00000000..a0e3c568--- /dev/null+++ b/website/app/product/performance/page.tsx@@ -0,0 +1,214 @@+import Image from "next/image";+import Link from "next/link";+import { Button } from "@/components/ui/button";+import { Badge } from "@/components/ui/badge";+import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion";+import { ArrowRight, Activity, ChartGantt, Cpu } from "lucide-react";++export default function PerformancePage() {+ 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-blue-50 text-blue-700 hover:bg-blue-100 px-2.5 py-0.5 border border-blue-100 text-xs font-normal rounded-full">+ Performance+ </Badge>+ <h1 className="text-4xl md:text-6xl font-bold tracking-tight mb-6 text-zinc-900">+ Understand exactly <br /> <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-indigo-600">where time is spent</span>+ </h1>+ <p className="text-zinc-600 text-lg md:text-xl max-w-2xl mx-auto mb-10 leading-relaxed font-medium">+ P50/P95/P99 percentiles for every endpoint, span waterfall traces, and real-time server metrics. Know exactly what's slow and why.+ </p>+ <div className="flex flex-col sm:flex-row items-center justify-center gap-3">+ <Link href="https://docs.tracewayapp.com">+ <Button size="lg" className="h-10 px-6 text-sm 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" />+ </Button>+ </Link>+ <Link href="http://cloud.tracewayapp.com/register">+ <Button variant="outline" size="lg" className="h-10 px-6 text-sm border-zinc-200 bg-white hover:bg-zinc-50 text-zinc-900 shadow-sm">+ Try Traceway Cloud+ </Button>+ </Link>+ </div>+ </div>+ </section>++ {/* Endpoint Analytics Section */}+ <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-blue-50 rounded-2xl flex items-center justify-center">+ <Activity className="w-6 h-6 text-blue-600" />+ </div>+ <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Endpoint analytics at a glance</h2>+ <p className="text-zinc-600 text-lg leading-relaxed">+ See P50, P95, and P99 percentiles for every endpoint in your application. Quickly identify which routes+ are fast and which need attention, with throughput and error rate breakdowns.+ </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-blue-500"></div>+ P50/P95/P99 latency percentiles+ </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>+ Throughput and error rate+ </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>+ Historical trend comparison+ </li>+ </ul>+ </div>+ <div className="flex-1 w-full relative">+ <div className="absolute inset-0 bg-gradient-to-tr from-blue-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 shadow-2xl shadow-zinc-200/50 bg-white">+ <Image+ src="/images/screenshot-1.png"+ alt="Endpoint Analytics"+ width={800}+ height={600}+ className="w-full h-auto"+ />+ </div>+ </div>+ </div>+ </div>+ </section>++ {/* Waterfall Section */}+ <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-orange-50 rounded-2xl flex items-center justify-center">+ <ChartGantt className="w-6 h-6 text-orange-600" />+ </div>+ <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Span waterfall view</h2>+ <p className="text-zinc-600 text-lg leading-relaxed">+ Break down every request into its component operations. See exactly which database query,+ external API call, or middleware is adding latency, with precise timing for each span.+ </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-orange-500"></div>+ Operation-level timing breakdown+ </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>+ Visual waterfall timeline+ </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>+ Pinpoint bottlenecks instantly+ </li>+ </ul>+ </div>+ <div className="flex-1 w-full relative">+ <div className="absolute inset-0 bg-gradient-to-tl from-orange-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 shadow-2xl shadow-zinc-200/50 bg-white">+ <Image+ src="/images/screenshot-3.png"+ alt="Span Waterfall View"+ width={800}+ height={600}+ className="w-full h-auto"+ />+ </div>+ </div>+ </div>+ </div>+ </section>++ {/* Server Metrics Section */}+ <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-green-50 rounded-2xl flex items-center justify-center">+ <Cpu className="w-6 h-6 text-green-600" />+ </div>+ <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Server metrics in real time</h2>+ <p className="text-zinc-600 text-lg leading-relaxed">+ Monitor CPU usage, memory consumption, goroutines, and garbage collection alongside your+ application telemetry. Correlate infrastructure health with endpoint performance.+ </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-green-500"></div>+ CPU and memory monitoring+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>+ Go runtime metrics (goroutines, GC)+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>+ Automatic collection via SDK+ </li>+ </ul>+ </div>+ <div className="flex-1 w-full relative">+ <div className="absolute inset-0 bg-gradient-to-tr from-green-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 shadow-2xl shadow-zinc-200/50 bg-white">+ <Image+ src="/images/screenshot-4.png"+ alt="Server Metrics Dashboard"+ width={800}+ height={600}+ className="w-full h-auto"+ />+ </div>+ </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 performance monitoring 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">+ What percentiles does Traceway track?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ Traceway calculates P50 (median), P95, and P99 latency percentiles for every endpoint.+ This gives you a clear picture of both typical and worst-case response times for your application.+ </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">+ How does the waterfall view work?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ The waterfall view shows every span (database query, external API call, etc.) within a single request as a timeline.+ You can see how long each operation took and where they overlap, making it easy to identify the slowest part of any request.+ </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">+ What server metrics are collected automatically?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ The Traceway SDK automatically collects CPU usage, memory usage, active goroutine count, heap object count,+ GC cycle count, and GC pause time. No additional configuration is required—just add the middleware and metrics start flowing.+ </AccordionContent>+ </AccordionItem>+ </Accordion>+ </div>+ </section>+ </main>+ );+}diff --git a/website/components/code-tabs.tsx b/website/components/code-tabs.tsxnew file mode 100644index 00000000..b7502457--- /dev/null+++ b/website/components/code-tabs.tsx@@ -0,0 +1,80 @@+"use client";++import { useState } from "react";++const tabs = [+ {+ label: "Go",+ filename: "main.go",+ code: (+ <>+ <span className="text-purple-600 font-semibold">func</span> <span className="text-blue-600 font-semibold">main</span>() {"{"}{"\n"}+ {" "}r := gin.<span className="text-blue-600">Default</span>(){"\n"}+ {" "}r.<span className="text-blue-600">Use</span>(tracewaygin.<span className="text-blue-600">New</span>(<span className="text-green-600">{`"{TOKEN}@https://{SERVER_URL}/api/report"`}</span>)){"\n"}+ {"\n"}+ {" "}r.<span className="text-blue-600">GET</span>(<span className="text-green-600">"/test"</span>, <span className="text-purple-600 font-semibold">func</span>(ctx *gin.Context) {"{"}{"\n"}+ {" "}ctx.<span className="text-blue-600">AbortWithError</span>(<span className="text-orange-600">500</span>, fmt.<span className="text-blue-600">Errorf</span>(<span className="text-green-600">"Worked!"</span>)){"\n"}+ {" "}{"}"}){"\n"}+ {" "}r.<span className="text-blue-600">Run</span>(<span className="text-green-600">":8080"</span>){"\n"}+ {"}"}+ </>+ ),+ },+ {+ label: "JavaScript",+ filename: "app.js",+ code: (+ <>+ <span className="text-purple-600 font-semibold">const</span> express = <span className="text-blue-600">require</span>(<span className="text-green-600">"express"</span>){"\n"}+ <span className="text-purple-600 font-semibold">const</span> traceway = <span className="text-blue-600">require</span>(<span className="text-green-600">"@traceway/express"</span>){"\n"}+ {"\n"}+ <span className="text-purple-600 font-semibold">const</span> app = <span className="text-blue-600">express</span>(){"\n"}+ app.<span className="text-blue-600">use</span>(traceway.<span className="text-blue-600">init</span>(<span className="text-green-600">{`"{TOKEN}@https://{SERVER_URL}/api/report"`}</span>)){"\n"}+ {"\n"}+ app.<span className="text-blue-600">get</span>(<span className="text-green-600">"/test"</span>, (req, res) => {"{"}{"\n"}+ {" "}<span className="text-purple-600 font-semibold">throw new</span> <span className="text-blue-600">Error</span>(<span className="text-green-600">"Worked!"</span>){"\n"}+ {"}"}){"\n"}+ {"\n"}+ app.<span className="text-blue-600">listen</span>(<span className="text-orange-600">8080</span>)+ </>+ ),+ },+];++export function CodeTabs() {+ const [activeTab, setActiveTab] = useState(0);++ return (+ <div className="rounded-lg overflow-hidden bg-white border border-zinc-200 shadow-xl shadow-zinc-200/50">+ <div className="flex items-center justify-between px-3 py-2 bg-zinc-50 border-b border-zinc-100">+ <div className="flex items-center gap-1.5">+ <div className="w-2.5 h-2.5 rounded-full bg-[#fe5f57]"></div>+ <div className="w-2.5 h-2.5 rounded-full bg-[#fdbc2e]"></div>+ <div className="w-2.5 h-2.5 rounded-full bg-[#28c841]"></div>+ </div>+ <div className="flex items-center gap-1">+ {tabs.map((tab, i) => (+ <button+ key={tab.label}+ onClick={() => setActiveTab(i)}+ className={`px-2.5 py-0.5 rounded text-[10px] font-mono font-medium transition-colors ${+ activeTab === i+ ? "bg-white text-zinc-900 shadow-sm border border-zinc-200"+ : "text-zinc-400 hover:text-zinc-600"+ }`}+ >+ {tab.filename}+ </button>+ ))}+ </div>+ </div>+ <div className="p-0 overflow-x-auto bg-white">+ <pre className="p-4 text-xs font-mono leading-relaxed text-zinc-800">+ <code className="block">+ {tabs[activeTab].code}+ </code>+ </pre>+ </div>+ </div>+ );+}diff --git a/website/components/mobile-nav.tsx b/website/components/mobile-nav.tsxindex 8267dbd5..898c5dc3 100644--- a/website/components/mobile-nav.tsx+++ b/website/components/mobile-nav.tsx@@ -44,6 +44,22 @@ export function MobileNav() {{isOpen && mounted && createPortal(<div className="md:hidden fixed top-14 left-0 right-0 bottom-0 bg-white z-50 p-4 overflow-y-auto border-t border-zinc-100 animate-in slide-in-from-top-2 fade-in duration-200 flex flex-col"><div className="flex flex-col gap-6 mt-4">+ <div className="text-xs font-semibold text-zinc-400 uppercase tracking-wider">Product</div>+ <Link+ href="/product/issue-tracking"+ className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors pl-2"+ onClick={() => setIsOpen(false)}+ >+ Issue Tracking+ </Link>+ <Link+ href="/product/performance"+ className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors pl-2"+ onClick={() => setIsOpen(false)}+ >+ Performance+ </Link>+ <div className="border-t border-zinc-100"></div><Linkhref="/cloud"className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors"diff --git a/website/components/site-footer.tsx b/website/components/site-footer.tsxnew file mode 100644index 00000000..9370c8d1--- /dev/null+++ b/website/components/site-footer.tsx@@ -0,0 +1,30 @@+import Link from "next/link";++export function SiteFooter() {+ return (+ <footer className="py-8 border-t border-zinc-200 bg-white">+ <div className="container mx-auto px-4 flex flex-col md:flex-row items-center justify-between text-zinc-500 text-xs">+ <div className="font-medium">+ © {new Date().getFullYear()} Traceway. All rights reserved.+ </div>+ <div className="flex items-center gap-6 mt-3 md:mt-0 font-medium">+ <Link href="/product/issue-tracking" className="hover:text-zinc-900 transition-colors">+ Issue Tracking+ </Link>+ <Link href="/product/performance" className="hover:text-zinc-900 transition-colors">+ Performance+ </Link>+ <Link href="/cloud" className="hover:text-zinc-900 transition-colors">+ Cloud+ </Link>+ <Link href="https://docs.tracewayapp.com" className="hover:text-zinc-900 transition-colors">+ Docs+ </Link>+ <Link href="https://github.com/tracewayapp/traceway" className="hover:text-zinc-900 transition-colors">+ GitHub+ </Link>+ </div>+ </div>+ </footer>+ );+}diff --git a/website/components/site-header.tsx b/website/components/site-header.tsxindex d3fa0442..aa1b96b5 100644--- a/website/components/site-header.tsx+++ b/website/components/site-header.tsx@@ -1,14 +1,36 @@+"use client";++import { useState, useRef, useEffect } from "react";import Link from "next/link";import Image from "next/image";import { Button } from "@/components/ui/button";-import { Github } from "lucide-react";+import { Github, AlertCircle, Activity, ChevronDown } from "lucide-react";import { MobileNav } from "@/components/mobile-nav";export function SiteHeader() {+ const [open, setOpen] = useState(false);+ const timeoutRef = useRef<NodeJS.Timeout | null>(null);+ const dropdownRef = useRef<HTMLDivElement>(null);++ function handleEnter() {+ if (timeoutRef.current) clearTimeout(timeoutRef.current);+ setOpen(true);+ }++ function handleLeave() {+ timeoutRef.current = setTimeout(() => setOpen(false), 150);+ }++ useEffect(() => {+ return () => {+ if (timeoutRef.current) clearTimeout(timeoutRef.current);+ };+ }, []);+return (<nav className="border-b border-zinc-100 bg-white/80 backdrop-blur-md sticky top-0 z-50"><div className="container mx-auto px-4 h-14 flex items-center justify-between">- <div className="flex items-center gap-8">+ <div className="flex items-center gap-6"><Link href="/" className="flex items-center gap-2"><Imagesrc="/images/logo.png"@@ -18,11 +40,52 @@ export function SiteHeader() {className="w-auto h-8"/></Link>- <div className="hidden md:flex items-center gap-6">- <Link href="/cloud" className="text-sm font-medium text-zinc-600 hover:text-zinc-900 transition-colors">+ <div className="hidden md:flex items-center gap-1">+ <div+ ref={dropdownRef}+ className="relative"+ onMouseEnter={handleEnter}+ onMouseLeave={handleLeave}+ >+ <button className="inline-flex items-center gap-1 text-sm font-medium text-zinc-600 hover:text-zinc-900 transition-colors h-9 px-3 rounded-md hover:bg-zinc-100">+ Product+ <ChevronDown className={`size-3 transition-transform duration-100 ${open ? "rotate-180" : ""}`} />+ </button>+ {open && (+ <div className="absolute top-full left-0 mt-1 w-[340px] rounded-md border border-zinc-200 bg-white shadow-lg p-2 animate-in fade-in zoom-in-95 duration-75">+ <Link+ href="/product/issue-tracking"+ 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-red-50 rounded-lg flex items-center justify-center shrink-0 mt-0.5">+ <AlertCircle className="w-4 h-4 text-red-600" />+ </div>+ <div>+ <div className="text-sm font-medium text-zinc-900">Issue Tracking</div>+ <p className="text-xs text-zinc-500 mt-0.5">Automatic ranking, error grouping, and regression detection</p>+ </div>+ </Link>+ <Link+ href="/product/performance"+ 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-blue-50 rounded-lg flex items-center justify-center shrink-0 mt-0.5">+ <Activity className="w-4 h-4 text-blue-600" />+ </div>+ <div>+ <div className="text-sm font-medium text-zinc-900">Performance</div>+ <p className="text-xs text-zinc-500 mt-0.5">P50/P95/P99 percentiles, waterfall traces, and server metrics</p>+ </div>+ </Link>+ </div>+ )}+ </div>+ <Link href="/cloud" className="text-sm font-medium text-zinc-600 hover:text-zinc-900 transition-colors h-9 px-3 flex items-center rounded-md hover:bg-zinc-100">Cloud</Link>- <Link href="https://docs.tracewayapp.com" className="text-sm font-medium text-zinc-600 hover:text-zinc-900 transition-colors">+ <Link href="https://docs.tracewayapp.com" className="text-sm font-medium text-zinc-600 hover:text-zinc-900 transition-colors h-9 px-3 flex items-center rounded-md hover:bg-zinc-100">Docs</Link></div>diff --git a/website/public/images/frameworks/chi.png b/website/public/images/frameworks/chi.pngnew file mode 100644index 00000000..eb3bf5a5Binary files /dev/null and b/website/public/images/frameworks/chi.png differdiff --git a/website/public/images/frameworks/express.png b/website/public/images/frameworks/express.pngnew file mode 100644index 00000000..09ddb06aBinary files /dev/null and b/website/public/images/frameworks/express.png differdiff --git a/website/public/images/frameworks/fasthttp.png b/website/public/images/frameworks/fasthttp.pngnew file mode 100644index 00000000..f9ebe781Binary files /dev/null and b/website/public/images/frameworks/fasthttp.png differdiff --git a/website/public/images/frameworks/gin.png b/website/public/images/frameworks/gin.pngnew file mode 100644index 00000000..7f20970bBinary files /dev/null and b/website/public/images/frameworks/gin.png differdiff --git a/website/public/images/frameworks/nestjs.png b/website/public/images/frameworks/nestjs.pngnew file mode 100644index 00000000..52c7a409Binary files /dev/null and b/website/public/images/frameworks/nestjs.png differdiff --git a/website/public/images/frameworks/nextjs.png b/website/public/images/frameworks/nextjs.pngnew file mode 100644index 00000000..9e9be36aBinary files /dev/null and b/website/public/images/frameworks/nextjs.png differdiff --git a/website/public/images/frameworks/node.png b/website/public/images/frameworks/node.pngnew file mode 100644index 00000000..f6fee2adBinary files /dev/null and b/website/public/images/frameworks/node.png differdiff --git a/website/public/images/frameworks/remix.png b/website/public/images/frameworks/remix.pngnew file mode 100644index 00000000..59830a84Binary files /dev/null and b/website/public/images/frameworks/remix.png differdiff --git a/website/public/images/frameworks/stdlib.png b/website/public/images/frameworks/stdlib.pngnew file mode 100644index 00000000..6fc50870Binary files /dev/null and b/website/public/images/frameworks/stdlib.png differdiff --git a/website/public/images/frameworks/svelte.png b/website/public/images/frameworks/svelte.pngnew file mode 100644index 00000000..7f61eb01Binary files /dev/null and b/website/public/images/frameworks/svelte.png differ