Skip to main content

Health Monitoring

Health Monitoring offers up-to-date information on the linting, security, and build status of your monorepo's packages.

Overview

Real-time insights into the package quality of your monorepo are provided by Health Monitoring including linting, security, and build status.

Screenshot of the health metrics

Health Metrics

Linting Status

Identifies problems with code quality:

  • Pass: No warnings or lint errors
  • Warn: Just warnings; no errors
  • Fail: Linting errors found

Security Audit

Identifies vulnerable dependencies:

  • Pass: No vulnerabilities
  • Warn: Low-severity vulnerabilities
  • Fail: Medium or high-severity vulnerabilities

Build Status

Tracks build success rate:

  • Healthy: All recent builds are successful
  • Warning: Some builds are failed
  • Error: Most builds are failing

Health Score

Each package receives an overall health score (0-100) based on:

  • 35% - Linting Status
  • 35% - Security Status
  • 30% - Build Health

Accessing Health Data

Via API

# Get all packages health
curl http://localhost:8999/api/health/packages

# Get specific package health
curl http://localhost:8999/api/health/packages/@scope/backend

# Refresh health data
curl -X POST http://localhost:8999/api/health/refresh

Via Dashboard

View health metrics in the dashboard with:

  • Package health cards
  • Health score visualization
  • Detailed metrics breakdown

Next Steps