Skip to content

Commit 5533b6f

Browse files
authored
Merge pull request #269568 from v-thepet/stream-monitor
Azure Monitor horizontals - Stream Analytics
2 parents 1c12250 + fa56b44 commit 5533b6f

4 files changed

Lines changed: 100 additions & 119 deletions

File tree

articles/stream-analytics/TOC.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,6 @@
235235
href: geo-redundancy.md
236236
- name: Encrypt your data (CMK)
237237
href: data-protection.md
238-
- name: Configure alerts
239-
href: stream-analytics-set-up-alerts.md
240238
- name: Manage Stream Analytics clusters
241239
items:
242240
- name: Create and delete private endpoints
@@ -335,6 +333,10 @@
335333
href: stream-analytics-monitor-and-manage-jobs-use-powershell.md
336334
- name: Monitor jobs - Azure .NET SDK
337335
href: stream-analytics-monitor-jobs.md
336+
- name: Configure alerts
337+
href: stream-analytics-set-up-alerts.md
338+
- name: Use activity and resource logs
339+
href: stream-analytics-job-diagnostic-logs.md
338340
- name: Optimize jobs
339341
items:
340342
- name: Job simulation
@@ -419,8 +421,6 @@
419421
href: stream-analytics-troubleshoot-query.md
420422
- name: Watermark delay increase
421423
href: stream-analytics-job-analysis-with-metric-dimensions.md
422-
- name: Activity and resource logs
423-
href: stream-analytics-job-diagnostic-logs.md
424424
- name: Data errors
425425
href: data-errors.md
426426
- name: Error codes

articles/stream-analytics/includes/resource-logs-schema.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: include file
44
author: spelluru
55
ms.service: stream-analytics
66
ms.topic: include
7-
ms.date: 07/10/2023
7+
ms.date: 03/20/2024
88
ms.author: spelluru
99
ms.custom: "include file"
1010

@@ -27,7 +27,7 @@ properties | Log entry-specific detail, serialized as a JSON string. For more in
2727

2828
Execution logs have information about events that happened during Stream Analytics job execution. The schema of properties varies depending on whether the event is a data error or a generic event.
2929

30-
### Data errors
30+
#### Data errors
3131

3232
Any error that occurs while the job is processing data is in this category of logs. These logs most often are created during data read, serialization, and write operations. These logs don't include connectivity errors. Connectivity errors are treated as generic events. You can learn more about the cause of various different [input and output data errors](../data-errors.md).
3333

@@ -48,7 +48,7 @@ Depending on the **operationName** value, data errors have the following schema:
4848

4949
* **Send events** occur during write operations. They identify the streaming event that caused the error.
5050

51-
### Generic events
51+
#### Generic events
5252

5353
Generic events cover everything else.
5454

@@ -59,8 +59,5 @@ Message| Log message.
5959
Type | Type of message. Maps to internal categorization of errors. For example, **JobValidationError** or **BlobOutputAdapterInitializationFailure**.
6060
Correlation ID | GUID that uniquely identifies the job execution. All execution log entries from the time the job starts until the job stops have the same **Correlation ID** value.
6161

62-
For reference, see a list of [all resource logs category types supported in Azure Monitor](/azure/azure-monitor/platform/resource-logs-schema). Select the link in the following table to see all the resource log category types collected for Azure Stream Analytics.
62+
For reference, see a list of [all resource logs category types supported in Azure Monitor](/azure/azure-monitor/platform/resource-logs-schema) or [all the resource log category types collected for Azure Stream Analytics](../monitor-azure-stream-analytics-reference.md#resource-logs).
6363

64-
|Resource Log Type | Resource Provider / Type Namespace<br/> and link to individual metrics |
65-
|-------|-----|
66-
| Stream Analytics streaming jobs | [Microsoft.StreamAnalytics/streamingjobs](/azure/azure-monitor/platform/resource-logs-categories#microsoftstreamanalyticsstreamingjobs) |
Lines changed: 40 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,63 @@
11
---
2-
title: Monitoring Azure Stream Analytics data reference
3-
description: Important reference material needed when you monitor Azure Stream Analytics
4-
author: xujxu
5-
ms.author: xujiang1
2+
title: Monitoring data reference for Azure Stream Analytics
3+
description: This article contains important reference material you need when you monitor Azure Stream Analytics.
4+
ms.date: 03/21/2024
5+
ms.custom: horz-monitor
6+
ms.topic: reference
7+
author: spelluru
8+
ms.author: spelluru
69
ms.service: stream-analytics
7-
ms.topic: how-to
8-
ms.date: 07/10/2023
910
---
1011

11-
# Monitoring Azure Stream Analytics data reference
12-
This article provides a reference of log and metric data collected to analyze the performance and availability of Azure Stream Analytics jobs. See [Monitoring Azure Stream Analytics](monitor-azure-stream-analytics.md) for details on collecting and analyzing monitoring data for Azure Stream Analytics.
12+
# Azure Stream Analytics monitoring data reference
1313

14-
## Metrics
14+
[!INCLUDE [horz-monitor-ref-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-intro.md)]
1515

16-
This section lists all the automatically collected platform metrics collected for Azure Stream Analytics.
16+
See [Monitor Azure Stream Analytics](monitor-azure-stream-analytics.md) for details on the data you can collect for Azure Stream Analytics and how to use it.
1717

18-
|Metric Type | Resource Provider / Type Namespace<br/> and link to individual metrics |
19-
|-------|-----|
20-
| Stream Analytics streaming jobs | [Microsoft.StreamAnalytics/streamingjobs](/azure/azure-monitor/platform/metrics-supported#microsoftstreamanalyticsstreamingjobs) |
18+
[!INCLUDE [horz-monitor-ref-metrics-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-intro.md)]
2119

22-
[!INCLUDE [metrics](./includes/metrics.md)]
23-
24-
### Scenarios to monitor metrics
20+
### Supported metrics for Microsoft.StreamAnalytics/streamingjobs
21+
The following table lists the metrics available for the Microsoft.StreamAnalytics/streamingjobs resource type.
22+
[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)]
23+
[!INCLUDE [Microsoft.StreamAnalytics/streamingjobs](~/azure-reference-other-repo/azure-monitor-ref/supported-metrics/includes/microsoft-streamanalytics-streamingjobs-metrics-include.md)]
2524

26-
[!INCLUDE [metrics-scenarios](./includes/metrics-scenarios.md)]
25+
### Metrics descriptions
2726

28-
## Metric dimensions
29-
30-
[!INCLUDE [metrics-dimensions](./includes/metrics-dimensions.md)]
27+
[!INCLUDE [metrics](./includes/metrics.md)]
3128

32-
### Logical Name dimension
33-
[!INCLUDE [metrics-dimension-logical-name](./includes/metrics-dimension-logical-name.md)]
29+
[!INCLUDE [horz-monitor-ref-metrics-dimensions-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-dimensions-intro.md)]
3430

35-
### Node Name dimension
36-
[!INCLUDE [metrics-dimension-node-name](./includes/metrics-dimension-node-name.md)]
31+
[!INCLUDE [horz-monitor-ref-metrics-dimensions](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-dimensions.md)]
3732

38-
### Partition ID dimension
39-
[!INCLUDE [metrics-dimension-partition-id](./includes/metrics-dimension-partition-id.md)]
33+
- **Logical Name**: The input or output name for an Azure Stream Analytics job.
34+
- **Partition ID**: The ID of the input data partition from an input source.
35+
- **Node Name**: The identifier of a streaming node that's provisioned when a job runs.
4036

41-
## Resource logs
37+
For detailed information, see [Dimensions for Azure Stream Analytics metrics](stream-analytics-job-metrics-dimensions.md).
4238

43-
[!INCLUDE [resource-logs](./includes/resource-logs.md)]
39+
[!INCLUDE [horz-monitor-ref-resource-logs](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-resource-logs.md)]
4440

45-
### Resource logs schema
41+
### Supported resource logs for Microsoft.StreamAnalytics/streamingjobs
42+
[!INCLUDE [Microsoft.StreamAnalytics/streamingjobs](~/azure-reference-other-repo/azure-monitor-ref/supported-logs/includes/microsoft-streamanalytics-streamingjobs-logs-include.md)]
4643

47-
[!INCLUDE [resource-logs-schema](./includes/resource-logs-schema.md)]
44+
For the resource logs schema and properties for data errors and events, see [Resource logs schema](stream-analytics-job-diagnostic-logs.md#resource-logs-schema).
4845

46+
[!INCLUDE [horz-monitor-ref-logs-tables](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-logs-tables.md)]
4947

50-
## Activity log
51-
The following table lists the operations that Azure Stream Analytics may record in the Activity log. This set of operations is a subset of the possible entries you might find in the activity log.
48+
### Stream Analytics jobs
49+
microsoft.streamanalytics/streamingjobs
5250

53-
| Namespace | Description |
54-
|:----------|:------------|
55-
| [Microsoft.StreamAnalytics](/azure/role-based-access-control/resource-provider-operations#microsoftstreamanalytics) | The operations that can be created in the Activity log for the Azure Data Share service. |
51+
- [AzureActivity](/azure/azure-monitor/reference/tables/AzureActivity#columns)
52+
- [AzureMetrics](/azure/azure-monitor/reference/tables/AzureMetrics#columns)
53+
- [AzureDiagnostics](/azure/azure-monitor/reference/tables/AzureDiagnostics#columns)
5654

57-
See [all the possible resource provider operations in the activity log](/azure/role-based-access-control/resource-provider-operations). For more information on the schema of Activity Log entries, see [Activity Log schema](/azure/azure-monitor/essentials/activity-log-schema).
55+
[!INCLUDE [horz-monitor-ref-activity-log](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-activity-log.md)]
56+
- [Microsoft.StreamAnalytics resource provider operations](/azure/role-based-access-control/permissions/internet-of-things#microsoftstreamanalytics)
5857

58+
## Related content
5959

60-
## Next steps
61-
* [Introduction to Azure Stream Analytics](stream-analytics-introduction.md)
62-
* [Dimensions for Azure Stream Analytics metrics](./stream-analytics-job-metrics-dimensions.md)
63-
* [Understand and adjust streaming units](./stream-analytics-streaming-unit-consumption.md)
64-
* [Analyze Stream Analytics job performance by using metrics and dimensions](./stream-analytics-job-analysis-with-metric-dimensions.md)
65-
* [Monitor a Stream Analytics job with the Azure portal](./stream-analytics-monitoring.md)
66-
* [Get started with Azure Stream Analytics](stream-analytics-real-time-fraud-detection.md)
60+
- [Monitor Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource)
61+
- [Monitor Azure Stream Analytics](monitor-azure-stream-analytics.md)
62+
- [Dimensions for Azure Stream Analytics metrics](stream-analytics-job-metrics-dimensions.md)
63+
- [Understand and adjust streaming units](stream-analytics-streaming-unit-consumption.md)

0 commit comments

Comments
 (0)