Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Stats and monitoring

Use the HTTP API for basic health and OTLP telemetry for your dashboard. Watch execution, balances, and backups together: a responsive API does not mean the node can complete transfers.

Check the service

From ~/nomad on the host:

docker compose ps
docker compose logs --tail=200 nomad
curl --fail --silent --show-error http://127.0.0.1:8000/
curl --fail --silent --show-error http://127.0.0.1:8000/attest

Check the version, isSgx: true, and isReadOnly: false. Compare /attest with the approved build details we provide, including production mode. An SGX quote can also come from a debug enclave.

API documentation is available at /scalar. This release has no nomad stats command or Prometheus /metrics endpoint.

What the health fields mean

The root endpoint returns status, version, kind, uptimeSeconds, isBootstrap, isReadOnly, and isSgx.

healthy means the handler responds. isBootstrap reflects an empty gossip-bootstrap list. isReadOnly reflects an account-pool setting below two. These fields do not confirm funded accounts or peer connectivity.

Export telemetry

Add an environment file to the nomad service in compose.yaml. If you already use env_file for S3, add telemetry to that same list.

env_file:
  - ./telemetry.env

Create telemetry.env with your collector’s OTLP HTTP endpoint and authentication values:

OTEL_EXPORTER_OTLP_ENDPOINT=https://YOUR_OTLP_COLLECTOR
OTEL_EXPORTER_OTLP_HEADERS=YOUR_AUTH_HEADER=YOUR_AUTH_VALUE

Replace the placeholders. Omit the headers variable if your private collector does not require authentication.

chmod 600 telemetry.env
docker compose up -d nomad
docker compose logs --tail=100 nomad

Look for service name nomad, the node version, and host identity in your collector. The endpoint enables logs, traces, and metrics for run; short-lived CLI commands do not export them. [otlp] TOML flags do not control these exporters.

Keep the dashboard private. Telemetry can include amounts, operational metadata, and error details.

Build an operator dashboard

Start with execution outcomes, ETH and token balances, and outstanding fees. These are the names Nomad emits; your collector may rename them.

Execution metrics
MetricMeaning
signal_totalInitial execution attempts, excluding resubmissions.
signal_success, signal_failureSuccessful executions and failed attempts.
signal_ignored, signal_retrySignals needing no new execution, and scheduled retries. Neither counts as success or failure.
signal_execution_duration_ms, signal_pool_wait_msLast execution duration and initial queue wait. Gauges, not latency histograms.
signal_gas_totalGas units for the last execution, not an ETH or USD cost.

Counters restart with the process. Inspect logs when failures increase.

Balances, profit, and volume
MetricMeaning
eth_balanceETH balance per anonymized account label.
token_balanceHuman-readable token balance per account, with contract and decimals attributes.
total_profitAccumulated reward less platform-fee allocation, in token atomic units.
current_profitThe same accounting since the last fee-distribution reset.
total_volumeCumulative executed volume in token atomic units.

Profit and volume totals are loaded from sealed state at startup. Profit metrics exclude some operating costs; see node economics.

Platform fees
MetricMeaning
outstanding_feesFees owed, in token atomic units.
total_fees_distributedFees distributed, in token atomic units.
last_fee_distribution_tsUnix timestamp of the last recorded distribution.

Persisted fee totals are loaded from sealed state at startup.

Check units before calculating totals. Profit, volume, and fee gauges need division by 10^decimals. For example, 2500000 with six decimals is 2.5 tokens. Balance gauges already use human-readable units.

Keep different tokens separate unless you apply a valuation. Use receipts and balances for financial reconciliation; floating-point telemetry is a monitoring tool.

Set alerts and review daily

Set alerts for:

  • Missing telemetry, failed health checks, or unexpected restarts.
  • Low ETH or token balances and sustained execution failures.
  • Fees that fail to settle or stale backups after state changes.
  • Low disk space, incorrect system time, AESM failures, or unavailable RPCs.

Inactivity can mean low demand, unsuitable liquidity, or another node executing first. Check peers, errors, and balances before diagnosing an outage. A zero balance sample can also come from an RPC error; verify it onchain before adding funds.

Check backups separately:

docker compose run --rm nomad backup list

Uploads follow state writes, not a fixed interval. An idle node may have no new eoa.bin version. See verify uploads for checking saved versions and bytes.