I cant track App Insights Events

Mario Lada Martinez 20 Reputation points
2023-03-15T11:29:50.98+00:00

Im currently working on a plugin for azure media player to track events like when a user starts to play a video and some stuff like that. But first of all, my events arent being tracked. I reduced the problem to the minimun and i put this in a javascript file : window.appInsights.trackEvent("test",{ name: "TEST" });

this code is being executed, and the variable window.appInsights is correct too,i mean, its not undefined, but i dont see this event in the custom events section of app insights in azure (in the logs, of course). Im pretty lost, hope u can help. thx in advance!

Azure Media Services
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
317 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 21,686 Reputation points
    2023-03-20T06:49:03.5366667+00:00

    Mario Lada Martinez Thanks for reaching here! Check out the supported options. By default, the only custom event that will send with the plugin will be the playback summary.

    Refer to this detailed article might be helpful: Media Services: Application Insights Plugin for Azure Media Player with Power BI dashboards

    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.