Dynatrace Javascript API

Hi,

We would like to use Dynatrace Javascript API and would like to know when to use Dynatrace report error api vs Dynatrace customreporterror api?

Thanks,

Tarun

Hi Tarun,

The ‘normal’ report error API is used to report know JS errors detected by the JS Agent automatically.

The custom error API is used when in the Web Application settings you have defined specific ‘custom errors’ that the JS Agent should look out for, these can be configured Application → Settings → Errors → Custom Errors

Best,

Mark