MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
9.98k stars 20.95k forks source link

How to migrate if not using Prometheus?? #121957

Closed deyanp closed 6 days ago

deyanp commented 1 week ago

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.

TPavanBalaji commented 1 week ago

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

AnuragSingh-MSFT commented 1 week ago

@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.

deyanp commented 1 week ago

@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 ...

AnuragSingh-MSFT commented 1 week ago

@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.

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 commented 6 days ago

@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.