score:0

you can add this telemetry initializer below your call to loadappinsights to modify your telemetry items on the fly. in this case, it will truncate the remotedependencydata name field.

appinsights.addtelemetryinitializer(item => {
  if (item.basetype === 'remotedependencydata') {
    if (item.basedata.name.length > 1024) {
      item.basedata.name = item.basedata.name.substr(0, 1024);
    }
  }
});

Related Query

More Query from same tag