Build Process Watcher

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

Default Mode Setup

Generate Mermaid diagrams and SVG charts locally, at the end of the build:

- name: Build Process Monitoring
  uses: cdsap/build-process-watcher@0.3.0
 
- name: Build project
  run: ./gradlew clean build

Output: Check GitHub Actions artifacts for Mermaid diagrams, SVG charts, and log files

Remote Mode Setup

Enable live dashboard with real-time monitoring:

- name: Build Process Monitoring
  uses: cdsap/build-process-watcher@0.3.0
  with:
    remote_monitoring: 'true'
    
- name: Build project
  run: ./gradlew clean build

Output: Dashboard URL will be displayed in the action output (data available for 3 hours)

Two Monitoring Modes

📊 Default Mode - Local Analysis

Generates Mermaid diagrams and SVG charts with build process information. Data is stored locally and uploaded as GitHub Actions artifacts.

Output: Mermaid diagrams, SVG charts, and log files in GitHub Actions artifacts

🌐 Remote Mode - Live Dashboard

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

Output: Live dashboard URL with real-time monitoring data (available for 3 hours)

Live Example Dashboard:

View a real Gradle build monitoring dashboard with live data:

🔗 Open Live Example Dashboard

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

Note: This example demonstrates the Remote Mode dashboard with 3-hour data retention

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

View Example Dashboard with remote monitoring View on GitHub