/** * Extracts the appId/roleName out of Tracestate and compares it with the current appId. It then * generates the appropriate source or target. */ private static String generateSourceTargetCorrelation(String instrumentationKey, String appId) { assert instrumentationKey != null; assert appId != null; String myAppId = InstrumentationKeyResolver.INSTANCE.resolveInstrumentationKey(instrumentationKey); return resolve(appId, myAppId); }
/** * Extracts the appId/roleName out of Tracestate and compares it with the current appId. It then * generates the appropriate source or target. */ private static String generateSourceTargetCorrelation(String instrumentationKey, String appId) { assert instrumentationKey != null; assert appId != null; String myAppId = InstrumentationKeyResolver.INSTANCE.resolveInstrumentationKey(instrumentationKey); return resolve(appId, myAppId); }
.getInstrumentationKey()); String target = resolve(headerAppID, currAppId); if (target == null) { InternalLogger.INSTANCE.warn("Target value is null and hence returning empty string");
.getInstrumentationKey()); String target = resolve(headerAppID, currAppId); if (target == null) { InternalLogger.INSTANCE.warn("Target value is null and hence returning empty string");