Azure / Azure/azureml-examples
Not getting logs in app insights
- Dominant language
- Jupyter Notebook
- Stars
- 2k
- Forks
- 1.7k
- Avg merge
- 18h 18m
- Merged PRs (30d)
- 2
Description
## Which example? Describe the issue
example: online-endpoints-simple-deployment.ipynb
description:
My code is based on this notebook. However, I added the `app_insights_enabled` flag to the deployment variable in order to save logs generated in score.py to application insights. This doesn't work. I tried print statements and logging.info statements but I cannot see any of these entries in application insights of the deployment.
How can I solve this problem? Or what's the recommended way to save custom logging commands to an azure logging service?
Contributor guide
Research direction
Start with online-endpoints-simple-deployment.ipynb and compare the deployment variable's app_insights_enabled setting with the logging used in score.py. Reproduce the deployment and verify whether print and logging.info output appears in the deployment's Application Insights; done means the recommended custom logging path is documented or the example is corrected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, jupyter-notebook, python
- Domain
- cloud, machine-learning, observability-sre
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100