Just to clarify - there is no deprecation for Log Analytics :)
Microsoft is going to deprecate an agent based on old architecture - Microsoft Monitoring Agent (or Log Analytics Agent in some documents)
Microsoft is adding more and more options to a new agent called Azure Monitoring Agent.
This doesn't impact on Log Analytics at all.
And yes, if you can it's time to migrate to Azure Monitoring Agent asap.
P.S. Azure Monitor is a mix of services including, but not limited to Log Analytics, Application Insights, Azure Alert Rules, Metrics, Logs, Workbooks etc