The Cross Process Correlation Headers Protocol is used to transport custom data by leveraging the capability of Cross Process Propagation Headers Protocol.
This is an optional and additional protocol for language tracer implementation. All tracer implementation could consider implementing this. Cross Process Correlation Header key is
sw8-correlation. The value is the
encoded(key):encoded(value) list with elements splitted by
, such as
base64(string key):base64(string value),base64(string key2):base64(string value2).
The following implementation method is recommended for different language APIs.
TraceContext#getCorrelationare recommended to write and read the correlation context, with key/value string.