You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`LOCATION`| The Azure region location where you create your Azure Managed Grafana instance. |
47
-
|`SUBSCRIPTION_ID`| The subscription ID which you use to create your Azure Container Apps. |
47
+
|`SUBSCRIPTION_ID`| The subscription ID which you use to create your Azure Container Apps and Azure Managed Grafana instance. |
48
48
|`RESOURCE_GROUP`| The Azure resource group name for your Azure Managed Grafana instance. |
49
49
|`GRAFANA_INSTANCE_NAME`| The instance name for your Azure Managed Grafana instance. |
50
50
@@ -61,7 +61,7 @@ Use the following steps to define environment variables and ensure your Azure Ma
61
61
az group create --name $RESOURCE_GROUP --location $LOCATION
62
62
```
63
63
64
-
1. Use the following command to ensure that you have the latest version of the Azure CLI extensions for Azure Managed Grafana:
64
+
1. Use the following command to ensure that you have the latest version of the Azure CLI extensions for Azure Managed Grafana.
65
65
66
66
```azurecli
67
67
az extension add --name amg --upgrade
@@ -81,23 +81,23 @@ First, create an Azure Managed Grafana instance, and grant necessary role assign
81
81
--location $LOCATION
82
82
```
83
83
84
-
1. Grant the Azure Managed Grafana instance permission to read metrics from Azure Monitor. Find more about the [authentication and permissions for Azure Managed Grafana](../managed-grafana/how-to-authentication-permissions.md).
84
+
1. Grant the Azure Managed Grafana instance "Monitoring Reader" role to read metrics from Azure Monitor. Find more about the [authentication and permissions for Azure Managed Grafana](../managed-grafana/how-to-authentication-permissions.md).
az role assignment create --assignee $GRAFA_IDDENTITY --role "Monitoring Reader" --scope /subscriptions/$SUBSCRIPTION_ID
90
90
```
91
91
92
-
## Create an Java metrics dashboard
92
+
## Create a Java metrics dashboard
93
93
94
94
> [!IMPORTANT]
95
95
> To add a new dashboard in grafana, you need to have `Grafana Admin` or `Grafana Editor`role, see [Azure Managed Grafana roles](../managed-grafana/concept-role-based-access-control.md).
96
96
97
97
98
98
1. Assign the `Grafana Admin` role to your account on the Azure Managed Grafana resource.
99
99
100
-
Get the resource ID for your Azure Managed Grafana instance
100
+
Get the resource ID for your Azure Managed Grafana instance.
101
101
```azurecli
102
102
GRAFANA_RESOURCE_ID=$(az grafana show --resource-group $RESOURCE_GROUP --name $GRAFANA_INSTANCE_NAME --query id --output tsv)
103
103
```
@@ -131,11 +131,11 @@ First, create an Azure Managed Grafana instance, and grant necessary role assign
131
131
## Visiualize Java metrics for Azure Container Apps with Grafana
132
132
133
133
1. Input your resource information in the filters for your Azure Container Apps. Now you can view all the [supported Java metrics in Azure Container Apps](java-metrics.md) within the dashboard. The sample dashboard provides live metric data, including
:::image type="content" source="media/java-metrics-with-grafana/grafana-overview.png" alt-text="Screenshot of Overview tab in grafana." lightbox="media/java-metrics-with-grafana/grafana-overview.png":::
0 commit comments