DependencyTelemetry: Sql command gets truncated


  • I am using an IDbCommandInterceptor in combination with EntityFramework to submit generated commands to AI using a DependencyTelemetry instance in my WinForms application. It seems however that the CommandName property is cut off when a certain size is reached. CommandName is the only property I found that can be used to log the generated query text. Are there any other properties I can use that provide enough room for large sql statements?
    Thursday, February 25, 2016 2:45 PM


All replies