@Syed muhammad harith al gadri syed abdul rahman, thank you for posting this question here.
Have you configured the JVM to load applicationInsights-agent-*.jar
file with -javaagent parameter. For more details, refer to the first section in the Modify you Application section here - Modify your Application
You could also use the selfDiagnostics
flag in the applicationInsight.json file to enable internal logging from the AppInsight agent itself locally. This would help understand if the agent even got loaded by the JVM (in which case a log file gets created and some entries are populated in it). In case the agent was loaded but data could not be sent to AppInsights workpace, this log file should contain additional information. For details, see Self-diagnostics.
Hope this helps. Please let us know if you have any questions.