opencensus-python icon indicating copy to clipboard operation
opencensus-python copied to clipboard

logs from two azure app service does not dump in a single app insight at the same time

Open Shivappa opened this issue 4 years ago • 2 comments

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.

Shivappa avatar Dec 01 '21 06:12 Shivappa

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?

lzchen avatar Dec 02 '21 19:12 lzchen

@Shivappa Any updates on this issue? If not, it will be closed.

lzchen avatar Feb 09 '22 17:02 lzchen