Chebolu Sai Manasa, thank you for posting this question on Microsoft Q&A.
Based on the scenario mentioned in the question, there are 2 instances where AppInsights can be enabled:
- Python - I assume that Python is the backend application supporting the react application. Thus, you may also enable the ApplicationInsights to monitor the backend application. Please refer the link below for detailed steps on enabling the AppInsights for Python applications - Enable Azure Monitor OpenTelemetry for Python applications
- React - For react, the following article has detailed step by step information to enable ApplicationInsights - Enable a framework extension for Application Insights JavaScript SDK
Hope this helps.
If the answer did not help, please add more context/follow-up question for it. Else, if the answer helped, please click Accept answer so that it can help others in the community looking for help on similar topics.