Skip to content

Commit 008d5e9

Browse files
committed
fix typo
1 parent 7058e36 commit 008d5e9

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

articles/container-apps/java-metrics-with-grafana.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ Use the following steps to define environment variables and ensure your Azure Ma
3636
1. Create variables to support your grafana configuration.
3737
```bash
3838
export LOCATION=eastus
39-
export SUBSCRIPTION_ID={my-subscriprion-id}
40-
export RESOURCE_GROUP=my-grafana-resource-group
41-
export GRAFANA_INSTANCE_NAME=my-grafana-name
39+
export SUBSCRIPTION_ID={subscriprion-id}
40+
export RESOURCE_GROUP=grafana-resource-group
41+
export GRAFANA_INSTANCE_NAME=grafana-name
4242
```
4343

4444
| Variable | Description |
4545
|-------------------------|------------------------------------------------------------------------------------|
4646
| `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. |
4848
| `RESOURCE_GROUP` | The Azure resource group name for your Azure Managed Grafana instance. |
4949
| `GRAFANA_INSTANCE_NAME` | The instance name for your Azure Managed Grafana instance. |
5050

@@ -61,7 +61,7 @@ Use the following steps to define environment variables and ensure your Azure Ma
6161
az group create --name $RESOURCE_GROUP --location $LOCATION
6262
```
6363

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

6666
```azurecli
6767
az extension add --name amg --upgrade
@@ -81,23 +81,23 @@ First, create an Azure Managed Grafana instance, and grant necessary role assign
8181
--location $LOCATION
8282
```
8383

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).
8585

8686
```azurecli
8787
GRAFA_IDDENTITY=$(az grafana show --name $GRAFANA_INSTANCE_NAME --resource-group $RESOURCE_GROUP --query "identity.principalId" --output tsv)
8888
8989
az role assignment create --assignee $GRAFA_IDDENTITY --role "Monitoring Reader" --scope /subscriptions/$SUBSCRIPTION_ID
9090
```
9191

92-
## Create an Java metrics dashboard
92+
## Create a Java metrics dashboard
9393

9494
> [!IMPORTANT]
9595
> 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).
9696
9797

9898
1. Assign the `Grafana Admin` role to your account on the Azure Managed Grafana resource.
9999

100-
Get the resource ID for your Azure Managed Grafana instance
100+
Get the resource ID for your Azure Managed Grafana instance.
101101
```azurecli
102102
GRAFANA_RESOURCE_ID=$(az grafana show --resource-group $RESOURCE_GROUP --name $GRAFANA_INSTANCE_NAME --query id --output tsv)
103103
```
@@ -131,11 +131,11 @@ First, create an Azure Managed Grafana instance, and grant necessary role assign
131131
## Visiualize Java metrics for Azure Container Apps with Grafana
132132

133133
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
134-
- Container App Overview Container App Overview
135-
- JVM Memory Usage JVM Memory Usage
136-
- JVM Memory Buffer JVM Memory Buffer
134+
- Container App Overview
135+
- JVM Memory Usage
136+
- JVM Memory Buffer
137137
- JVM GC JVM GC
138-
- A detailed JVM Memory Usage Analysis detailed JVM Memory Usage Analysis
138+
- A detailed JVM Memory Usage Analysis
139139

140140
:::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":::
141141

0 commit comments

Comments
 (0)