I am sending data to cloud watch Rum service from my angular application, only for few times it sends data after that it does not send any data, also does not call the dataplan api, I tired to setup the script in head section of html file and also in ngOninit in the app component. I also tried to change the config values like sessionSampleRate set to 1 and others but still no impact. It only works when I change the script from html file to app component or move script from app component to main.ts file. Cannot understand this behavior, event the app does not send data after 1 day, when I close and restart the machine. I verify that there are no errors in console, I also create a sperate testing app and verify the data is sending from that app. My assumption is that when it sends data it should call the dataplan api which it is only calling for the first time whenever I move the script after that it does not work even on application reload. Continue reading...