DependencyTelemetry has a public field Duration of type TimeSpan. This field is served by a string field leading to conversion between String and TimeSpan throughout the system.
https://github.com/Microsoft/ApplicationInsights-dotnet/blob/develop/src/Microsoft.ApplicationInsights/DataContracts/DependencyTelemetry.cs#L216
Proposal is to change the internal auto-generated code (https://github.com/Microsoft/ApplicationInsights-dotnet/blob/develop/Schema/PublicSchema/RemoteDependencyData.bond#L27) to use TimeSpan to avoid conversion between String and TimeSpan.
Applicable to DependencyTelemetry and RequestTelemetry.
Version Info
SDK Version :
.NET Version :
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) :
OS :
Hosting Info (IIS/Azure WebApps/ etc) :