Skip to content

Commit 872d67c

Browse files
authored
Merge pull request #279819 from cdpark/horz-monitor-streamanalytics
Q&M: Curate 27 SOX Azure Monitor horizontals articles to reduce duplication - Stream Analytics
2 parents c68d11a + 32325d7 commit 872d67c

22 files changed

+75
-161
lines changed

.openpublishing.redirection.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3702,6 +3702,16 @@
37023702
"redirect_url": "/sql/sql-server/stretch-database/stretch-database-databases-and-tables-stretch-database-advisor",
37033703
"redirect_document_id": false
37043704
},
3705+
{
3706+
"source_path_from_root": "/articles/stream-analytics/stream-analytics-job-metrics.md",
3707+
"redirect_url": "/azure/stream-analytics/monitor-azure-stream-analytics-reference#metrics",
3708+
"redirect_document_id": false
3709+
},
3710+
{
3711+
"source_path_from_root": "/articles/stream-analytics/stream-analytics-job-metrics-dimensions.md",
3712+
"redirect_url": "/azure/stream-analytics/monitor-azure-stream-analytics-reference#metric-dimensions",
3713+
"redirect_document_id": false
3714+
},
37053715
{
37063716
"source_path_from_root": "/articles/dms/tutorial-azure-postgresql-to-azure-postgresql-online-portal.md",
37073717
"redirect_url": "/azure/postgresql/migrate/migration-service/tutorial-migration-service-single-to-flexible",

articles/stream-analytics/TOC.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,6 @@
8585
href: ./security-controls-policy.md
8686
- name: Security baseline
8787
href: /security/benchmark/azure/baselines/stream-analytics-security-baseline?toc=/azure/stream-analytics/TOC.json
88-
- name: Metrics for job monitoring
89-
items:
90-
- name: Stream Analytics metrics
91-
href: stream-analytics-job-metrics.md
92-
- name: Stream Analytics metrics dimensions
93-
href: stream-analytics-job-metrics-dimensions.md
9488
- name: Integrate with Schema Registry
9589
href: stream-analytics-schema-registry-integration.md
9690
- name: Input types for a job
@@ -323,7 +317,7 @@
323317
href: geospatial-scenarios.md
324318
- name: Monitor
325319
items:
326-
- name: Monitor Azure Stream Analytics
320+
- name: Monitor Stream Analytics
327321
href: monitor-azure-stream-analytics.md
328322
- name: Monitoring data reference
329323
href: monitor-azure-stream-analytics-reference.md

articles/stream-analytics/cicd-autoscale.md

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -87,27 +87,9 @@ If you have a working Stream Analytics project on the local machine, follow thes
8787
8888
![Screenshot that shows autoscale files generated after configuration of autoscale.](./media/cicd-autoscale/configure-autoscale.png)
8989
90-
Here's the list of metrics that you can use to define autoscale rules:
91-
92-
|Metric | Description |
93-
|------------------------------|-------------------|
94-
|`ProcessCPUUsagePercentage` | CPU utilization percentage |
95-
|`ResourceUtilization` | SU or memory utilization percentage |
96-
|`OutputWatermarkDelaySeconds` | Watermark delay |
97-
|`InputEventsSourcesBacklogged` | Backlogged input events |
98-
|`DroppedOrAdjustedEvents` | Out-of-order events |
99-
|`Errors` | Runtime errors |
100-
|`InputEventBytes` | Input event bytes |
101-
|`LateInputEvents` | Late input events |
102-
|`InputEvents` | Input events |
103-
|`EarlyInputEvents` | Early input events |
104-
|`InputEventsSourcesPerSecond` | Input sources received |
105-
|`OutputEvents` | Output events |
106-
|`AMLCalloutRequests` | Function requests |
107-
|`AMLCalloutFailedRequests` | Failed function requests |
108-
|`AMLCalloutInputEvents` | Function events |
109-
|`ConversionErrors` | Data conversion errors |
110-
|`DeserializationError` | Input deserialization error |
90+
The following table lists the metrics that you can use to define autoscale rules:
91+
92+
[!INCLUDE [microsoft-streamanalytics-streamingjobs-metrics-include](~/reusable-content/ce-skilling/azure/includes/azure-monitor/reference/metrics/microsoft-streamanalytics-streamingjobs-metrics-include.md)]
11193
11294
The default value for all metric thresholds is `70`. If you want to set the metric threshold to another number, open the *\*.AutoscaleSettingTemplate.parameters.json* file and change the `Threshold` value.
11395

articles/stream-analytics/data-errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This article outlines the different error types, causes, and resource log detail
1616

1717
## Resource Logs schema
1818

19-
See [Troubleshoot Azure Stream Analytics by using diagnostics logs](stream-analytics-job-diagnostic-logs.md#resource-logs-schema) to see the schema for resource logs. The following JSON is an example value for the **Properties** field of a resource log for a data error.
19+
See [Troubleshoot Azure Stream Analytics by using diagnostics logs](monitor-azure-stream-analytics-reference.md#resource-logs-schema) to see the schema for resource logs. The following JSON is an example value for the **Properties** field of a resource log for a data error.
2020

2121
```json
2222
{

articles/stream-analytics/debug-locally-using-job-diagram-vs-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ In this section, you explore the metrics available for each part of the diagram.
5151
> [!div class="mx-imgBorder"]
5252
> ![Job diagram metrics](./media/debug-locally-using-job-diagram-vs-code/job-metrics.png)
5353
54-
3. Select the name of the input data source from the dropdown to see input metrics. The input source in the screenshot below is called *quotes*. For more information about input metrics, see [Azure Stream Analytics job metrics](./stream-analytics-job-metrics.md).
54+
3. Select the name of the input data source from the dropdown to see input metrics. The input source in the screenshot below is called *quotes*. For more information about input metrics, see [Azure Stream Analytics job metrics](monitor-azure-stream-analytics-reference.md#metrics).
5555

5656
> [!div class="mx-imgBorder"]
5757
> ![Job diagram input metrics](./media/debug-locally-using-job-diagram-vs-code/input-metrics.png)
@@ -61,7 +61,7 @@ In this section, you explore the metrics available for each part of the diagram.
6161
> [!div class="mx-imgBorder"]
6262
> ![Step metrics](./media/debug-locally-using-job-diagram-vs-code/step-metrics.png)
6363
64-
5. Select an output in the diagram or from the dropdown to see output-related metrics. For more information about output metrics, see [Azure Stream Analytics job metrics](./stream-analytics-job-metrics.md). Live output sinks aren't supported.
64+
5. Select an output in the diagram or from the dropdown to see output-related metrics. For more information about output metrics, see [Azure Stream Analytics job metrics](monitor-azure-stream-analytics-reference.md#metrics). Live output sinks aren't supported.
6565

6666
> [!div class="mx-imgBorder"]
6767
> ![Output metrics](./media/debug-locally-using-job-diagram-vs-code/output-metrics.png)

articles/stream-analytics/event-ordering.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,5 @@ When a partition doesn't have any data for more than the configured late arrival
7676

7777
## Next steps
7878
* [Time handling considerations](stream-analytics-time-handling.md)
79-
* [Azure Stream Analytics job metrics](./stream-analytics-job-metrics.md)
80-
* [Azure Stream Analytics metrics dimensions](./stream-analytics-job-metrics-dimensions.md)
79+
* [Azure Stream Analytics job metrics](monitor-azure-stream-analytics-reference.md#metrics)
80+
* [Azure Stream Analytics metrics dimensions](monitor-azure-stream-analytics-reference.md#metric-dimensions)

articles/stream-analytics/includes/metrics-dimensions.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ ms.custom: "include file"
1212

1313

1414

15-
Stream Analytics has [many metrics](../stream-analytics-job-metrics.md) available to monitor a job's health. To troubleshoot performance problems with your job, you can split and filter metrics by using the following dimensions.
16-
1715
| Dimension | Definition |
1816
| ---------------------- | ---------------------------------------- |
1917
| **Logical Name** | The input or output name for a Stream Analytics job. |

articles/stream-analytics/index.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@ landingContent:
8686
url: stream-analytics-troubleshoot-output.md
8787
- title: Monitor and troubleshoot your job
8888
linkLists:
89-
- linkListType: concept
90-
links:
91-
- text: Stream Analytics job metrics
92-
url: stream-analytics-job-metrics.md
93-
- text: Stream Analytics dimensions for job metrics
94-
url: stream-analytics-job-metrics-dimensions.md
9589
- linkListType: how-to-guide
9690
links:
9791
- text: Monitor and manage jobs using Azure portal

articles/stream-analytics/job-diagram-with-metrics.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The job diagram in the Azure portal can help you visualize your job's query step
1515

1616
There are two types of job diagrams:
1717

18-
* **Physical diagram**: it visualizes the key metrics of Stream Analytics job with the physical computation concept: streaming node dimension. A streaming node represents a set of compute resources that's used to process job's input data. To learn more details about the streaming node dimension, see [Azure Stream Analytics node name dimension](./stream-analytics-job-metrics-dimensions.md#node-name-dimension).
18+
* **Physical diagram**: it visualizes the key metrics of Stream Analytics job with the physical computation concept: streaming node dimension. A streaming node represents a set of compute resources that's used to process job's input data. To learn more details about the streaming node dimension, see [Azure Stream Analytics node name dimension](monitor-azure-stream-analytics-reference.md#node-name-dimension).
1919

2020
Inside each streaming node, there are Stream Analytics processors available for processing the stream data. Each processor represents one or more steps in your query. You can visualize the processor topology in each streaming node by using the **processor diagram** in physical job diagram.
2121

@@ -59,7 +59,7 @@ The following screenshot shows a physical job diagram with a default time period
5959
* **Watermark Delay** (Aggregation type: Max)
6060
* **Backlogged Input Events** (Aggregation type: SUM)
6161

62-
For more information about the metrics definition, see [Azure Stream Analytics node name dimension](./stream-analytics-job-metrics-dimensions.md#node-name-dimension).
62+
For more information about the metrics definition, see [Azure Stream Analytics node name dimension](monitor-azure-stream-analytics-reference.md#node-name-dimension).
6363
1. **Chart section**: it's the place where you can view the historical metrics data within the selected time range. The default metrics shown in the default chart are **SU (Memory) % Utilization** and **CPU % Utilization**". You can also add more charts by clicking **Add chart**.
6464

6565
The **Diagram/Table section** and **Chart section** can be interactive with each other. You can select multiple nodes in **Diagram/Table section** to get the metrics in **Chart section** filtered by the selected nodes and vice versa.
@@ -109,7 +109,7 @@ The logical job diagram has a similar layout to the physical diagram, with three
109109
:::image type="content" source="./media/job-diagram-with-metrics/3-logical-diagram-overview.png" alt-text="Screenshot that shows logical job diagram sections." lightbox="./media/job-diagram-with-metrics/3-logical-diagram-overview.png":::
110110

111111
1. **Command bar section**: in logical diagram, you can operate the cloud job (Stop, Delete), and configure the time range of the job metrics. The diagram view is only available for logical diagrams.
112-
2. **Diagram section**: the node box in this selection represents the job's input, output, and query steps. You can view the metrics in the node directly or in the chart section interactively by clicking certain node in this section. For more information about the metrics definition, see [Azure Stream Analytics node name dimension](./stream-analytics-job-metrics-dimensions.md#node-name-dimension).
112+
2. **Diagram section**: the node box in this selection represents the job's input, output, and query steps. You can view the metrics in the node directly or in the chart section interactively by clicking certain node in this section. For more information about the metrics definition, see [Azure Stream Analytics node name dimension](monitor-azure-stream-analytics-reference.md#node-name-dimension).
113113
3. **Chart section**: the chart section in a logical diagram has two tabs: **Metrics** and **Activity Logs**.
114114
* **Metrics**: job's metrics data is shown here when the corresponding metrics are selected in the right panel.
115115
* **Activity Logs**: job's operations performed on jobs is shown here. When the job's diagnostic log is enabled, it's also shown here. To learn more about the job logs, see [Azure Stream Analytics job logs](./stream-analytics-job-diagnostic-logs.md).
@@ -126,7 +126,7 @@ To learn more about how to debug with logical diagrams, see [Debugging with the
126126
## Next steps
127127
* [Introduction to Stream Analytics](stream-analytics-introduction.md)
128128
* [Get started with Stream Analytics](stream-analytics-real-time-fraud-detection.md)
129-
* [Azure Stream Analytics job metrics](./stream-analytics-job-metrics.md)
129+
* [Azure Stream Analytics job metrics](monitor-azure-stream-analytics-reference.md#metrics)
130130
* [Scale Stream Analytics jobs](stream-analytics-scale-jobs.md)
131131
* [Stream Analytics query language reference](/stream-analytics-query/stream-analytics-query-language-reference)
132132
* [Stream Analytics management REST API reference](/rest/api/streamanalytics/)

articles/stream-analytics/job-states.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ A Stream Analytics job could be in one of four states at any given time: running
1515

1616
| State | Description | Recommended actions |
1717
| --- | --- | --- |
18-
| **Running** | Your job is running on Azure reading events coming from the defined input sources, processing them and writing the results to the configured output sinks. | It's a best practice to track your job’s performance by monitoring [key metrics](./stream-analytics-job-metrics.md#scenarios-to-monitor). |
18+
| **Running** | Your job is running on Azure reading events coming from the defined input sources, processing them and writing the results to the configured output sinks. | It's a best practice to track your job’s performance by monitoring [key metrics](monitor-azure-stream-analytics.md#azure-stream-analytics-metrics). |
1919
| **Stopped** | Your job is stopped and doesn't process events. | NA |
20-
| **Degraded** | There might be intermittent issues with your input and output connections. These errors are called transient errors that might make your job enter a Degraded state. Stream Analytics will immediately try to recover from such errors and return to a Running state (within few minutes). These errors could happen due to network issues, availability of other Azure resources, deserialization errors etc. Your job’s performance may be impacted when job is in degraded state.| You can look at the [diagnostic or activity logs](./stream-analytics-job-diagnostic-logs.md#debugging-using-activity-logs) to learn more about the cause of these transient errors. In cases such as deserialization errors, it's recommended to take corrective action to ensure events aren't malformed. If the job keeps reaching the resource utilization limit, try to increase the SU number or [parallelize your job](./stream-analytics-parallelization.md). In other cases where you can't take any action, Stream Analytics will try to recover to a *Running* state. <br> You can use [watermark delay](./stream-analytics-job-metrics.md#scenarios-to-monitor) metric to understand if these transient errors are impacting your job's performance.|
20+
| **Degraded** | There might be intermittent issues with your input and output connections. These errors are called transient errors that might make your job enter a Degraded state. Stream Analytics will immediately try to recover from such errors and return to a Running state (within few minutes). These errors could happen due to network issues, availability of other Azure resources, deserialization errors etc. Your job’s performance may be impacted when job is in degraded state.| You can look at the [diagnostic or activity logs](./stream-analytics-job-diagnostic-logs.md#debugging-using-activity-logs) to learn more about the cause of these transient errors. In cases such as deserialization errors, it's recommended to take corrective action to ensure events aren't malformed. If the job keeps reaching the resource utilization limit, try to increase the SU number or [parallelize your job](./stream-analytics-parallelization.md). In other cases where you can't take any action, Stream Analytics will try to recover to a *Running* state. <br> You can use [watermark delay](monitor-azure-stream-analytics.md#azure-stream-analytics-metrics) metric to understand if these transient errors are impacting your job's performance.|
2121
| **Failed** | Your job encountered a critical error resulting in a failed state. Events aren't read and processed. Runtime errors are a common cause for jobs ending up in a failed state. | You can [configure alerts](./stream-analytics-set-up-alerts.md#set-up-alerts-in-the-azure-portal) so that you get notified when job goes to Failed state. <br> <br>You can debug using [activity and resource logs](./stream-analytics-job-diagnostic-logs.md#debugging-using-activity-logs) to identify root cause and address the issue.|
2222

2323
## Next steps
24-
* [Azure Stream Analytics job metrics](./stream-analytics-job-metrics.md)
25-
* [Azure Stream Analytics metrics dimensions](./stream-analytics-job-metrics-dimensions.md)
24+
* [Azure Stream Analytics job metrics](monitor-azure-stream-analytics-reference.md#metrics)
25+
* [Azure Stream Analytics metrics dimensions](monitor-azure-stream-analytics-reference.md#metric-dimensions)
2626
* [Troubleshoot using activity and resource logs](./stream-analytics-job-diagnostic-logs.md)

0 commit comments

Comments
 (0)