Integration / Apache Pulsar Interview questions
Why is the singularityheader important in transaction correlation?
The singularityheader is the HTTP header AppDynamics uses to carry a transaction's correlation identifier from one tier to the next, and it's the specific mechanism that makes cross-tier distributed tracing possible instead of each tier only ever reporting isolated, disconnected metrics.
When the App Agent's byte-code interceptor detects an outbound HTTP exit call, it decorates the outbound request with this header before it leaves the process; the receiving tier's agent reads it back out on arrival and continues the same transaction context rather than starting a brand-new, unrelated one. Because HTTP headers are extensible by design, adding this custom header doesn't break the underlying protocol or any well-known headers it might sit alongside.
If a hop in the call chain isn't recognized by the agent as a proper exit point — a custom or unsupported client library, for instance — the header never gets added, correlation breaks at that hop, and the flow map shows a gap or a missing tier rather than a continuous chain. That's why custom exit point configuration exists: to teach the agent to inject and read the header on protocols it doesn't recognize out of the box.
More Related questions...
