Why end-to-end observability across enterprise integrations is an architecture decision, not a tooling decision.

A customer calls. Their order didn’t go through, or their service was never activated. The support team opens a ticket, and the investigation begins.

The CRM team checks its logs: the request was processed. The integration team checks the API gateway: the call went out successfully. The downstream system team sees nothing unusual. Every team looks at its own system and reaches the same conclusion: “Everything is fine on our side.”

And yet, the transaction failed.

This is the observability paradox many enterprises face today. They have invested in monitoring platforms and every system produces logs. Still, they can’t answer the simplest question: what happened to this specific transaction, from beginning to end? Meanwhile, incidents drag on, teams spend their time proving their system isn’t at fault, and customers wait.

1. Every system sees its part. No system sees the whole journey

Business processes rarely live in a single platform. One customer request can move from a front-end channel to an API gateway, into Salesforce, and on to billing, provisioning or ERP systems.

Each platform can offer excellent visibility into its own activity. Salesforce, for example, provides rich native monitoring through Shield Event Monitoring. It covers API calls, user actions, Apex executions and more, and the data can be streamed to external observability platforms.

But a transaction that crosses several systems belongs to all of them, and to none of them alone.

2. The missing piece: correlation

In a recent architecture assessment, Stellaxius worked with an organisation whose observability platform was already receiving logs and events from Salesforce and from its API gateway. The data was there. What was missing was a reliable way to connect it.

Each system recorded its activity in its own terms. Without a shared identifier between them, the observability platform could show separate stories, but not one transaction. When something went wrong, teams fell back on manual investigation: comparing timestamps, cross-checking records and relying on tribal knowledge.

3. Why the shortcuts fall short

The first instinct is to work with what’s already available. We assessed several options:

  • Matching on contextual fields such as IP addresses, sessions or users. These are valuable for context, but they describe who or where, not which transaction.
  • Time-based or heuristic correlation in the observability platform. It can work at low volumes, but it becomes unreliable at scale, when many similar transactions happen at the same moment.
  • Correlation IDs in the message payload. This is possible, but it mixes observability with business data and depends on every integration handling it consistently.
  • Logging frameworks within individual systems. They improve visibility inside each system, but on their own they don’t create the link between systems.

Each option solves part of the problem. None delivers what end-to-end observability needs: deterministic correlation, meaning certainty rather than probability that two events belong to the same transaction.

4. Designing correlation into the integration architecture

The approach Stellaxius recommended follows a simple principle: every transaction carries its identity with it.

A unique identifier is created at the start of the transaction and passed through HTTP headers at every system boundary. Each system records it, so the observability platform can rebuild the full journey.

Instead of inventing a proprietary mechanism, we built on open standards: OpenTelemetry and the W3C Trace Context specification, which define a standard way to propagate trace identity across systems. Because observability platforms, API gateways and cloud services widely support these standards, the design stays durable as the landscape evolves.

Salesforce doesn’t implement W3C Trace Context standard natively, but it provides what you need to make it work., and making it work comes down to two design decisions:

  • Inbound: when the API gateway calls Salesforce, it passes the trace identifier in the request. Using the X-SFDC-REQUEST-ID header, that identifier becomes the native REQUEST_ID recorded by Event Monitoring. The same ID then appears in the gateway logs and in Salesforce events.
  • Outbound: when Salesforce calls other systems, it sends through the traceparent and tracecontext headers (following W3C Trace Context standard) derived from Salesforce’ internal REQUEST_ID, which is then forwarded by the integration layer to the target system callout. The chain continues instead of starting over.

The result is simple to explain and powerful in practice. Faced with a failed customer request, a support engineer searches for one identifier and sees the entire journey in a single view: where the transaction entered, which systems it touched, and exactly where it stopped. Investigation becomes a lookup instead of a cross-team exercise.

5. Aligned with Salesforce’s own guidance

This approach is also reflected in Salesforce’s reference material. Salesforce explains how correlation IDs make operations traceable across distributed systems in Set Up Cross-System Observability with Correlation IDs, on the Salesforce Developers Blog. For teams designing Salesforce integrations, it’s an excellent starting point.

Is your architecture traceable? A quick check

  • Can you follow a single customer request across every system it touches?
  • Do Salesforce, your API layer and your downstream systems share one identifier for the same transaction?
  • Is trace propagation part of your integration standards, or left to each project to decide?
  • When an incident happens, does your team look up one ID, or start a meeting?

If any answer is “no” or “not sure”, there’s an observability gap worth closing.

The architectural takeaway

Many organisations try to close observability gaps by collecting more data: more logs, more dashboards, more tools. But the data is rarely the problem.

The need for correlation will only grow as AI agents start acting across enterprise systems, triggering processes, calling APIs and updating records on their own. When an agent’s action produces an unexpected result, organisations will need to know exactly what happened, where and why.

End-to-end observability isn’t achieved by collecting more logs. It’s achieved by designing correlation into the integration architecture.

How Stellaxius can help

At Stellaxius, we help organisations get the most out of Salesforce as part of their wider enterprise architecture. Our architects work across Salesforce, MuleSoft, integration layers and the surrounding systems to design solutions that are scalable and observable from day one.

Whether incidents are taking too long to resolve, you’re planning a new integration programme, or you’re preparing your landscape for AI agents, we can help you:

  • Assess your current observability setup and pinpoint where transaction visibility breaks down.
  • Design a correlation strategy based on Salesforce native capabilities and open standards.
  • Build traceability into your integration architecture, so your teams spend less time investigating and more time solving.

Want to know how exactly you can trace your critical transactions end to end?

Contact us, let’s review your architecture together.let’s look at your architecture together.let’s look at your architecture together.

 

Tiago Nunes

I am an Integration Architect and a proud member of Stellaxius' Integration Team. My journey through the integration realm has seen roles as a developer, analyst, architect, and in pre-sales. The most important revelation along this path? We don't just integrate systems—we integrate people!