CorrelationIDs
Correlation IDs are a mechanism used in distributed systems to track a request as it propagates through multiple services. When a request enters a system, a unique identifier, the Correlation ID, is generated. This ID is then included in all subsequent requests and logs related to that original request. This allows developers and operators to follow the entire lifecycle of a transaction, even when it spans numerous microservices or components.
The primary benefit of using Correlation IDs is improved observability and debugging. By searching for a specific
Correlation IDs are typically implemented by adding a custom HTTP header to requests. Common header names include