Introducing Watt Admin
A Powerful Monitoring Dashboard for Watt Applications
We're excited to announce the release of Watt Admin, an open-source developer monitoring and administration tool for Platformatic applications. This powerful dashboard gives developers real-time visibility into their Node.js services, making monitoring performance, troubleshooting issues, and managing Watt easier than ever.
Watt Admin is a single command away from your Watt application: npx wattpm admin
.
Let’s break down the key features:
Real-Time Performance Metrics
Logging
Runtime selection
Service control
Real-Time Performance Metrics
Watt Admin provides detailed real-time metrics for your Platformatic applications:
Memory Usage Monitoring: Track RSS, heap usage, new space, and old space memory allocation with visual charts
CPU & Event Loop Utilization: Monitor CPU usage and event loop utilization to identify performance bottlenecks
Latency Tracking: View P90, P95, and P99 latency metrics to ensure optimal response times
Request Rate Analysis: Track requests per second (RPS) to understand traffic patterns
Comprehensive Logging
Stay informed with advanced logging capabilities:
Centralized Log Viewer: View logs from all services in a single interface
Log Filtering: Filter logs by service or log level to find relevant information quickly
Pretty or Raw View: Toggle between formatted and raw JSON log views
Log Export: Save logs for offline analysis or sharing
Service Management
Gain full control over your Platformatic services:
Service Overview: View all running services with their current status
Service-Level Metrics: Drill down into metrics for individual services
Service Comparison: Compare metrics between services and aggregated data
Service Restart: Restart services directly from the dashboard
CLI Integration
Watt Admin includes a powerful CLI tool that:
Discovers Runtimes: Automatically finds all available Platformatic runtimes
Interactive Selection: Choose between multiple runtimes with an interactive menu
Runtime Information: View detailed information about selected runtimes
Getting Started
Getting started with Watt Admin is simple. First, we can start a simple application managed by Watt that is composed of a Next.js, Node.js and Fastify services, as well as our Composer:
git clone https://github.com/platformatic/composer-next-node-fastify
cd composer-next-node-fastify
npm install
npm run build
npm start
You can also use it on your own Watt application! Then, starting Watt Admin is as simple as:
npx wattpm admin
You can then open localhost:4042 or click on the URL that is printed on the console.
Watt Admin looks like:
Here is the metrics view, for each individual service:
Here is the logs view:
What about production?
Watt Admin is the perfect development companion for diagnosing and debugging performance issues in your Node.js application. If you're looking for a production tool, check out our Intelligent Command Center: https://www.platformatichq.com/command-center.