OBSERVABILITY · EVERY HOP ACCOUNTED FOR

A trace that
does not stop at the queue.

Most platforms trace the request and lose the message. ffex keeps one context across synchronous calls, async stages, datastores and background work — because that is where the hard failures live.

01 / TRACE COVERAGE

Ten hop types.
One connected timeline.

Instrumentation is a platform concern, not a per-service patch. Context is created at the edge, carried across every hop, and joined across queues with explicit links.

HTTP in / out

Server spans keyed by route template, client spans for outbound calls, with W3C context carried across services.

WebSocket

Spans for the handshake and for message-handling batches, so streaming sessions stay attributable.

gRPC

Unary and streaming interceptors record method, status, duration and message size — never payloads.

Kafka

One consumer span per batch, linked to every contributing producer context. Ordering, commits and retries are untouched.

MySQL

Statement-level client spans: system, operation class, connection-pool wait and errors. Parameter values are not recorded.

Redis

Cache operations traced with pool wait and errors; keys and values stay out of spans.

MongoDB

Document operations traced by command category and pool wait; document bodies are never attached.

Thread pools & goroutines

Context is bridged across thread pools and goroutines explicitly — no background context, no orphaned spans.

Workers & scheduled tasks

Background jobs and schedulers open their own root spans and continue the originating context where there is one.

External HTTP

Outbound third-party calls carry context and record status and duration; credentials and payloads are excluded.

01

Context propagation is the default

Every entry point accepts W3C trace context and every exit point emits it. A request that arrives without one gets a new root, not a silent gap.

02

Async causality uses links

A Kafka batch gets one consumer span linked to every contributing producer span. A message's origin survives the queue without pretending to be a child of one producer.

03

Logs carry trace identity

Structured JSON logs include trace_id and span_id, so trace-to-log and log-to-trace jumps take one step — and a search by ID reconstructs the story.

04

Sampling is explicit and bounded

Sampling rules are explicit, sensitive payloads never enter spans or logs, and dropping telemetry cannot change order, commit or ledger semantics.

02 / SIGNALS & OPERATIONS

Three signals,
one investigation.

Traces, metrics and logs share service identity and trace context. The on-call engineer starts with a symptom and lands on the exact hop that failed.

TRACES

Distributed traces

One request or message path across every service, queue and datastore, with span links preserving async causality.

METRICS

Metrics that stay low-cardinality

Counters, histograms and saturation signals with bounded labels — no order IDs or user IDs in the time series.

LOGS

Structured logs

JSON logs with service, environment, trace and span identity, plus an event name and result — queryable by trace in one step.

DASHBOARDS / ALERTING

Dashboards & alerting

Symptom-level dashboards for each domain, with alert rules tied to operator outcomes rather than raw noise.

SAMPLING / SAFETY

Sampling & data safety

Sampling policy is explicit, payloads are filtered at the source, and telemetry toggles never block trading, commits or ledger writes.

OPERATIONS

Operability in practice

Health checks, runbook-driven incident flow, release gates and trace-based post-mortems are part of what gets delivered.

03 / INSTRUMENTATION PRINCIPLES

Telemetry that cannot
change the money path.

The hard requirement is not coverage — it is that coverage never changes business outcomes. Everything here is built around that.

  1. 01

    Instrument once, at the component layer

    Tracing, metrics and logging live in versioned component libraries. Business services declare what they need; they never reimplement plumbing.

  2. 02

    Never change the money path

    Instrumentation is switchable. Turning telemetry off, or losing the exporter, cannot alter ordering, commits, retries or ledger effects.

  3. 03

    Propagate, do not reconstruct

    Context travels in standard headers and message metadata. Cause is recorded as it happens, not inferred from timestamps later.

  4. 04

    Data safety is part of observability

    Secrets, tokens and full payloads are excluded by default. Trace data is production data, with retention and access rules.

NEXT STEP

See it running
before you decide.

In a scoped pilot we can show the same trace across a live environment — and what an on-call engineer actually sees when something breaks at night.

An NDA can be in place before any environment access.