Reputation: 413
I'm trying to setup Azure Application Insights to monitor the performance counters for the following metrics for an ASP.NET Core Web App and Web API hosted in Azure App Services:
I'm fairly sure Application Insights is configured properly since I can see other metrics showing up in the portal. Is there some reason these particular metrics don't seem show up? I've even tried taking one of the default ASP.NET Core templates and deploying with Application Insights and I'm still not seeing these counters update. Are these counter's just not available for applications hosted in Azure or for ASP.NET Core applications? I did try the latest Web App template that comes with VS 2017 Update 2.
Upvotes: 1
Views: 948
Reputation: 3196
When you say other metrics do show up - which ones specifically you mean? The metrics you mentioned (HTTP requests,...) are collected by the Microsoft.ApplicationInsights.PerfCounterCollector module of the SDK, and this module is available only if you are running the .net core app against full framework.
Upvotes: 1
Reputation: 7696
These are available, but they're tucked away. To add them, do the following:
Upvotes: 1