Skip to content

Commit 64a21f6

Browse files
authored
Merge pull request #97514 from BobbySchmidt2/spring-cloud
Edit pass: Spring cloud
2 parents 0e46e7b + 45d0781 commit 64a21f6

8 files changed

+253
-221
lines changed
Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Understanding metrics for Azure Spring Cloud
3-
description: Learn how to review metrics in the Azure Spring Cloud
3+
description: Learn how to review metrics in Azure Spring Cloud
44
author: jpconnock
55
ms.service: spring-cloud
66
ms.topic: conceptual
@@ -9,46 +9,47 @@ ms.author: jeconnoc
99

1010
---
1111

12-
# Metrics for Azure Spring Cloud
12+
# Understand metrics for Azure Spring Cloud
1313

14-
Azure Monitor Metrics explorer is a component of the Microsoft Azure portal that allows plotting charts, visually correlating trends, and investigating spikes and dips in metrics. Use the metrics explorer to investigate the health and utilization of your resources. In Azure Spring Cloud, we offer two options for viewing metrics: charts in the **Application Overview** page and the service level Metrics page.
14+
Azure Monitor metrics explorer is a component of the Azure portal. It features chart plots, visually correlated trends, and investigation of spikes and dips in metrics. Use the metrics explorer to investigate the health and utilization of your resources. Azure Spring Cloud offers two options for viewing metrics: charts on the **Application Overview** page and the service-level **Metrics** page.
1515

1616
## Application Overview page
1717

18-
Each application's **Application Overview** page presents a metrics chart that allows you to perform a quick status check of your application. Go to your Azure Spring Cloud service page and select **Application Dashboard**, then select an application from the list.
18+
Each application's **Application Overview** page presents a metrics chart. With that chart, you can quickly check an application's status. To see the metrics chart, go to your Azure Spring Cloud service page, select **Application Dashboard**, then select an application from the list.
1919

20-
We provide 5 charts with metrics updated every minute for the following:
20+
Azure Spring Cloud provides these five charts with metrics that are updated every minute:
2121

22-
* **Http Server Errors**: Error count for HTTP requests to your app.
23-
* **Data In**: Bytes received by your app.
24-
* **Data Out**: Bytes sent to your app.
25-
* **Requests**: Requests received by your app.
26-
* **Average Response Time**: Average response time from your app.
22+
* **Http Server Errors**: Error count for HTTP requests to your app
23+
* **Data In**: Bytes received by your app
24+
* **Data Out**: Bytes sent by your app
25+
* **Requests**: Requests received by your app
26+
* **Average Response Time**: Average response time from your app
2727

28-
You can select a time range for the chart between 1 hour up to 7 Days.
28+
For the chart, you can select a time range from one hour to seven days.
2929

3030
## Service-level metric queries
3131

32-
Azure Spring Cloud allows you to monitor a variety of application metrics. Review the [guide to getting started](https://docs.microsoft.com/azure/azure-monitor/platform/metrics-getting-started) with Azure Monitor Metrics to learn more about this service.
32+
With Azure Spring Cloud, you can monitor different kinds of application metrics. Review the [guide to getting started](https://docs.microsoft.com/azure/azure-monitor/platform/metrics-getting-started) with Azure Monitor metrics to learn more about this service.
3333

34-
To review metric data, you will select your metric, your **Aggregation**, and your time range. These concepts are explained below.
34+
To review metric data, select your metric, your **Aggregation** value, and your time range. These concepts are explained in the following sections.
3535

36-
### Aggregation
36+
### Aggregation
3737

3838
Azure polls and updates metrics every minute. Azure provides three ways to aggregate data for a chosen time period:
3939

4040
* **Total**: Sum all metrics as target output.
41-
* **Average**: Use the Average value in the period as target output.
42-
* **Max/Min**: Use the Max/Min value in the period as target output.
41+
* **Average**: Use the average value of the period as target output.
42+
* **Max/Min**: Use the maximum and minimum values of the period as target output.
4343

4444
### Time range
4545

46-
Select a default time range or define your own.
46+
Either select a default time range or define your own.
4747

4848
### Modifying the granularity of your metric query
4949

50-
By default, Azure aggregates metrics for all of an Azure Spring Cloud service's applications. To review metrics at the application or instance level, use the filter function.
51-
Select **Add filter**, set the property to **App** and select the target application you want to monitor. Optionally, use the **Apply splitting** option to draw separate lines for each app in the chart.
50+
By default, Azure aggregates metrics for all applications of an Azure Spring Cloud service. To review metrics at the application or instance level, use the filter function.
51+
52+
To use this function, select **Add filter**, set the property to **App**, and select the target application you want to monitor. Optionally, use the **Apply splitting** option to draw separate lines in the chart for each app.
5253

5354
>[!TIP]
54-
> You can build your own charts in metrics page and pin them to your **Dashboard**. Start by naming your chart. Next, select **Pin to dashboard in the top right corner**. You can now check on your application at your Portal **Dashboard**.
55+
> You can build your own charts on the metrics page and pin them to your dashboard. Start by naming your chart. Next, select **Pin to dashboard** in the upper-right corner. You can now check your application on your dashboard.

articles/spring-cloud/spring-cloud-howto-persistent-storage.md

Lines changed: 34 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -9,41 +9,43 @@ ms.author: jeconnoc
99

1010
---
1111

12-
# How to use persistent storage in Azure Spring Cloud
12+
# Use persistent storage in Azure Spring Cloud
1313

14-
Azure Spring Cloud provides two types of storage for your application: persistent and temporary. Azure Spring Cloud enables temporary storage by default for each application instance. Temporary storage is limited to 5GB with a default mount path: `/tmp`.
14+
Azure Spring Cloud provides two types of storage for your application: persistent and temporary.
15+
16+
By default, Azure Spring Cloud provides temporary storage for each application instance. Temporary storage is limited to 5 GB per instance with the default mount path /tmp.
1517

1618
> [!WARNING]
17-
> Restarting an application instance will permanently delete its associated temporary storage..
19+
> If you restart an application instance, the associated temporary storage is permanently deleted.
1820
19-
Persistent storage is a file share container managed by Azure allocated per application. Data stored in persistent storage is shared across all of the application's instances. An Azure Spring Cloud service instance can have a maximum of 10 applications with persistent disk enabled. Each application receives 50GB of persistent storage. The default mount path for persistent storage is `/persistent`.
21+
Persistent storage is a file-share container managed by Azure and allocated per application. Data stored in persistent storage is shared by all instances of an application. An Azure Spring Cloud instance can have a maximum of 10 applications with persistent storage enabled. Each application is allocated 50 GB of persistent storage. The default mount path for persistent storage is /persistent.
2022

2123
> [!WARNING]
22-
> *Disabling* persistent storage will deallocate the storage for that application. All data in that storage account will be lost.
24+
> If you disable an applications's persistent storage, all of that storage is deallocated and all of the stored data is lost.
2325
24-
## Enable persistent storage using the Azure portal
26+
## Use the Azure portal to enable persistent storage
2527

26-
1. From the Home screen of your Azure portal, select **All Resources**.
28+
1. From the **Home** page of your Azure portal, select **All Resources**.
2729

28-
>![Locate the All Resources icon](media/portal-all-resources.jpg)
30+
>![Locate the All Resources icon](media/portal-all-resources.jpg)
2931
30-
1. Find and select the Azure Spring Cloud resource that needs persistent storage. In this example, the application is called *jpspring*.
32+
1. Select the Azure Spring Cloud resource that needs persistent storage. In this example, the selected application is called **upspring**.
3133

32-
> ![Locate your applicationb](media/select-service.jpg)
34+
> ![Select your application](media/select-service.jpg)
3335
3436
1. Under the **Settings** heading, select **Apps**.
3537

36-
1. Your Spring Cloud services will appear in table. Select the service to which you want to add persistent storage. In this example, we will select our **gateway** service.
38+
1. Your Azure Spring Cloud services appear in a table. Select the service to which you want to add persistent storage. In this example, the **gateway** service is selected.
3739

3840
> ![Select your service](media/select-gateway.jpg)
3941
40-
1. From the service's configuration blade, select **Configuration**
42+
1. From the service's configuration page, select **Configuration**
4143

42-
1. Select the **Persistent Storage** tab and enable persistent storage.
44+
1. Select the **Persistent Storage** tab and select **Enable**.
4345

4446
> ![Enable persistent storage](media/enable-persistent-storage.jpg)
4547
46-
When persistent storage is enabled, its size and path are shown both on this page.
48+
After persistent storage is enabled, its size and path are shown on the configuration page.
4749

4850
## Use the Azure CLI to modify persistent storage
4951

@@ -52,28 +54,30 @@ If necessary, install the Spring Cloud extension for the Azure CLI:
5254
```azurecli
5355
az extension add --name spring-cloud
5456
```
57+
Other operations:
5558

56-
Create an app with persistent disk enabled:
57-
58-
```azurecli
59-
az spring-cloud app create -n <app> -g <resource-group> -s <service-name> --enable-persistent-storage true
60-
```
59+
* To create an app with persistent storage enabled:
6160

62-
Enable persistent storage in an existing app:
61+
```azurecli
62+
az spring-cloud app create -n <app> -g <resource-group> -s <service-name> --enable-persistent-storage true
63+
```
6364
64-
```azurecli
65-
az spring-cloud app update -n <app> -g <resource-group> -s <service-name> --enable-persistent-storage true
66-
```
65+
* To enable persistent storage for an existing app:
6766
68-
Disable persistent storage in an existing app:
67+
```azurecli
68+
az spring-cloud app update -n <app> -g <resource-group> -s <service-name> --enable-persistent-storage true
69+
```
6970
70-
> [!WARNING]
71-
> Disabling persistent storage will deallocate the storage for that application, permanently losing any data that was stored there.
71+
* To disable persistent storage in an existing app:
7272
73-
```azurecli
74-
az spring-cloud app update -n <app> -g <resource-group> -s <service-name> --enable-persistent-storage false
75-
```
73+
```azurecli
74+
az spring-cloud app update -n <app> -g <resource-group> -s <service-name> --enable-persistent-storage false
75+
```
76+
77+
> [!WARNING]
78+
> If you disable an applications's persistent storage, all of that storage is deallocated and all of the stored data is permanently lost.
7679
7780
## Next steps
7881
79-
Learn about [application and service quotas](spring-cloud-quotas.md), or learn how to [manually scale your application](spring-cloud-tutorial-scale-manual.md).
82+
* Learn about [application and service quotas](spring-cloud-quotas.md).
83+
* Learn how to [manually scale your application](spring-cloud-tutorial-scale-manual.md).
Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: How to start, stop, and delete your Azure Spring Cloud application | Microsoft Docs
2+
title: Start, stop, and delete your Azure Spring Cloud application | Microsoft Docs
33
description: How to start, stop, and delete your Azure Spring Cloud application
44
author: jpconnock
55
ms.service: spring-cloud
@@ -8,46 +8,52 @@ ms.date: 10/31/2019
88
ms.author: jeconnoc
99

1010
---
11-
# How to start, stop, and delete your Azure Spring Cloud application
11+
# Start, stop, and delete your Azure Spring Cloud application
1212

13-
This guide explains how to change the state of an application in Azure Spring Cloud using either the Azure portal or CLI.
13+
This guide explains how to change an application's state in Azure Spring Cloud by using either the Azure portal or the Azure CLI.
1414

1515
## Using the Azure portal
1616

17-
Once you have an application deployed, you can **Start**, **Stop**, and **Delete** it using the Azure portal.
17+
After you deploy an application, you can start, stop, and delete it by using the Azure portal.
1818

1919
1. Go to your Azure Spring Cloud service instance in the Azure portal.
2020
1. Select the **Application Dashboard** tab.
2121
1. Select the application whose state you want to change.
22-
2. In the **Overview** page for that application, find buttons to **Start/Stop**, **Restart**, and **Delete** the application.
22+
1. On the **Overview** page for that application, select **Start/Stop**, **Restart**, or **Delete**.
2323

2424
## Using the Azure CLI
2525

2626
> [!NOTE]
27-
> You can use optional parameters and configure defaults with the Azure CLI. Learn more about by reading our [reference documentation](spring-cloud-cli-reference.md).
27+
> You can use optional parameters and configure defaults with the Azure CLI. Learn more about the Azure CLI by reading [our reference documentation](spring-cloud-cli-reference.md).
2828
29-
Install the Spring Cloud extension for the Azure CLI:
29+
First, install the Azure Spring Cloud extension for the Azure CLI as follows:
3030

3131
```azurecli
3232
az extension add --name spring-cloud
3333
```
3434

35+
Next, select any of these Azure CLI operations:
36+
3537
* To start your application:
38+
3639
```azurecli
3740
az spring-cloud app start -n <application name> -g <resource group> -s <Azure Spring Cloud name>
3841
```
3942
4043
* To stop your application:
44+
4145
```azurecli
4246
az spring-cloud app stop -n <application name> -g <resource group> -s <Azure Spring Cloud name>
4347
```
4448
4549
* To restart your application:
50+
4651
```azurecli
4752
az spring-cloud app restart -n <application name> -g <resource group> -s <Azure Spring Cloud name>
4853
```
4954
5055
* To delete your application:
56+
5157
```azurecli
5258
az spring-cloud app delete -n <application name> -g <resource group> -s <Azure Spring Cloud name>
5359
```

0 commit comments

Comments
 (0)