The PowerPlatform offers monitoring of your apps on a high level. The telemetry gathered includes Performance, Usage and Errors aggregated on the environment level.
As of now, there is no official way to get detailed telemetry at the app level.
I decided to give it a shot to see if I could create a PCF control that could send telemetry to Azure Application Insights.
Here is my initial attempt. It supports tracking of Page Views i.e. Screen Views which includes screens views, duration, user information, session information, geographic information and other telemetry.
It's a custom PowerApps control for Canvas Apps. It might be useful for Model-Driven apps also, you let me know, ok?
When the control is added to a PowerApps Canvas Screen it allows to captures telemetry such as Screen Views, Duration, Custom Events and Errors. If implemented correctly, this telemetry is useful to understand how users are using the app.
NOTE: to use custom controls in PowerApps Canvas Apps it is required that the environment administrator has enabled the feature PowerApps component framework for canvas apps https://go.microsoft.com/fwlink/?linkid=2101429 and that the maker of the Powerapp Canvas App has enabled the Components feature.
Environment Administrator must enable PowerApps Componet Framework for canvas apps.
PowerApps Canvas App Maker must enable Components feature.
Download the solution file from the github repository https://github.com/jenschristianschroder/pcfAppInsights/releases/tag/v0.0.1
Import the solution file into your environment.
Set the following properties:
Instrumentation Key: this is the intrumentation key found in the overview page of your Azure Application Insights instance
Track Screen View: set this to the name of you screen. Suggest to use Parent.Name
Once you have configured the ApplicationInsightsControl component you can set its visibility to false to hide it in your UI.
Once configured, Screen Views are tracked in Azure Application Insights automatically every time a screen loads.
Source code is available in the github repository : https://github.com/jenschristianschroder/pcfAppInsights
Feel free to contribute!