microsoft / ApplicationInsights-SDK-Labs

Application Insights experimental projects repository
MIT License
61 stars 48 forks source link

Application Insights SDK for WCF - make it official? #5

Open SergeyKanzhelev opened 8 years ago

SergeyKanzhelev commented 8 years ago

Please try it and give us feedback on this project: https://azure.microsoft.com/blog/wcf-monitoring-with-application-insights/

luislopezmartin commented 8 years ago

I am missing the capability to setup alerts based on the number of requests. I've only been able to setup alerts based on exceptions raised. I would also like to have analytics on geographical location of my users. Thanks for this great project!

tomasr commented 8 years ago

@luislopezmartin A recent change introduced a new telemetry initializer: ClientIPTelemetryInitializer. This is an initial step to capturing the client's IP address, which should make the portal automatically generate the location tracking data. There is still an issue here if you're behind a load balancer that is hiding the IP address, which I'll try to address later on.

This is already included in the latest version of the NuGet package in MyGet.

I will let the AI team respond to the rest of your questions!

SergeyKanzhelev commented 8 years ago

For alerts based on # of request use the metric request rate:

image

More about alerts in case you haven't seen this doc: https://azure.microsoft.com/en-us/documentation/articles/app-insights-metrics-explorer/#set-alerts

There is basic geo information on Usage blade. As @tomasr mentioned you need to have correct IP address collected from X-Forwarded-For header if available. The best analytical capabilities would be available once you upgraded to the premium tier and getting analytics blade available: https://azure.microsoft.com/en-us/documentation/articles/app-analytics-queries/

bneidhold commented 8 years ago

Everything works right, but i have a project with mixed WCF and classic aspx Pages. After get the WCF things work with AI no GET/POST requests from the classic aspx are logged. Is this possible to fix/extend?

jiberan commented 8 years ago

I would like to see Application Insights SDK for WCF as official part of SDK. I'm using it in production.

SergeyKanzhelev commented 8 years ago

@jiberan - please create an issue for this so we can collect votes. So far our telemetry doesn't show much usage of WCF SDK.

We are trying to keep WCF SDK stable and I believe @tomasr - the author of it running it in production as well

jiberan commented 8 years ago

@SergeyKanzhelev ok. Base on this issue name I was thinking that you are collecting votes here :-) Btw thanks @tomasr for this.

SergeyKanzhelev commented 8 years ago

@jiberan oh you are correct. THis is the right issue for voting. I just confused as the discussion derailed to something else =)

keerthinath-ganjam commented 7 years ago

When will the official launch of App insights SDK for WCF application will be done

syntax-e commented 5 years ago

Please make this library official and host it in the official public nuget repository. Currently everyone on my development team needs to configure Visual Studio to include myget.org as a package source and it is a source of confusion.