Forum Discussion

DirkH1180's avatar
DirkH1180
Copper Contributor
Aug 01, 2024

AVD Hostpool Insights - Migration from Log Analytics Agent to Azure Monitor Agent

Hi everyone,

 

we are currently experiencing some trouble migrating from the deprecated Log Analytics Agent to Azure Monitor Agent. After the migration "Hostpool >> Monitoring >> Insights >> Host performance" doesn't show any info at all and only says "The query returned no results"

 

It's the same problem this guy has: https://learn.microsoft.com/en-us/answers/questions/1689731/avd-insights-host-performance-blade-empty-after-ch

 

Other blades like "Connection Diagnostics" or "Utilization" show data as they did before with MMA.

I already tried a new Log Analytics Workspace - without success. New DCRs (collecting everything) don't work either.

 

I can see that perf-data, heartbeats, etc. are sent to the LAW by the DCR - but it seems like the hostpool's insights workbook is unable to display/query the data.


On a dedicated/standalone virtual machine everything works fine (VM >> Monitoring >> Insights >> Performance).

 

The person above "solved" it this way:

 

"I found that the only solution for this issue is, to create a new log analytics workspace and recreate all session hosts and connect them to this workspace. This brought the Insights Host Performance back for us in all environments."

 

But this can't be the only way to fix it, right?

 

Does anyone have an idea how I can fix this?

 

Thanks & all the best,
Dirk

2 Replies

  • DirkH1180 

     

    How about Heartbeats and Connectivity?

     

    Heartbeat
    | where Category == "Azure Monitor Agent"
    | summarize LastHeartbeatReceived = max(TimeGenerated) by Computer

Resources