Monitoring

Monitor NODE in Pigsty with dashboards and alerting rules

Pigsty currently provides 10 monitoring dashboards in the NODE dashboard directory, along with comprehensive alerting rules.


Dashboards

The NODE dashboard directory currently contains 10 dashboards. The JuiceFS and Claude Code dashboards show data only after those components are deployed and emit metrics.

NODE Overview

Displays an overall overview of all host nodes in the current environment.

node-overview.jpg

NODE Cluster

Shows detailed monitoring data for a specific host cluster.

node-cluster.jpg

Node Instance

Presents detailed monitoring information for a single host node.

node-instance.jpg

NODE Alert

Centrally displays alert information for all hosts in the environment.

node-alert.jpg

NODE VIP

Monitors detailed status of L2 virtual IPs.

node-vip.jpg

Node Haproxy

Tracks the operational status of HAProxy load balancers.

node-haproxy.jpg

Node Disk

Focuses on per-disk I/O latency, throughput, queue depth, and other storage metrics.

node-disk.webp

Node Vector

Shows Vector collection and forwarding status, plus log-pipeline health.

node-vector.webp

Node JuiceFS

Shows JuiceFS client cache, object storage, metadata operations, and read/write performance.

Open the Node JuiceFS Dashboard

Claude Code

Shows sessions, tokens, costs, and logs reported by Claude Code through OpenTelemetry.

Open the Claude Code Dashboard


Alert Rules

Pigsty implements the following alerting rules for NODE:

Availability Alerts

RuleLevelDescription
NodeDownCRITNode is offline
HaproxyDownCRITHAProxy service is offline
VectorDownWARNLog collecting agent offline (Vector)
DockerDownWARNContainer engine offline
KeepalivedDownWARNKeepalived daemon offline

CPU Alerts

RuleLevelDescription
NodeCpuHighWARNCPU usage exceeds 70%

Scheduling Alerts

RuleLevelDescription
NodeLoadHighWARNNormalized load exceeds 100%

Memory Alerts

RuleLevelDescription
NodeOutOfMemWARNAvailable memory less than 10%
NodeMemSwappedWARNSwap usage exceeds 1%

Filesystem Alerts

RuleLevelDescription
NodeFsSpaceFullWARNDisk usage exceeds 90%
NodeFsFilesFullWARNInode usage exceeds 90%
NodeFdFullWARNFile descriptor usage exceeds 90%

Disk Alerts

RuleLevelDescription
NodeDiskSlowWARNRead/write latency exceeds 32ms

Network Protocol Alerts

RuleLevelDescription
NodeTcpErrHighWARNTCP error rate exceeds 1/min
NodeTcpRetransHighWARNTCP retransmission rate exceeds 1%

Time Synchronization Alerts

RuleLevelDescription
NodeTimeDriftWARNSystem time not synchronized

Last Modified: 2026-08-05: update extension count (6da764c)