Dependency tracking, name gets overwritten
We are having issues with the trackDependency function. When we send telemetry with http-method and path as the name parameter, it is overwritten with the type parameter + path.
This is the local object which is passed into telemetryClient.trackDependency:
This is the outcome in application insights:
@sga-solita What version of the SDK are you using?
@JacksonWeber Sorry, I should have mentioned that. I discovered the bug when using 3.3.0, and then tried 3.4.0, which had the same outcome.
@sga-solita My testing of passing a custom name field to a trackDependency call using 3.4.0 of the SDK is showing dependency telemetry with the new custom name in Application Insights. Can you share you Application Insights startup code and the manual trackDependency call you expect to have a custom name field?
Duplicate of https://github.com/microsoft/ApplicationInsights-node.js/issues/1432. Which is now resolved.