azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

How to migrate if not using Prometheus??

Open deyanp opened this issue 1 year ago • 4 comments

We have had the preview metric rules enabled until now,

image

and according to the migration there are new recommended rules available in general availability, however I see such only for Prometheus, which we are not using.

image

(Funny enough, the Prometheus alert rules are also marked as Preview ...)

The 2nd category contains only 2 alert rules ...

How to migrate in this case??


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

deyanp avatar Apr 25 '24 11:04 deyanp

@deyanp Thanks for your feedback! We will investigate and update as appropriate.

TPavanBalaji avatar Apr 25 '24 15:04 TPavanBalaji

@deyanp, thank you for the issue. based on the original release announcement below, the migration involves moving to Prometheus. For more details, see Container insights recommended alerts (custom metrics) (preview) will be retired on 14 March 2026

There is no other way to migrate without using Prometheus.

AnuragSingh-MSFT avatar Apr 26 '24 12:04 AnuragSingh-MSFT

@AnuragSingh-MSFT , we are currently using AKS + Log Analytics Workspace which I guess is somehow related to Azure Monitor. Do we need to buy another service for Prometheus (Azure Monitor Managed Service for Prometheus) on top?? Asking because Log Analytics Workspace + Alerts are not cheap on their own ...

deyanp avatar Apr 26 '24 12:04 deyanp

@deyanp, thank you for the reply and for additional context.

Please note that Managed Prometheus, Log Analytics workspace - are all part of overall Azure Monitor ecosystem.

Also, note that the "Container insights recommended alerts (custom metrics) (preview)" is retiring and not the container insight as a solution.

Azure Monitor managed service for Prometheus and Container insights work together for complete monitoring of your Kubernetes environment.

  • Azure Monitor managed service for Prometheus is a fully managed service based on the Prometheus which allows you to collect and analyze metrics from your Kubernetes cluster at scale and analyze them using prebuilt dashboards in Grafana.
  • Container insights is a feature of Azure Monitor that collects and analyzes container logs from Azure Kubernetes clusters. It can also collect metrices, but with the recommended alert rules being enabled only for Prometheus - you could disable the metrics collection in container insights (which are stored in Log Analytics workspace) and use LA workspace only for logs and event collection. It has also been found that Prometheus metrics are more cost efficient than custom metrics.

In view of the above information, the suggested path with cost optimized option would be:

  1. Use Container insights for only logs and events (and disable the metric collection). For details, see Configure data collection and cost optimization in Container insights using data collection rule
  2. Use managed Prometheus for Metric collection and recommended metric alert rules.

Hope this helps. Please let us know if you have any questions.

AnuragSingh-MSFT avatar Apr 29 '24 07:04 AnuragSingh-MSFT

@deyanp, We will now proceed to close this thread as we have not heard back from you. If there are further questions regarding this matter, please tag me in your reply and reopen the issue. We will gladly continue the discussion.

AnuragSingh-MSFT avatar Apr 30 '24 05:04 AnuragSingh-MSFT