GetExitcallCorrelationHeader
Get the header for correlating a business transaction.
If a business transaction makes exit calls that you want to correlate across, retrieve the correlation header using this function and inject it into your exit call's payload.
The returned string is freed when the exit call ends. Do not free it yourself.
Format
func GetExitcallCorrelationHeader(exitcall ExitcallHandle) string
Parameter
exitcall:
Handle to the exit call.
Returns
On success, returns a 7-bit ASCII string containing the correlation information. You can inject this string into the payload of the exit call. A downstream agent can then extract the header from that payload and continue the business transaction.
On error, returns the default header that prevents downstream business transaction detection.