Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application Insights in Service Fabric?

I need to add performance logging in a Azure Service Fabric application I'm developing. I've tried to follow the following guide which seems quite straightforward and easy:

https://github.com/Microsoft/azure-content/blob/master/articles/service-fabric/service-fabric-diagnostics-application-insights-setup.md

Yet, I'm unable to find the package Microsoft.ServiceFabric.Telemetry.ApplicationInsights on NuGet. Since that article is from last year maybe things have changed quite a bit, but I'm not sure whether configuring Insights for aan Azure Service Fabric app is quite different from any ASP.Net app (I can imply from the article that maybe is a bit different).

Can someone point me in the right direction on how to do it properly?

Thank you.

like image 372
David Jiménez Martínez Avatar asked Nov 24 '25 11:11

David Jiménez Martínez


2 Answers

The NuGet package is located here: https://www.nuget.org/packages/Microsoft.ServiceFabric.Telemetry.ApplicationInsights/

Make sure to configure your search to include "Prerelease" packages.

like image 59
Matt Thalman Avatar answered Nov 25 '25 23:11

Matt Thalman


You're likely looking for the updated GitHub repository at https://github.com/Microsoft/ApplicationInsights-ServiceFabric. This lists two NuGet packages to use depending on your use case:

  • Microsoft.ApplicationInsights.ServiceFabric.Native - Use with native reliable services.
  • Microsoft.ApplicationInsights.ServiceFabric - Use with Guest Executable and Guest container services
like image 27
Whit Waldo Avatar answered Nov 25 '25 23:11

Whit Waldo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!