1

I am trying to use application insights inside of a flask app using:

from opencensus.ext.azure.log_exporter import AzureLogHandler

but the runtime throws the following error:

ModuleNotFoundError: No module named 'opencensus'

However it works perfectly fine locally. I don't have anything to investigate next What should I do now?

rooni
  • 1,036
  • 3
  • 17
  • 33

1 Answers1

0

To add to what Jason shared, please review, https://pypi.org/project/opencensus/ for further troubleshooting of the module including how to export traces.

Bryan Trach-MSFT
  • 765
  • 1
  • 5
  • 9