Skip to content

alexey-lapin/spring-boot-startup-analyzer

Repository files navigation

Spring Boot Startup Analyzer Logo

spring-boot-startup-analyzer

Release License Build Status

Analyze Spring Boot Actuator /actuator/startup payloads directly in your browser. All data stays in your browser—no server uploads—while still offering rich visualizations and actionable insights.

➡️ Try it now: https://alexey-lapin.github.io/spring-boot-startup-analyzer/

Features

  • Summary view with total duration, hotspot phases, bean bottlenecks, and key insights at a glance.
  • Tree and table visualizations for drilling into nested startup phases or scanning steps quickly.
  • Flexible data loading: paste JSON, upload files, call a live actuator endpoint, or load the bundled sample.
  • Light and dark themes with a modern, responsive interface.
  • Offline parsing in the browser—no backend component or data collection.

Quick Start

  1. Open the web app.
  2. Choose how to provide startup data:
    • Endpoint: fetch data directly from /actuator/startup (configure CORS if calling a remote server).
    • File: upload a saved JSON response.
    • Paste: paste JSON directly into the text editor.
    • Sample: click Load sample data to explore instantly.
  3. Switch between the Summary, Tree, or Table tabs to explore the trace.

ℹ️ Need CORS for remote URLs? See the Usage tab inside the app for Spring configuration snippets.

Local Development

npm install
npm run dev
npm run test:unit
npm run build

Prerequisites: Node 20+ (or 22 LTS) and npm.

Docker Image

Images are published to GitHub Container Registry (GHCR):

docker run -d --name sbsa -p 8080:80 ghcr.io/alexey-lapin/spring-boot-startup-analyzer:latest

To run behind a reverse proxy with a custom base path:

docker run -d --name sbsa -p 8080:80 \
  -e UI_PUBLIC_PATH=/spring-boot-startup-analyzer \
  ghcr.io/alexey-lapin/spring-boot-startup-analyzer:latest

For Maintainers

Deployment & Release:

  • Tagged commits trigger GitHub Actions to build, type-check, and deploy to GitHub Pages.
  • Multi-arch Docker images are published to ghcr.io/alexey-lapin/spring-boot-startup-analyzer.
  • Releases are created automatically with generated notes.

About

Spring Boot startup (actuator endpoint) analyzer

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •  

Languages