We have some Docker containers running on RHEL 8 Azure VM. I want to get the metrics from the container to Log Analytics Workspace. (As per this document we have to install the Log Analytics Agent to get the container metrics)
My Question: Can we get the container metrics without installing Log Analytics Agent only with Azure Monitor agent on VM As Log Analytics Agent is soon going to be deprecated?
Document link : https://learn.microsoft.com/en-us/azure/azure-monitor/containers/containers Msft document suggestion : Install and use Docker with a Log Analytics agent. Based on your operating system and Docker orchestrator, you can use the following methods to configure your agent.
For standalone hosts: On supported Linux operating systems, install and run Docker and then install and configure the Log Analytics agent for Linux.
Thanks
Can we get the container metrics without installing Log Analytics Agent only with Azure Monitor agent on VM As Log Analytics Agent is soon going to be deprecated?
AFAIK currently the Azure Monitor agent by itself is unable to gather metrics from a standalone Docker container operating on a RHEL 8 Azure VM.
As per this document we have to install the Log Analytics Agent to get the container metrics
As it is not possible in your standalone case i am just suggesting that as mentioned in your document you can use that log analytics agent and then you can migrate to azure monitor agent.
Refer this MS document for more information.