Monitor a node
Begin with readiness, request failures, and storage headroom. A single throughput counter cannot show whether the node is healthy.
Check endpoints
curl -i http://127.0.0.1:9070/healthz
curl -i http://127.0.0.1:9070/readyz
curl --fail-with-body http://127.0.0.1:9070/metrics
curl --fail-with-body http://127.0.0.1:9070/debug/stats
/debug/stats requires the optional setting and a loopback bind. Its JSON is diagnostic, not a stable application query API.
Choose useful signals
| Signal | Interpretation |
|---|---|
smts_points |
Logical visible row count |
smts_accepted_points_total |
Accepted input points, including replaced versions and replayed input |
smts_buffer_points |
Points in the mutable buffer |
smts_wal_bytes |
WAL bytes through the committed batch, not every byte on disk |
smts_segment_bytes, smts_segments |
Committed Parquet storage and file count |
smts_checkpoint_batch |
Covered checkpoint progress |
smts_active_snapshots |
Captured views still held |
smts_retired_segment_bytes |
Replaced files still pinned by readers |
Counters and gauges have different reset and replay behavior. Do not calculate ingestion rate from the change in logical row count: deduplication can replace rows without increasing it.
Scrape with Prometheus
When Prometheus runs on the same host as this sample node:
scrape_configs:
- job_name: smts-local
scrape_interval: 15s
static_configs:
- targets: ["127.0.0.1:9070"]
If Prometheus runs in a container, its loopback address is the container itself. Configure an appropriate private route instead of exposing the unauthenticated development server publicly.
Investigate pressure
Correlate 429 responses with file count, WAL growth, buffer occupancy, and active snapshots. Long readers can keep retired files pinned. Broad queries can exceed decoder budgets even with a small returned result.
Measure process RSS and free disk independently; configured logical budgets are not physical memory ceilings. Track error outcomes separately from latency so rejected requests do not make a loaded system look faster.