A distributed exchange is a graph of services, queues and databases. When latency spikes at 3 a.m., the difference between a five-minute fix and a five-hour hunt is whether the platform can show you what happened across that graph. ffex’s observability posture is designed as a first-class platform feature, not an add-on.
A trace that survives the whole topology
Distributed tracing in ffex crosses every hop in the platform:
- the external edge (HTTP and WebSocket),
- service-to-service internal RPC,
- the async event backbone,
- databases, cache and document stores,
- external HTTP calls,
- worker processes, background jobs and scheduled tasks.
That last set matters more than it sounds. A trace that stops at the edge of a message queue is a trace that stops exactly where the interesting failure lives. ffex carries trace context through event-stream processing using batched spans with explicit links, so a message’s origin and its downstream effects stay connected — without the instrumentation touching ordering, commit, retry or idempotency semantics. Observability never gets to change how the money moves.
Logs are structured and carry trace_id and span_id fields, so a single
trace ID reconstructs a narrative across every service that touched a
request.
The runtime posture
The platform runs on Kubernetes, and service trust is not implicit: isolation is enforced at the network layer, and service boundaries are policy boundaries.
Administrative access is deliberately strict:
- Mandatory TOTP multi-factor authentication (Google Authenticator compatible) for every back-office login — no password-only path exists.
- Secrets live in a secret manager, never in code, plain configuration files, logs, or database plaintext.
- Admin operations flow through the audited back-office, not through ad-hoc database access.
Releases are pipelines, not rituals
- Images are pinned to exact versions and digests; no
latest, no floating tags. - Every service owns its ordered SQL migrations, applied by the release pipeline — services never mutate their schema on startup. A deployment cannot half-execute a schema change.
- Changes ship through CI gates; production application of SQL is an explicit, approved step, so rollbacks have a defined point of no return instead of folklore.
What this buys the operator
Put together, the observability and release discipline turn incidents from guesswork into investigations with evidence:
| Question | Where the answer lives |
|---|---|
| Why was this order slow? | One trace, edge to matching to push |
| Did this event get processed? | Linked spans across the event backbone |
| Who changed this admin setting? | Back-office audit trail |
| What did this release change in the database? | The service’s ordered migration history |
The final piece is how all of this becomes yours: working with ffex. The trace model itself is covered in detail on the observability page.