Skip to content

Commit

Permalink
feat: Add recommendation for Managed Grafana (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
tksh164 authored Oct 10, 2024
1 parent 31b7f11 commit 685aa53
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
5 changes: 5 additions & 0 deletions azure-resources/Dashboard/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Dashboard
geekdocCollapseSection: true
geekdocHidden: false
---
7 changes: 7 additions & 0 deletions azure-resources/Dashboard/grafana/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: grafana
geekdocCollapseSection: true
geekdocHidden: false
---

{{< azure-resources-recommendationlist name="azure-resources-recommendationlist" >}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Azure Resource Graph Query
// Provides a list of Azure Managed Grafana resources that do not zone redundancy enabled.
resources
| where type =~ "Microsoft.Dashboard/grafana"
| extend zoneRedundancy = properties.zoneRedundancy
| where zoneRedundancy !~ "Enabled"
| project
recommendationId = "6cd57b65-ef84-4088-9ada-c0d8de74c2f7",
name,
id,
tags,
param1 = strcat("location: ", location),
param2 = strcat("sku: ", sku.name),
param3 = strcat("zoneRedundancy: ", zoneRedundancy)
19 changes: 19 additions & 0 deletions azure-resources/Dashboard/grafana/recommendations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
- description: Enable zone redundancy in Managed Grafana
aprlGuid: 6cd57b65-ef84-4088-9ada-c0d8de74c2f7
recommendationTypeId: null
recommendationControl: High Availability
recommendationImpact: Medium
recommendationResourceType: Microsoft.Dashboard/grafana
recommendationMetadataState: Active
longDescription: |
Managed Grafana Standard tier is hosted on a dedicated set of VMs to provide redundancy. With zone redundancy enabled, VMs are spread across availability zones (AZ). Related resources are also configured for AZ. Zone redundancy can only be enabled when creating the Azure Managed Grafana instance.
potentialBenefits: Enhanced Managed Grafana resilience to failures
pgVerified: false
publishedToLearn: false
automationAvailable: true
tags: null
learnMoreLink:
- name: Azure Managed Grafana service reliability
url: "https://learn.microsoft.com/azure/managed-grafana/high-availability"
- name: Enable zone redundancy in Azure Managed Grafana
url: "https://learn.microsoft.com/Azure/managed-grafana/how-to-enable-zone-redundancy"

0 comments on commit 685aa53

Please sign in to comment.