dotnet / dotnet/aspnetcore

Blazor: Update docs on how to get useful metrics in application insights

Open
#30,972 14 comments 33 reactions 1 assignee Assigned to @danroth27 View on GitHub
area-blazor Docs External feature-analytics partner Pillar: Technical Debt Priority:1
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

This is related mainly to Blazor Server Side, but there has been similar request for WASM as well.

I would like to get similar telemetry like in MVC, Razor Pages or WebForms.

1. page views
2. Blazor equivalents of server response time (e.g. how much took my click event handler)
3. I want my Entity Framework / ADO.NET logs correlated to an operation (e.g. button click)
4. I want to see which part of my blazor app is failing (e.g. which page fails to load, or which button click throws exception)

Those are untrivial if not impossible tasks for individual developers, but incredibly helpful for production use.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.