Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I configure the perf counters in a Service Fabric Stateless service?

I have looked at the options in the portal and also the resource group templates, but could not find a way to customize this list. Also, is it possible to add custom perf counters (assuming the code already creates them) for monitoring in the service fabric application?

like image 343
Ravi Y Avatar asked Dec 14 '25 00:12

Ravi Y


1 Answers

There is no integrated way to do this today, but there are three ways to do this:

  1. Use Application Insights to monitor your application. There are some details of how to do this with Application Insights that are not Service Fabric specific here. There is also a project on GitHub that shows how to integrate Azure Service Fabric with Application Insights.
  2. Collect performance counters using Azure Diagnostics. Service Fabric is running on VMs, configuring diagnostics to collection from an Azure VM can be found here.
  3. Use Operations Management Suite which can also collect standard and custom performance counters. See links in the post below (I'm not allowed to post more than 2 links)
like image 172
Todd Abel Avatar answered Dec 16 '25 21:12

Todd Abel



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!