Skip to content

Commit 5adf198

Browse files
Fixes and formatting.
1 parent 0ce5ee3 commit 5adf198

File tree

4 files changed

+166
-158
lines changed

4 files changed

+166
-158
lines changed

articles/event-hubs/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@
354354
href: ../operational-excellence/relocation-event-hub-cluster.md?toc=/azure/event-hubs/TOC.json
355355
- name: Reference
356356
items:
357-
- name: Monitoring data Reference
357+
- name: Monitor data reference
358358
href: monitor-event-hubs-reference.md
359359
- name: SDKs
360360
href: sdks.md

articles/event-hubs/monitor-event-hubs-reference.md

Lines changed: 60 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@ Azure Event Hubs collects the same kinds of monitoring data as other Azure resou
4343
<!-- ## Metrics -->
4444
[!INCLUDE [horz-monitor-ref-metrics-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-intro.md)]
4545

46-
Platform metrics and the activity log are collected and stored automatically, but can be routed to other locations by using a diagnostic setting.
47-
48-
Resource Logs aren't collected and stored until you create a diagnostic setting and route them to one or more locations.
49-
50-
See [Create diagnostic setting to collect platform logs and metrics in Azure](../azure-monitor/essentials/diagnostic-settings.md) for the detailed process for creating a diagnostic setting using the Azure portal, CLI, or PowerShell. When you create a diagnostic setting, you specify which categories of logs to collect. The categories for Azure Event Hubs are listed in [Azure Event Hubs monitoring data reference](monitor-event-hubs-reference.md#resource-logs).
51-
52-
> [!NOTE]
53-
> Azure Monitor doesn't include dimensions in the exported metrics data, that's sent to a destination like Azure Storage, Azure Event Hubs, Log Analytics, etc.
54-
5546

5647
### Supported metrics for Microsoft.EventHub/clusters
5748

@@ -67,66 +58,65 @@ The following table lists the metrics available for the Microsoft.EventHub/Names
6758
[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)]
6859
[!INCLUDE [<ResourceType/namespace>](~/reusable-content/ce-skilling/azure/includes/azure-monitor/reference/metrics/microsoft-eventhub-namespaces-metrics-include.md)]
6960

70-
71-
## Metrics
7261
This section lists all the automatically collected platform metrics collected for Azure Event Hubs. The resource provider for these metrics is `Microsoft.EventHub/clusters` or `Microsoft.EventHub/namespaces`.
7362

7463
### Request metrics
64+
7565
Counts the number of data and management operations requests.
7666

77-
| Metric Name | Exportable via diagnostic settings | Unit | Aggregation type | Description | Dimensions |
78-
| ---------- | ---------- | ----- | --- | --- | --- |
79-
| Incoming Requests| Yes | Count | Count | The number of requests made to the Event Hubs service over a specified period. This metric includes all the data and management plane operations. | Entity name|
80-
| Successful Requests| No | Count | Count | The number of successful requests made to the Event Hubs service over a specified period. | Entity name<br/><br/>Operation Result |
81-
| Throttled Requests| No | Count | Count | The number of requests that were throttled because the usage was exceeded. | Entity name<br/><br/>Operation Result |
67+
| Metric name | Exportable via diagnostic settings | Unit | Aggregation type | Description | Dimensions |
68+
|:------------|:-----------|:-----|:---|:---|:---|
69+
| Incoming Requests | Yes | Count | Count | The number of requests made to the Event Hubs service over a specified period. This metric includes all the data and management plane operations. | Entity name|
70+
| Successful Requests | No | Count | Count | The number of successful requests made to the Event Hubs service over a specified period. | Entity name<br/><br/>Operation Result |
71+
| Throttled Requests | No | Count | Count | The number of requests that were throttled because the usage was exceeded. | Entity name<br/><br/>Operation Result |
8272

8373
The following two types of errors are classified as **user errors**:
8474

8575
1. Client-side errors (In HTTP that would be 400 errors).
8676
2. Errors that occur while processing messages.
8777

88-
8978
### Message metrics
90-
| Metric Name | Exportable via diagnostic settings | Unit | Aggregation type | Description | Dimensions |
91-
| ---------- | ---------- | ----- | --- | --- | --- |
92-
|Incoming Messages| Yes | Count | Count | The number of events or messages sent to Event Hubs over a specified period. | Entity name|
93-
|Outgoing Messages| Yes | Count | Count | The number of events or messages received from Event Hubs over a specified period. | Entity name |
94-
| Captured Messages| No | Count| Count | The number of captured messages. | Entity name |
95-
|Incoming Bytes | Yes | Bytes | Count | Incoming bytes for an event hub over a specified period. | Entity name|
96-
|Outgoing Bytes | Yes | Bytes | Count | Outgoing bytes for an event hub over a specified period. | Entity name |
97-
| Size | No | Bytes | Average | Size of an event hub in bytes.|Entity name |
9879

80+
| Metric name | Exportable via diagnostic settings | Unit | Aggregation type | Description | Dimensions |
81+
|:------------|:-----------|:-----|:---|:---|:---|
82+
|Incoming Messages | Yes | Count | Count | The number of events or messages sent to Event Hubs over a specified period. | Entity name |
83+
|Outgoing Messages | Yes | Count | Count | The number of events or messages received from Event Hubs over a specified period. | Entity name |
84+
| Captured Messages | No | Count | Count | The number of captured messages. | Entity name |
85+
|Incoming Bytes | Yes | Bytes | Count | Incoming bytes for an event hub over a specified period. | Entity name|
86+
|Outgoing Bytes | Yes | Bytes | Count | Outgoing bytes for an event hub over a specified period. | Entity name |
87+
| Size | No | Bytes | Average | Size of an event hub in bytes.|Entity name |
9988

10089
> [!NOTE]
10190
> - These values are point-in-time values. Incoming messages that were consumed immediately after that point-in-time may not be reflected in these metrics.
10291
> - The **Incoming requests** metric includes all the data and management plane operations. The **Incoming messages** metric gives you the total number of events that are sent to the event hub. For example, if you send a batch of 100 events to an event hub, it'll count as 1 incoming request and 100 incoming messages.
10392
10493
### Capture metrics
105-
| Metric Name | Exportable via diagnostic settings | Unit | Aggregation type | Description | Dimensions |
106-
| ------------------- | ----------------- | --- | --- | --- | --- |
107-
| Captured Messages| No | Count| Count | The number of captured messages. | Entity name |
108-
| Captured Bytes | No | Bytes | Count | Captured bytes for an event hub | Entity name |
109-
| Capture Backlog | No | Count| Count | Capture backlog for an event hub | Entity name |
11094

95+
| Metric name | Exportable via diagnostic settings | Unit | Aggregation type | Description | Dimensions |
96+
|:------------|:-----------|:-----|:---|:---|:---|
97+
| Captured Messages | No | Count | Count | The number of captured messages. | Entity name |
98+
| Captured Bytes | No | Bytes | Count | Captured bytes for an event hub | Entity name |
99+
| Capture Backlog | No | Count | Count | Capture backlog for an event hub | Entity name |
111100

112101
### Connection metrics
113-
| Metric Name | Exportable via diagnostic settings | Unit | Aggregation type | Description | Dimensions |
114-
| ------------------- | ----------------- | --- | --- | --- | --- |
115-
|Active Connections| No | Count | Average | The number of active connections on a namespace and on an entity (event hub) in the namespace. Value for this metric is a point-in-time value. Connections that were active immediately after that point-in-time may not be reflected in the metric.| Entity name |
116-
|Connections Opened | No | Count | Average | The number of open connections. | Entity name |
117-
|Connections Closed | No | Count | Average| The number of closed connections. | Entity name |
102+
103+
| Metric name | Exportable via diagnostic settings | Unit | Aggregation type | Description | Dimensions |
104+
|:------------|:-----------|:-----|:---|:---|:---|
105+
| Active Connections| No | Count | Average | The number of active connections on a namespace and on an entity (event hub) in the namespace. Value for this metric is a point-in-time value. Connections that were active immediately after that point-in-time might not be reflected in the metric.| Entity name |
106+
| Connections Opened | No | Count | Average | The number of open connections. | Entity name |
107+
| Connections Closed | No | Count | Average| The number of closed connections. | Entity name |
118108

119109
### Error metrics
120-
| Metric Name | Exportable via diagnostic settings | Unit | Aggregation type | Description | Dimensions |
121-
| ------------------- | ----------------- | --- | --- | --- | --- |
122-
|Server Errors| No | Count | Count | The number of requests not processed because of an error in the Event Hubs service over a specified period. | Entity name<br/><br/>Operation Result |
123-
|User Errors | No | Count | Count | The number of requests not processed because of user errors over a specified period. | Entity name<br/><br/>Operation Result|
124-
|Quota Exceeded Errors | No |Count | Count | The number of errors caused by exceeding quotas over a specified period. | Entity name<br/><br/>Operation Result|
110+
111+
| Metric name | Exportable via diagnostic settings | Unit | Aggregation type | Description | Dimensions |
112+
|:------------|:-----------|:-----|:---|:---|:---|
113+
| Server Errors | No | Count | Count | The number of requests not processed because of an error in the Event Hubs service over a specified period. | Entity name<br/><br/>Operation Result |
114+
| User Errors | No | Count | Count | The number of requests not processed because of user errors over a specified period. | Entity name<br/><br/>Operation Result |
115+
| Quota Exceeded Errors | No | Count | Count | The number of errors caused by exceeding quotas over a specified period. | Entity name<br/><br/>Operation Result |
125116

126117
> [!NOTE]
127118
> Logic Apps creates epoch receivers and receivers may be moved from one node to another depending on the service load. During those moves, `ReceiverDisconnection` exceptions may occur. They are counted as user errors on the Event Hubs service side. Logic Apps may collect failures from Event Hubs clients so that you can view them in user logs.
128119
129-
130120
[!INCLUDE [horz-monitor-ref-metrics-dimensions-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-dimensions-intro.md)]
131121

132122
[!INCLUDE [horz-monitor-ref-metrics-dimensions](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-dimensions.md)]
@@ -138,10 +128,9 @@ The following two types of errors are classified as **user errors**:
138128

139129
Azure Event Hubs supports the following dimensions for metrics in Azure Monitor. Adding dimensions to your metrics is optional. If you don't add dimensions, metrics are specified at the namespace level.
140130

141-
|Dimension name|Description|
142-
| ------------------- | ----------------- |
143-
|Entity Name| Name of the event hub. With the 'Incoming Requests' metric, the Entity Name dimension has a value of '-NamespaceOnlyMetric-' in addition to all your event hubs. It represents the requests that were made at the namespace level. Examples include a request to list all event hubs in the namespace or requests to entities that failed authentication or authorization.|
144-
131+
| Dimension name | Description |
132+
|:---------------|:------------|
133+
| Entity Name | Name of the event hub. With the 'Incoming Requests' metric, the Entity Name dimension has a value of '-NamespaceOnlyMetric-' in addition to all your event hubs. It represents the requests that were made at the namespace level. Examples include a request to list all event hubs in the namespace or requests to entities that failed authentication or authorization.|
145134

146135
<!-- ## Resource logs -->
147136
[!INCLUDE [horz-monitor-ref-resource-logs](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-resource-logs.md)]
@@ -159,45 +148,44 @@ Azure Event Hubs now has the capability to dispatch logs to either of two destin
159148

160149
Azure Event Hubs uses Kusto tables from Azure Monitor Logs. You can query these tables with Log Analytics. For a list of Kusto tables the service uses, see [Azure Monitor Logs table reference](/azure/azure-monitor/reference/tables/tables-resourcetype#event-hubs).
161150

162-
You can view our sample queries to get started with different log categories.
151+
You can view our sample queries to get started with different log categories.
163152

164153
> [!IMPORTANT]
165-
> Dimensions aren't exported to a Log Analytics workspace.
166-
154+
> Dimensions aren't exported to a Log Analytics workspace.
167155
168156
[!INCLUDE [event-hubs-diagnostic-log-schema](./includes/event-hubs-diagnostic-log-schema.md)]
169157

170158
## Runtime audit logs
171-
Runtime audit logs capture aggregated diagnostic information for all data plane access operations (such as send or receive events) in Event Hubs.
159+
Runtime audit logs capture aggregated diagnostic information for all data plane access operations (such as send or receive events) in Event Hubs.
172160

173-
> [!NOTE]
161+
> [!NOTE]
174162
> Runtime audit logs are available only in **premium** and **dedicated** tiers.
175163
176164
Runtime audit logs include the elements listed in the following table:
177165

178-
179166
| Name | Description | Supported in Azure Diagnostics | Supported in Resource Specific table |
180-
| ------- | -------| -----| -----|
167+
|:------- |:-------|:-----|:-----|
181168
| `ActivityId` | A randomly generated UUID that ensures uniqueness for the audit activity. | Yes | Yes |
182169
| `ActivityName` | Runtime operation name.| Yes | Yes |
183170
| `ResourceId` | Resource associated with the activity. | Yes | Yes |
184171
| `Timestamp` | Aggregation time. | Yes | No |
185-
| `TimeGenerated [UTC]`|Time of executed operation (in UTC)| No | Yes |
172+
| `TimeGenerated [UTC]`|Time of executed operation (in UTC) | No | Yes |
186173
| `Status` | Status of the activity (success or failure). | Yes | Yes |
187174
| `Protocol` | Type of the protocol associated with the operation. | Yes | Yes |
188-
| `AuthType` | Type of authentication (Azure Active Directory or SAS Policy). | Yes | Yes |
189-
| `AuthKey` | Azure Active Directory application ID or SAS policy name that's used to authenticate to a resource. | Yes | Yes |
175+
| `AuthType` | Type of authentication (Microsoft Entra ID or SAS Policy). | Yes | Yes |
176+
| `AuthKey` | Microsoft Entra ID application ID or SAS policy name that's used to authenticate to a resource. | Yes | Yes |
190177
| `NetworkType` | Type of the network access: `Public` or `Private`. | Yes | Yes |
191178
| `ClientIP` | IP address of the client application. | Yes | Yes |
192179
| `Count` | Total number of operations performed during the aggregated period of 1 minute. | Yes | Yes |
193180
| `Properties` | Metadata that are specific to the data plane operation. | Yes | Yes |
194-
| `Category` | Log category | Yes | NO |
181+
| `Category` | Log category | Yes | No |
195182
| `Provider`|Name of Service emitting the logs, such as Eventhub | No | Yes |
196183
| `Type` | Type of logs emitted | No | Yes |
197184

198185
Here's an example of a runtime audit log entry:
199186

200-
AzureDiagnostics :
187+
AzureDiagnostics:
188+
201189
```json
202190
{
203191
"ActivityId": "<activity id>",
@@ -215,7 +203,9 @@ AzureDiagnostics :
215203
}
216204

217205
```
206+
218207
Resource specific table entry:
208+
219209
```json
220210
{
221211
"ActivityId": "<activity id>",
@@ -236,13 +226,14 @@ Resource specific table entry:
236226
```
237227

238228
## Application metrics logs
239-
Application metrics logs capture the aggregated information on certain metrics related to data plane operations. The captured information includes the following runtime metrics.
240229

241-
> [!NOTE]
242-
> Application metrics logs are available only in **premium** and **dedicated** tiers.
230+
Application metrics logs capture the aggregated information on certain metrics related to data plane operations. The captured information includes the following runtime metrics.
231+
232+
> [!NOTE]
233+
> Application metrics logs are available only in **premium** and **dedicated** tiers.
243234
244235
| Name | Description |
245-
| ------- | ------- |
236+
|:-------|:------- |
246237
| `ConsumerLag` | Indicate the lag between consumers and producers. |
247238
| `NamespaceActiveConnections` | Details of active connections established from a client to the event hub. |
248239
| `GetRuntimeInfo` | Obtain run time information from Event Hubs. |
@@ -255,12 +246,13 @@ Application metrics logs capture the aggregated information on certain metrics r
255246
| `OffsetFetch` | Number of offset fetch calls made to the event hub. |
256247

257248
## Diagnostic Error Logs
258-
Diagnostic error logs capture error messages for any client side, throttling and Quota exceeded errors. They provide detailed diagnostics for error identification.
259249

260-
Diagnostic Error Logs include elements listed in below table:
250+
Diagnostic error logs capture error messages for any client side, throttling, and Quota exceeded errors. They provide detailed diagnostics for error identification.
251+
252+
Diagnostic Error Logs include elements listed in following table:
261253

262254
| Name | Description | Supported in Azure Diagnostics | Supported in AZMSDiagnosticErrorLogs (Resource specific table) |
263-
| ---|---|---|--- |
255+
|:---|:---|:---|:---|
264256
| `ActivityId` | A randomly generated UUID that ensures uniqueness for the audit activity. | Yes | Yes |
265257
| `ActivityName` | Operation name | Yes | Yes |
266258
| `NamespaceName` | Name of Namespace | Yes | yes |
@@ -294,7 +286,9 @@ Here's an example of Diagnostic error log entry:
294286
}
295287

296288
```
289+
297290
Resource specific table entry:
291+
298292
```json
299293
{
300294
"ActivityId": "0000000000-0000-0000-0000-00000000000000",
@@ -312,7 +306,6 @@ Resource specific table entry:
312306

313307
```
314308

315-
316309
### Event Hubs Microsoft.EventHub/namespaces
317310

318311
- [AzureActivity](/azure/azure-monitor/reference/tables/azureactivity#columns)
@@ -335,5 +328,5 @@ Resource specific table entry:
335328

336329
## Related content
337330

338-
- See [Monitor [TODO-replace-with-service-name]](monitor-[TODO-replace-with-service-filename].md) for a description of monitoring [TODO-replace-with-service-name].
339-
- See [Monitor Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource) for details on monitoring Azure resources.
331+
- See [Monitor Azure Event Hubs](monitor-event-hubs.md) for a description of monitoring Event Hubs.
332+
- See [Monitor Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource) for details on monitoring Azure resources.

0 commit comments

Comments
 (0)