๐Ÿš€ Build Process Watcher

Monitor memory usage and performance of your Gradle build processes in real-time with our powerful GitHub Action.

๐Ÿ“ฆDefault Mode

Generate Mermaid diagrams and SVG charts locally, uploaded as GitHub Actions artifacts:

- name: Build Process Monitoring
  uses: cdsap/build-process-watcher@v0.5.1
 
- name: Build project
  run: ./gradlew clean build
๐Ÿ“ค Output: Check GitHub Actions artifacts for Mermaid diagrams, SVG charts, and log files

๐ŸŒRemote Mode

Enable live dashboard with real-time monitoring and GC metrics:

- name: Build Process Monitoring
  uses: cdsap/build-process-watcher@v0.5.1
  with:
    remote_monitoring: 'true'
    collect_gc: 'true'
    
- name: Build project
  run: ./gradlew clean build
๐ŸŒ Output: Dashboard URL displayed in action output (data available for 24 hours)
๐Ÿ’ก GC Collection: Set collect_gc: 'true' to monitor garbage collection time in seconds. This adds a GC time chart to your dashboard.
๐Ÿ”—

How Remote Mode URL is Generated

When you enable Remote Mode, the action automatically generates a unique dashboard URL for your build run. This URL is displayed in the GitHub Actions output and allows you to monitor your build in real-time.

GitHub Actions Log showing URL generation

Example: The dashboard URL is automatically generated and displayed in the GitHub Actions log

๐Ÿ“‹ How it works:
  • The action creates a unique run ID for each build
  • A dashboard URL is automatically generated using this run ID
  • The URL is displayed in the GitHub Actions output for easy access
  • Data is available for 24 hours after the build completes
๐ŸŽฏ

Live Example Dashboard

View a real Gradle build monitoring dashboard with live data from an actual build run.

๐Ÿ”— Open Live Example Dashboard

Real data from run 18236843825 - 311 samples from GradleDaemon & KotlinCompileDaemon

This example demonstrates the Remote Mode dashboard with 24-hour data retention

๐Ÿงช

Replay & Compare JSON

Analyze exported JSON runs offline. Replay a single run or compare two runs side-by-side.

๐Ÿ“Š

Default Mode Output Examples

When using Default Mode, you'll get these outputs in your GitHub Actions artifacts:

๐Ÿ“Š Mermaid Diagram

Interactive flowchart showing memory usage over time with process details

๐Ÿ“„ File: memory_usage.mermaid - Can be rendered in GitHub, GitLab, or any Mermaid-compatible viewer
Mermaid Diagram Example

Example: Memory usage flowchart with process details

๐Ÿ“ˆ SVG Chart

High-quality vector chart showing RSS and Heap usage with process-specific colors

๐Ÿ“„ File: memory_usage.svg - Scalable vector graphics perfect for documentation and reports
SVG Chart Example

Example: RSS and Heap usage chart with process-specific colors

๐Ÿ†•

GC Metrics Collection

When using Remote Mode with collect_gc: 'true', you'll get a comprehensive GC time chart in your dashboard:

๐Ÿ”„ GC Time Chart

Track garbage collection performance over time to identify GC-related performance bottlenecks. GC time is displayed in seconds and works across all JVM GC collectors (Parallel, G1, Serial, CMS).

โœจ Feature: Enable collect_gc: 'true' in your workflow to monitor GC time alongside memory usage
GC Time Chart Example

Example: GC time chart showing garbage collection performance over time

โœจ

Key Features

๐Ÿ“Š Default Mode

Generate Mermaid diagrams and SVG charts locally. Data is stored locally and uploaded as GitHub Actions artifacts.

๐ŸŒ Remote Mode

Check the current state of processes in real-time through our web dashboard. Data is stored in the cloud with 24-hour retention.

๐Ÿ”„ GC Monitoring

Track garbage collection performance with GC time charts. Enable collect_gc: 'true' to monitor GC-related performance issues.

Ready to Get Started?

Start monitoring your build processes today with just a few lines of code.