Skip to content

kgupta727/traceroot

Repository files navigation

TraceRoot Log Analyzer Demo

A client-side log analysis tool that detects error spikes, clusters similar errors, and suggests root causes.

Features

  • Spike Detection: Automatically identifies timestamps with unusually high error rates
  • Error Clustering: Groups similar errors and shows their distribution
  • Root Cause Analysis: Suggests likely causes based on error patterns
  • Export Reports: Generate JSON reports and GitHub issue drafts

Quick Start

npm install
npm run dev

Open http://localhost:3000

Usage

  1. Upload a log file (see public/sample-logs.txt for format)
  2. View the timeline chart showing error spikes
  3. Review clustered errors and root cause summary
  4. Export JSON report or generate GitHub issue

Log Format

2026-01-20T12:03:15Z [ERROR] TokenExpirationError: auth-service

Pattern: TIMESTAMP [LEVEL] ErrorType: component-name

Tech Stack

  • Next.js 13 + TypeScript
  • Client-side log parsing (no backend required)
  • Responsive UI with timeline visualization

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors