Open ramolapereira opened 5 days ago
hi @ramolapereira, can you use 3.x? 2.x will be retired soon
Hi @trask ,
We followed the POC provided by MuleSoft here: MuleSoft AppInsights POC
As we have our apps deployed on CloudHub, they don't support use of -javaagent on Cloudhub or Runtime Fabric at this time, hence we cannot upgrade to 3.X as it requires Javaagent.
@ramolapereira You could use this instrumentation library with this exporter.
Dependencies used:
Operation ID, Operation Name and Operation Parent ID are empty in AppInsights.
Tried to set these values in Java using RequestTelemetryContext. Even then these 3 are empty in AppInsights.
import com.microsoft.applicationinsights.web.internal.RequestTelemetryContext; import com.microsoft.applicationinsights.web.internal.ThreadContext;
import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger;
public class Controller { private static final Logger logger = LogManager.getLogger(Controller.class);
}
Both the loggers are sent to AppInsights with empty values for these 3 fields. Tried setting 12 digit values to Operation ID too.