Deployment layout
The SDK does not need the shared server URL or its credentials. It writes to the local queue; the relay reads that queue and forwards records. Set the sameVEXLO_SPOOL_DIR for the SDK
and relay on each host. Do not point applications on separate hosts at a shared queue directory.
Prepare the server host
Complete Build the binary first. You also need:- A persistent directory writable by the server process for its database and captured values.
- A DNS name reachable by the application hosts and readers.
- A TLS certificate and private key for that name, trusted by your clients and relay hosts.
- Network access to the server listener from those hosts.
Issue credentials
Run token administration on the server host with the sameVEXLO_DATA_DIR. For a team named
platform, create separate delivery and read credentials:
Check and start the server
Check the configuration with an estimate of the incoming trace rate. The example below uses0.1 traces per second; replace that estimate with the rate you expect to record.
Connect application hosts
Installvexlo on each application host using the same build procedure. Configure that host’s
relay with the shared server URL, its ingest token, and the queue directory used by its SDK.
For example, after securely placing the ingest credential in an application-host file:
token: label. The SDK and relay processes need access to
the selected queue directory. Configure the SDK using Python SDK.
The environment label comes from the relay; the service name comes from the SDK.
The relay health listener stays local to its host by default, at 127.0.0.1:9101. Check it on
that host. A healthy relay does not establish that a request has reached the shared server;
verify an actual recording as well.
Connect readers and verify delivery
On a reader’s machine, set the shared URL and a read credential:VEXLO_API_URL set to that URL and VEXLO_TOKEN set
to a read token; see Connect an agent.
Record a request from an application host, then search for it in the shared
UI using its service, environment and identifier. Open the recording and confirm that calls
and captured values are available. This verifies the full path rather than only connectivity.
