microsoft / ApplicationInsights-dotnet-server

Microsoft Application Insights for .NET Web Applications
https://azure.microsoft.com/services/application-insights/
133 stars 67 forks source link

QuickPulse does not distinguish multiple processes running on the same host #1253

Closed lmolkova closed 5 years ago

lmolkova commented 5 years ago

QuickPulse sends machine name + role instance to the service and service and UX distinguish services based on machine names rather than role instance, role instance serves as a friendly name only.

When there is more than one instance on the same host, QP shows a single node for the host regardless of how many role instances are reported within the host.

It is not possible to override the machine name QP uses as it is taken from Environment.MachineName and not configurable

https://github.com/microsoft/ApplicationInsights-dotnet-server/blob/66a8883df0f15f8e836446c6fafb8cbe6a2d5765/Src/PerformanceCollector/Perf.Shared/QuickPulseTelemetryModule.cs#L358

Proposal

QuickPulseTelemetryModule should be configurable.