Adding custom event telemetry when a button is clicked

prashant 1 Reputation point
2020-08-31T04:51:14.783+00:00

I have to monitor how many times a button was clicked using Application Insights Events.

I have all the code written also the Application Insights resource created and the Log analytics resource created.

But Event logs are not found. What should I do.

Kindly find link to my code:-https://github.com/prast567/enhancing-applications/blob/master/azure-vote/main.py

My azure subscription id:- xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Thanks!

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,265 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. olufemia-MSFT 2,861 Reputation points
    2020-09-03T11:03:33.99+00:00

    Hello @prashant , I assume the subscription ID above is a typo. For your privacy, please do not share subscription ID directly on this public forum.
    Since your code is written in Python, I recommend engaging the Azure Monitor Python community. Hope this helps.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.