Reputation: 5787
I've faced the problem that all the dynamically multi instance counters are collected successfully but are not sent to Application Insights. For example if I specify \LogicalDisk(*)\Disk Read Bytes/sec
then I see 3 records (C:
, D:
, _Total
) in the Azure Diagnostics storage table, however none of them appear in the Application Inisghts. But if I specify all 3 counters explicitly (i.e. \LogicalDisk(C:)\Disk Read Bytes/sec
) then it appear both in Azure Diagnostics and Application Insights tables.
Upvotes: 0
Views: 197
Reputation: 151
This happens because wildcards are not supported for perf counters in the component that sends Windows Azure Diagnostics data to AI (WAD2AI). The data collection agent writes the counter values to local tables on disk with the specific counter name (C:, D:, _Total). From the local disk there are two transfer processes:
The filter that determines whether the counter read from the local file should be sent to AI is a simplistic string compare against the counter provided in the config. Unfortunately, there is no way around it but what you are already doing (provide counters explicitly).
Upvotes: 1