fix: filter remotedependency data for appinsights and include traceparent in propogated headers
This MR filters remoteDependencyData sent to Azure appinsights. If the remotedependencyData
has success
attribute set to true
then such telemetry data is not sent to appinsights. This is because we do not want to track remote dependency data that has successful responses thereby reducing the logs being ingested to appinsights.
Additionally, there is a fix to ensure traceparent
is always propagated if the incoming request has such a header.
Edited by Varunkumar Manohar