편집

다음을 통해 공유


Plan code instrumentation using analytics service

Your application instrumentation can be captured and analyzed in any analytics service of your choice. It's recommended that you use a analytics service that allows tracking custom events and reporting it with custom context-based attributes.

Azure Application Insights, a feature of Azure Monitor, helps in tracking and monitoring app instrumentation. It allows developers to instrument the app, track relevant metrics, and custom business events. You can track events in your Teams app across desktop, web, or mobile clients.

Azure Applications Insights does auto-instrumentation to automatically collect performance, error data, and HTTP requests without code changes. Note that the instrumentation described in the previous section requires capturing custom events. It requires adding Application Insights SDK to your application code.

  • Follow the guidance here to add Application Insights SDK to your code.
  • Use TrackEvent to instrument and track custom events important for your business and metrics mentioned in overview.
  • The retention workbook provides user retention analysis out of box. The workbook allows measuring retention by pre-defined custom events.
  • User Flows provides useful insight on how your users navigate through the app and can be used for tracking custom events as well.

Telemetry as an investment

Collecting instrumentation data using the generated analytics is important for improving your app experience and guiding your roadmap. However, your investment in planning analytics and using instrumentation goes beyond the solution. It provides a window into your user’s mind and collects behavior patterns that can help you find the crucial product market fit.

Analyzing your solution usage and insights on features that your end users value enough to pay can help shape the long-term strategy for your organization and future solutions that you build.

See also