Skip to main content

Monitoring

Monitor Polygon RPC as a managed application edge, not as a node-internal control plane. The most useful signals are gateway availability, RPC latency, error rates, and subscription stability. If a backend exposes additional node metrics, keep them private and use them only for operator dashboards.

Public-safe monitoring boundary

Do not expose raw metrics, peer state, debug output, or client internals on the public route. Monitoring data should come from private observability systems and the gateway layer.

SignalSourceAlert condition
RPC availabilityeth_blockNumber or a lightweight gateway health probeRequests fail, stall, or drift away from expected head freshness.
Sync freshnesseth_syncing when the provider exposes itA serving endpoint unexpectedly reports syncing or lags too far behind peers.
Read latencyeth_call, eth_getBalance, eth_getLogs timingsLatency rises above the service objective or tails become unstable.
Error rateGateway and application logs5xx spikes, repeated timeouts, or 429 saturation.
Subscription healthWebSocket disconnect and reconnect countersReconnect storms, dropped subscriptions, or missed replay windows.
Query shapeeth_getLogs range size and batch sizeOverly large scans or batch requests that threaten node stability.

Response pattern​

  • Page operators if availability or head freshness drops.
  • Rate-limit or temporarily disable abusive callers before the node becomes unstable.
  • Reconnect and backfill WebSocket consumers instead of assuming subscriptions survive disconnects.
  • Keep alert thresholds simple and tied to the managed RPC contract.