Disable Managed Prometheus Visualizations on AKS

Zeinab Khosravi 60 Reputation points
2024-11-18T10:36:08.2+00:00

Hello all,

I have an AKS cluster that uses Azure Managed Prometheus metric collection. I wanted to disable the collection of Perf metrics, as they were not necessary. After doing that, I accidentally enabled the "Managed Prometheus Visualizations (Preview)" on the Insights tab under Monitoring section in the AKS cluster, and that created some new rule groups and started showing the Perf metrics on the insights tab! I was wondering how I can disable this feature, since the disabling seems to be greyed out:
Screenshot 2024-11-18 at 11.34.46

Is it enough to remove the created rule groups, or will that make things worse?

Thank you very much for your help in advance.

Regards

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,645 questions
{count} votes

Accepted answer
  1. Ashok Gandhi Kotnana 10,115 Reputation points Microsoft External Staff Moderator
    2024-11-18T15:45:58.21+00:00

    Hi @Zeinab Khosravi

    Yes, it worked for me. To disable the visualizations by deleting specific rules in the rule group, you won't find these options directly in the Azure portal to delete it. Please use the following PowerShell commands to remove these rule groups

    1. Yes, it worked for me. To disable the visualizations by deleting specific rules in the rule group, you won't find these options directly in the Azure portal to delete it. Please use the following PowerShell commands to remove these rule groups

    We need to delete the below two rules from the rule group UXRecordingRulesRuleGroup UXRecordingRulesRuleGroup-Win

    
    $resourceGroup = "ashok-1"
    $aksClusterName = "test"
    Remove-AzPrometheusRuleGroup -ResourceGroupName $resourceGroup -RuleGroupName "UXRecordingRulesRuleGroup-Win"
    Remove-AzPrometheusRuleGroup -ResourceGroupName $resourceGroup -RuleGroupName "UXRecordingRulesRuleGroup"
    

    **After Deleting the Rule group Back to normal the Visualization board
    **
    User's image

    Please let us know if you have any further queries. I’m happy to assist you further.     User's image

    Please do not forget to "Accept the answer” wherever the information provided helps you, this can be beneficial to other community members.


1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.