opencensus-python
opencensus-python copied to clipboard
logs from two azure app service does not dump in a single app insight at the same time
Describe your environment.
- two azure web apps (under single app service plan) with flask.
- single azure application insights
- opencensus 0.8.0
- opencensus-ext-azure 1.1.0
Steps to reproduce.
- Create 2 azure web apps using the flask framework.
- Create a single azure application insight resource.
- Include Instrumentation Key in both the webapps.
- Deploy both the apps to azure.
- Check logs in app insights.
What is the expected behavior? Logs from both the web apps should be present in the azure application insights.
What is the actual behavior? Whichever web server starts recently, those app service logs are dumping into app insights.
- If webapp1 starts first and webapp2 starts second(after webapp1) -> app insights have logs of only webapps2
- If webapp2 starts first and webapp1 starts second(after webapp2) -> app insights have logs of only webapps1.
Additional context. None.
Could you provide some more details about what these web apps do? What logs are you expecting from each of the web apps? Do they communicate with each other? Does this behavior exist if you run the apps locally instead of deployed as web apps?
@Shivappa Any updates on this issue? If not, it will be closed.