Frequently asked questions

What should I monitor in a Solana trading bot?
Monitor every stage from source receipt through decode, decision, signing, submission, first network observation, processed, confirmed, and finalized. Track latency histograms, landing rate, expiry rate, retry count, stream gaps, fork outcomes, and expected versus realized execution value.
How do I measure Solana transaction landing latency?
Start the clock when the client submits signed bytes and stop it on independent network evidence matched by signature. Record first-seen, processed, confirmed, and finalized as separate timestamps. A gateway acknowledgement only measures acceptance by the gateway.
Should Solana latency dashboards show average or p99?
Show p50, p95, and p99 plus timeout and missing-observation rates. Average latency hides the congested tail where competitive transactions are most likely to miss. Keep distributions segmented by transaction class, route, region, and leader distance.
Can I put transaction signatures in metric labels?
No. Signatures, wallet addresses, blockhashes, and trace IDs create unbounded metric cardinality. Keep them in traces or structured logs. Metrics should use bounded attributes such as route, region, transaction class, outcome, and commitment.
What is the difference between first-seen, processed, confirmed, and finalized telemetry?
First-seen is an observation at the propagation layer and may belong to a losing fork. Processed means one validator executed the transaction. Confirmed means a supermajority voted for the block. Finalized means the block is rooted. Store every transition rather than overwriting one status field.