ApplicationInsights-dotnet icon indicating copy to clipboard operation
ApplicationInsights-dotnet copied to clipboard

Support App Insights in Blazor WASM Client Side

Open igalfsg opened this issue 3 years ago • 23 comments

Currently Blazor WASM does not support AppInsights out of the box for the client side logging. I am able to add Appinsights for server side, but it does not try user flows, unique users, or page visits. This can bee added with JavaScript interop or with this project https://github.com/IvanJosipovic/BlazorApplicationInsights created by the community but it would be better if it can be incorporated natively.

igalfsg avatar Jan 03 '21 22:01 igalfsg

It's curiously silent on this issue!

martinlingstuyl avatar Jul 26 '21 08:07 martinlingstuyl

Not having this at or near launch feels like a pretty big oversight.

shatindle avatar Sep 27 '21 15:09 shatindle

How are you to suppose to maintain blazor apps in prod if it doesn't work nicelywith AI?

SoucianceEqdamRashti avatar Nov 07 '21 22:11 SoucianceEqdamRashti

It passed a long without any info or update from Microsoft on this issue, maybe @cijothomas can jump-in and prioritize the response and status?

hkusulja avatar Dec 07 '21 10:12 hkusulja

The only update I can share is - this is not being actively worked on by anyone in the SDK team. Its among the top feature asks, but its not yet committed, and hence no timeline. When the status changes, will update this issue.

cijothomas avatar Dec 07 '21 17:12 cijothomas

The only update I can share is - this is not being actively worked on by anyone in the SDK team. Its among the top feature asks, but its not yet committed, and hence no timeline. When the status changes, will update this issue.

Is there a user voice or somewhere else we could be voting for this feature? This feature is very important and I want to make sure I am going through the best channels to support getting it prioritized.

Matthewsre avatar Dec 07 '21 19:12 Matthewsre

The only update I can share is - this is not being actively worked on by anyone in the SDK team. Its among the top feature asks, but its not yet committed, and hence no timeline. When the status changes, will update this issue.

Is there a user voice or somewhere else we could be voting for this feature? This feature is very important and I want to make sure I am going through the best channels to support getting it prioritized.

https://feedback.azure.com/d365community/forum/8849e04d-1325-ec11-b6e6-000d3a4f09d0 This is the user voice for Application Insights

cijothomas avatar Dec 07 '21 20:12 cijothomas

The only update I can share is - this is not being actively worked on by anyone in the SDK team. Its among the top feature asks, but its not yet committed, and hence no timeline. When the status changes, will update this issue.

Is there a user voice or somewhere else we could be voting for this feature? This feature is very important and I want to make sure I am going through the best channels to support getting it prioritized.

https://feedback.azure.com/d365community/forum/8849e04d-1325-ec11-b6e6-000d3a4f09d0 This is the user voice for Application Insights

Thanks for the link. This is the only feature suggestion I could find and it only had 1 vote:

https://feedback.azure.com/d365community/idea/4f959530-1425-ec11-b6e6-000d3a4f09d0

Matthewsre avatar Dec 07 '21 20:12 Matthewsre

To commemorate one year of this issue being opened, I have created a youtube video on how to install @IvanJosipovic blazor wasm app insights nuget package: https://www.youtube.com/watch?v=j1dClqBD10k

Also friendly reminder to vote in this feedback issue to get the feature hire in their backlog https://feedback.azure.com/d365community/idea/4f959530-1425-ec11-b6e6-000d3a4f09d0

igalfsg avatar Jan 03 '22 13:01 igalfsg

Pros: This is tracked as an issue created by the Blazor PM himself https://github.com/dotnet/aspnetcore/issues/5461 He has already closed a duplicate of this https://github.com/dotnet/aspnetcore/issues/18715 Cons: It was opened in 2018 [3 years before this issue]

indcoder avatar Jan 25 '22 23:01 indcoder

but still, is this related to this repo / application insights nuget, and not aspnet itself ?

hkusulja avatar Jan 26 '22 14:01 hkusulja

@hkusulja Seeing as this is the repo where Microsoft.ApplicationInsights.AspNetCore lives, I would assume that the Blazor support would live here as well.

ChristopherHaws avatar Jan 27 '22 00:01 ChristopherHaws

#https://github.com/dotnet/aspnetcore/issues/17730#issuecomment-1182521592 I believe having more than one thread would greatly help the appinsights team supporting blazor wasm, right?

Could we have a preview for november??? @danroth27

macel94 avatar Jul 19 '22 06:07 macel94

@cijothomas please update us on status of Application Insights team, developing SDK that will support ASP.NET Blazor WebAssembly official one. It passed almost 2 years now.

There is 3rd party one - https://github.com/IvanJosipovic/BlazorApplicationInsights

hkusulja avatar Sep 23 '22 07:09 hkusulja

Unfortunately no change in status.

The only update I can share is - this is not being actively worked on by anyone in the SDK team. Its among the top feature asks, but its not yet committed, and hence no timeline. When the status changes, will update this issue.

cijothomas avatar Sep 23 '22 16:09 cijothomas

Thank you for the status and info update.

It seems to me that whole Application Insights (Azure Monitor), from top to bottom is confused, not aligned, not communicating publicly, and making the whole infrastructure and community unstable. There is (some) patience, but it is at the edge.

hkusulja avatar Sep 23 '22 16:09 hkusulja

Any new updates on this?

akhanalcs avatar Feb 16 '23 20:02 akhanalcs

Any new updates on this?

MartinEgli avatar Jul 17 '23 16:07 MartinEgli

Assuming there has been no updates on this yet?

AlthalusDGr8 avatar Sep 11 '23 19:09 AlthalusDGr8

i am also searching for more guidance and best practice on how to get ai and blazor working well with each other.... server or wasam ... they both need it and with the dot net 8 blazor unified that should also be part of the roadmap.

DennyFiguerres avatar Sep 28 '23 17:09 DennyFiguerres

Blazor and Application Insights seems to be an area that Microsoft has not been able to address in over 2 years so far.

hey Microsoft can we get some help here ?

DennyFiguerres avatar Oct 09 '23 15:10 DennyFiguerres

www.youtube.com/watch?v=j1dClqBD10k

vsvsav avatar Nov 08 '23 12:11 vsvsav

Since no progress here for a years. Application Insights is moving to Open Telemetry protocol and NuGets. So in current situation, this is solution could be OpenTelemetry. NET in Blazor WebAssembly Example - https://wolfgang-ziegler.com/blog/otel-dotnet-blazor

hkusulja avatar Dec 22 '23 08:12 hkusulja