microsoft / ApplicationInsights-dotnet

ApplicationInsights-dotnet
MIT License
566 stars 285 forks source link

Support App Insights in Blazor WASM Client Side #2143

Open igalfsg opened 3 years ago

igalfsg commented 3 years ago

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.

martinlingstuyl commented 3 years ago

It's curiously silent on this issue!

shatindle commented 2 years ago

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

SoucianceEqdamRashti commented 2 years ago

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

hkusulja commented 2 years ago

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?

cijothomas commented 2 years ago

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.

Matthewsre commented 2 years ago

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.

cijothomas commented 2 years ago

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

Matthewsre commented 2 years ago

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

igalfsg commented 2 years ago

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

indcoder commented 2 years ago

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]

hkusulja commented 2 years ago

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

ChristopherHaws commented 2 years ago

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

macel94 commented 2 years ago

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

hkusulja commented 1 year ago

@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

cijothomas commented 1 year ago

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.

hkusulja commented 1 year ago

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.

akhanalcs commented 1 year ago

Any new updates on this?

MartinEgli commented 1 year ago

Any new updates on this?

AlthalusDGr8 commented 12 months ago

Assuming there has been no updates on this yet?

DennyFiguerres commented 11 months ago

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 commented 11 months ago

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 ?

vsvsav commented 10 months ago

www.youtube.com/watch?v=j1dClqBD10k

hkusulja commented 8 months ago

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