- resolveCorrelation
This method is responsible to perform correlation for incoming request by
populating it's traceId, s
- resolveRequestSource
Resolves the source of a request based on request header information and the
appId of the current co
- addTargetAppIdInResponseHeaderViaRequestContext
This adds the Request-Context in response header so that the Callee can know
what is the caller's Ap
- extractIncomingTraceparent
Helper method to create extract Incoming Traceparent header. This method can
return null.
- generateSourceTargetCorrelation
Extracts the appId/roleName out of Tracestate and compares it with the current
appId. It then genera
- getAppId
Retrieves the appId for the current active config's instrumentation key.
- getAppIdWithKey
Gets AppId prefixed with key to append to Request-Context header
- getEnumerationAsCollection
Returns collection from Enumeration
- getTracestate
Helper method that extracts tracestate header from request if available and
add's Azure component to
- processIncomingTraceparent
This method takes incoming traceparent object and creates a new outbound
traceparent object
- processLegacyCorrelation
This method processes the legacy Request-ID header for backward compatibility.
- resolve
Resolves appId based on appId passed in header and current appId