If you use the zone.js library, you can still enable monitoring for the Fetch API by adding isZonePromise = true
and config.fetch = true
to your JavaScript snippet:
<script type='text/javascript' charset='UTF-8'>
(function(config){
config.fetch = true; // This is the default setting.
config.isZonePromise = true;
config.spa = {
"spa2": true
};
})(window['adrum-config'] || (window['adrum-config'] = {}));
</script>
<script src='//cdn.appdynamics.com/adrum/adrum-latest.js' type='text/javascript' charset='UTF-8'></script>
JS
<script type='text/javascript' charset='UTF-8'>
(function(config){
config.fetch = true;
config.isZonePromise = true;
})(window['adrum-config'] || (window['adrum-config'] = {}));
</script>
<script src='//cdn.appdynamics.com/adrum/adrum-latest.js' type='text/javascript' charset='UTF-8'></script>
JS