Skip to content

Commit 4d1e9fa

Browse files
authored
Merge pull request #208258 from MicrosoftDocs/main
Release branch publish release-preview-er-traffic-collector
2 parents ae0e899 + 4cfe0ac commit 4d1e9fa

File tree

18 files changed

+341
-61
lines changed

18 files changed

+341
-61
lines changed

articles/applied-ai-services/metrics-advisor/data-feeds-from-different-sources.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ Use this article to find the settings and requirements for connecting different
4646
|[MongoDB](#mongodb) | Basic |
4747
|[MySQL](#mysql) | Basic |
4848
|[PostgreSQL](#pgsql) | Basic|
49-
|[Local files (CSV)](#csv) | Basic|
5049

5150
The following sections specify the parameters required for all authentication types within different data source scenarios.
5251

@@ -116,7 +115,7 @@ The following sections specify the parameters required for all authentication ty
116115
117116
* **JSON format version**: Defines the data schema in the JSON files. Metrics Advisor supports the following versions. You can choose one to fill in the field:
118117
119-
* **v1** (default value)
118+
* **v1**
120119
121120
Only the metrics *Name* and *Value* are accepted. For example:
122121
@@ -533,17 +532,7 @@ For more information, refer to the [tutorial on writing a valid query](tutorials
533532
```
534533
For more information, refer to the [tutorial on writing a valid query](tutorials/write-a-valid-query.md).
535534

536-
## <span id="csv">Local files (CSV)</span>
537-
538-
> [!NOTE]
539-
> This feature is only used for quick system evaluation focusing on anomaly detection. It only accepts static data from a local CSV, and performs anomaly detection on single time series data. For analyzing multi-dimensional metrics, including real-time data ingestion, anomaly notification, root cause analysis, and cross-metric incident analysis, use other supported data sources.
540-
541-
**Requirements on data in CSV:**
542-
- Have at least one column, which represents measurements to be analyzed. For a better and quicker user experience, try a CSV file that contains two columns: a timestamp column and a metric column. The timestamp format should be as follows: `2021-03-30T00:00:00Z`, and the `seconds` part is best to be `:00Z`. The time granularity between every record should be the same.
543-
- The timestamp column is optional. If there's no timestamp, Metrics Advisor will use timestamp starting from today (`00:00:00` Coordinated Universal Time). The service maps each measure in the row at a one-hour interval.
544-
- There is no re-ordering or gap-filling happening during data ingestion. Make sure that your data in the CSV file is ordered by the timestamp ordering **ascending (ASC)**.
545-
546535
## Next steps
547536

548537
* While you're waiting for your metric data to be ingested into the system, read about [how to manage data feed configurations](how-tos/manage-data-feeds.md).
549-
* When your metric data is ingested, you can [configure metrics and fine tune detection configuration](how-tos/configure-metrics.md).
538+
* When your metric data is ingested, you can [configure metrics and fine tune detection configuration](how-tos/configure-metrics.md).

articles/expressroute/TOC.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@
9595
href: expressroute-global-reach.md
9696
- name: About ExpressRoute encryption
9797
href: expressroute-about-encryption.md
98+
- name: ExpressRoute Traffic Collector
99+
href: traffic-collector.md
98100
- name: Connect Azure to public cloud
99101
href: expressroute-connect-azure-to-public-cloud.md
100102
- name: Connectivity between virtual networks
@@ -159,6 +161,8 @@
159161
href: expressroute-network-insights.md
160162
- name: Configure Connection Monitoring for ExpressRoute
161163
href: how-to-configure-connection-monitor.md
164+
- name: Configure ExpressRoute Traffic Collector
165+
href: how-to-configure-traffic-collector.md
162166
- name: ExpressRoute monitoring, metrics, and alerts
163167
href: expressroute-monitoring-metrics-alerts.md
164168
- name: View and configure maintenance alerts

articles/expressroute/expressroute-faqs.md

Lines changed: 76 additions & 45 deletions
Large diffs are not rendered by default.

articles/expressroute/expressroute-monitoring-metrics-alerts.md

Lines changed: 49 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ Metrics explorer supports SUM, MAX, MIN, AVG and COUNT as [aggregation types](..
8787
| [RxLightLevel](#rxlight) | Physical Connectivity | Count | Average | Rx Light level in dBm | Link, Lane | No |
8888
| [TxLightLevel](#txlight) | Physical Connectivity | Count | Average | Tx light level in dBm | Link, Lane | No |
8989

90+
### ExpressRoute Traffic Collector
91+
92+
| Metric | Category | Unit | Aggregation Type | Description | Dimensions | Exportable via Diagnostic Settings? |
93+
| --- | --- | --- | --- | --- | --- | --- |
94+
| CPU utilization | Performance | Count | Average | CPU Utilization of the ExpressRoute Traffic Collector | roleInstance | Yes |
95+
| Memory Utilization | Performance | CountPerSecond | Average | Memory Utilization of the ExpressRoute Traffic Collector | roleInstance | Yes |
96+
| Count of flow records processed | Availability | Count | Maximum | Count of number of flow records processed or ingested | roleInstance, ExpressRoute Circuit | Yes |
97+
9098
## Circuits metrics
9199

92100
### <a name = "circuitbandwidth"></a>Bits In and Out - Metrics across all peerings
@@ -231,23 +239,23 @@ This metric shows the number of routes the ExpressRoute gateway is advertising t
231239

232240
:::image type="content" source="./media/expressroute-monitoring-metrics-alerts/count-of-routes-advertised-to-peer.png" alt-text="Screenshot of count of routes advertised to peer.":::
233241

234-
### <a name = "learnedroutes"></a>Count of Routes Learned from Peer - Split by instance
242+
### <a name = "learnedroutes"></a>Count of routes learned from peer - Split by instance
235243

236244
Aggregation type: *Max*
237245

238246
This metric shows the number of routes the ExpressRoute gateway is learning from peers connected to the ExpressRoute circuit. These routes can be either from another virtual network connected to the same circuit or learned from on-premises. Set an alert for when the number of learned routes drop below a certain threshold. This could indicate either the gateway is seeing a performance problem or remote peers are no longer advertising routes to the ExpressRoute circuit.
239247

240248
:::image type="content" source="./media/expressroute-monitoring-metrics-alerts/count-of-routes-learned-from-peer.png" alt-text="Screenshot of count of routes learned from peer.":::
241249

242-
### <a name = "frequency"></a>Frequency of Routes change - Split by instance
250+
### <a name = "frequency"></a>Frequency of routes change - Split by instance
243251

244252
Aggregation type: *Sum*
245253

246254
This metric shows the frequency of routes being learned from or advertised to remote peers. You should first investigate your on-premises devices to understand why the network is changing so frequently. A high frequency in routes change could indicate a performance problem on the ExpressRoute gateway where scaling the gateway SKU up may resolve the problem. Set an alert for a frequency threshold to be aware of when your ExpressRoute gateway is seeing abnormal route changes.
247255

248256
:::image type="content" source="./media/expressroute-monitoring-metrics-alerts/frequency-of-routes-changed.png" alt-text="Screenshot of frequency of routes changed metric.":::
249257

250-
### <a name = "vm"></a>Number of VMs in the Virtual Network
258+
### <a name = "vm"></a>Number of VMs in the virtual network
251259

252260
Aggregation type: *Max*
253261

@@ -267,6 +275,44 @@ This metric shows the bits per second for ingress and egress to Azure through th
267275

268276
:::image type="content" source="./media/expressroute-monitoring-metrics-alerts/erconnections.jpg" alt-text="Screenshot of gateway connection bandwidth usage metric.":::
269277

278+
## ExpressRoute Traffic Collector metrics
279+
280+
### CPU Utilization - Split by instance
281+
282+
Aggregation type: *Avg* (of percentage of total utilized CPU)
283+
284+
*Granularity: 5 min*
285+
286+
You can view the CPU utilization of each ExpressRoute Traffic Collector instance. The CPU utilization may spike briefly during routine host maintenance, but prolonged high CPU utilization could indicate your ExpressRoute Traffic Collector is reaching a performance bottleneck.
287+
288+
**Guidance:** Set an alert for when avg CPU utilization exceeds a certain threshold.
289+
290+
:::image type="content" source="./media/expressroute-monitoring-metrics-alerts/cpu-usage.png" alt-text="Screenshot of CPU usage for ExpressRoute Traffic Collector." lightbox="./media/expressroute-monitoring-metrics-alerts/cpu-usage.png":::
291+
292+
### Memory Utilization - Split by instance
293+
294+
Aggregation type: *Avg* (of percentage of total utilized Memory)
295+
296+
*Granularity: 5 min*
297+
298+
You can view the memory utilization of each ExpressRoute Traffic Collector instance. Memory utilization may spike briefly during routine host maintenance, but prolonged high memory utilization could indicate your Azure Traffic Collector is reaching a performance bottleneck.
299+
300+
**Guidance:** Set an alert for when avg memory utilization exceeds a certain threshold.
301+
302+
:::image type="content" source="./media/expressroute-monitoring-metrics-alerts/memory-usage.png" alt-text="Screenshot of memory usage for ExpressRoute Traffic Collector." lightbox="./media/expressroute-monitoring-metrics-alerts/memory-usage.png":::
303+
304+
### Count of flow records processed - Split by instances or ExpressRoute circuit
305+
306+
Aggregation type: *Count*
307+
308+
*Granularity: 5 min*
309+
310+
You can view the count of number of flow records processed by ExpressRoute Traffic Collector, aggregated across ExpressRoute Circuits. Customer can split the metrics across each ExpressRoute Traffic Collector instance or ExpressRoute circuit when multiple circuits are associated to the ExpressRoute Traffic Collector. Monitoring this metric will help you understand if you need to deploy more ExpressRoute Traffic Collector instances or migrate ExpressRoute circuit association from one ExpressRoute Traffic Collector deployment to another.
311+
312+
**Guidance:** Splitting by circuits is recommended when multiple ExpressRoute circuits are associated with an ExpressRoute Traffic Collector deployment. This will help determine the flow count of each ExpressRoute circuit and ExpressRoute Traffic Collector utilization by each ExpressRoute circuit.
313+
314+
:::image type="content" source="./media/expressroute-monitoring-metrics-alerts/flow-records.png" alt-text="Screenshot of average flow records for an ExpressRoute circuit." lightbox="./media/expressroute-monitoring-metrics-alerts/flow-records.png":::
315+
270316
## Alerts for ExpressRoute gateway connections
271317

272318
1. To set up alerts, go to **Azure Monitor**, then select **Alerts**.
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
---
2+
title: 'Configure ExpressRoute Traffic Collector for ExpressRoute Direct using the Azure portal (Preview)'
3+
description: Learn how to create an ExpressRoute Traffic Collector resource to import logs into a Log Analytics workspace.
4+
services: expressroute
5+
author: duongau
6+
ms.service: expressroute
7+
ms.topic: tutorial
8+
ms.date: 07/15/2022
9+
ms.author: duau
10+
---
11+
12+
# Configure ExpressRoute Traffic Collector for ExpressRoute Direct using the Azure portal (Preview)
13+
14+
This article will help you deploy an ExpressRoute Traffic Collector using the Azure portal. You'll learn how to add and remove an ExpressRoute Traffic Collector, associate it to an ExpressRoute Direct circuit and Log Analytics workspace. Once the ExpressRoute Traffic Collector is deployed, sampled flow logs will get imported into a Log Analytics workspace. For more information, see [About ExpressRoute Traffic Collector](traffic-collector.md).
15+
16+
> [!IMPORTANT]
17+
> ExpressRoute Traffic Collector is currently in PREVIEW.
18+
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
19+
20+
## Limitations
21+
22+
- ExpressRoute Traffic Collector supports a maximum ExpressRoute Direct circuit size of 100 Gbps.
23+
- You can associate up to 20 ExpressRoute Direct circuits with ExpressRoute Traffic Collector as long as the total circuit bandwidth doesn't exceed 100 Gbps.
24+
25+
## Prerequisites
26+
27+
- ExpressRoute Direct circuit with Private or Microsoft peering configured.
28+
- A Log Analytics workspace (Create new or use existing).
29+
30+
> [!NOTE]
31+
> - The ExpressRoute Direct circuit, ExpressRoute Traffic Collector and the Log Analytics workspace must be in the same geo-political region. Cross geo-political resource association is not supported.
32+
> - The ExpressRoute Direct circuit and ExpressRoute Traffic Collector must be deployed in the same subscription. Cross subscription deployment is currently not available.
33+
> - Log Analytics and ExpressRoute Traffic Collector can be deployed in cross subscription.
34+
> - When ExpressRoute Traffic Collector gets deployed in an Azure region that supports availability zones, it will have availability zone enabled by default.
35+
36+
## Permissions
37+
38+
- Minimum contributor access is required to deploy ExpressRoute Traffic Collector.
39+
- Minimum contributor access is required to associate ExpressRoute Direct circuit with ExpressRoute Traffic Collector.
40+
- Monitor contributor role is required to associate Log Analytics workspace with ExpressRoute Traffic Collector.
41+
42+
For more information, see [Identity and access management](../active-directory/fundamentals/active-directory-ops-guide-iam.md).
43+
44+
## Deploy ExpressRoute Traffic Collector
45+
46+
1. Sign in to the [Azure portal](https://portal.azure.com/)
47+
48+
1. In the portal, go to the list of ExpressRoute circuits and select **ExpressRoute Traffic Collectors**. Then select **+ Create new**.
49+
50+
:::image type="content" source="./media/how-to-configure-traffic-collector/circuit-list.png" alt-text="Screenshot of the create new ExpressRoute Traffic Collector button from the ExpressRoute circuit list page.":::
51+
52+
1. On the **Create an ExpressRoute Traffic Collector** page, enter or select the following information then select **Next**.
53+
54+
:::image type="content" source="./media/how-to-configure-traffic-collector/basics.png" alt-text="Screenshot of the basics page for create an ExpressRoute Traffic Collector.":::
55+
56+
| Setting | Description |
57+
| --- | --- |
58+
| Subscription | Select the subscription to create the ExpressRoute Traffic Collector resource. This resource needs to be in the same subscription as the ExpressRoute Direct circuit. |
59+
| Resource group | Select the resource group to deploy this resource into. |
60+
| Name | Enter a name to identify this ExpressRoute Traffic Collector resource. |
61+
| Region | Select a region to deploy this resource into. This resource needs to be in the same geo-political region as the Log Analytics workspace and the ExpressRoute Direct circuits. |
62+
| Collector Policy | This value is automatically filled in as **Default**. |
63+
64+
1. On the **Select ExpressRoute circuit** tab, select **+ Add ExpressRoute Circuits**. Select the checkbox next to the circuit you would like to add to the Traffic Collector and then select **Add**. Once you're satisfied with the circuits added, select **Next**.
65+
66+
:::image type="content" source="./media/how-to-configure-traffic-collector/select-circuits.png" alt-text="Screenshot of the select ExpressRoute circuits tab and add circuits page.":::
67+
68+
1. On the **Forward Logs** tab, select the checkbox for **Send to Log Analytics workspace**. You can create a new Log Analytics workspace or choose an existing. The workspace can be in a different Azure subscription but has to be in the same geo-political region. Select **Next** once a workspace has been chosen.
69+
70+
:::image type="content" source="./media/how-to-configure-traffic-collector/forward-logs.png" alt-text="Screenshot of the forward logs tab to Logs Analytics workspace.":::
71+
72+
1. On the **Tags** tab, you can add optional tags for tracking purpose. Select **Next** to review your configuration.
73+
74+
1. Select **Create** once validation has passed to deploy your ExpressRoute Traffic Collector.
75+
76+
:::image type="content" source="./media/how-to-configure-traffic-collector/validation.png" alt-text="Screenshot of the create validation page.":::
77+
78+
1. Once deployed you should start seeing sampled flow logs within the configure Log Analytics workspace.
79+
80+
:::image type="content" source="./media/how-to-configure-traffic-collector/log-analytics.png" alt-text="Screenshot of logs in Log Analytics workspace." lightbox="./media/how-to-configure-traffic-collector/log-analytics.png":::
81+
82+
## Clean up resources
83+
84+
To delete the ExpressRoute Traffic Collector resource, you first need to remove all ExpressRoute circuit associations.
85+
86+
> [!IMPORTANT]
87+
> If you delete the ExpressRoute Traffic Collector resource before removing all circuit associations, you'll need to wait about 40 mins for the deletion to timeout before you can try again.
88+
>
89+
90+
Once all circuits have been removed from the ExpressRoute Traffic Collector, select **Delete** from the overview page to remove the resource from your subscription.
91+
92+
:::image type="content" source="./media/how-to-configure-traffic-collector/overview.png" alt-text="Screenshot of delete button on overview page." lightbox="./media/how-to-configure-traffic-collector/overview.png":::
93+
94+
## Next steps
95+
96+
- [ExpressRoute Traffic Collector Metrics](expressroute-monitoring-metrics-alerts.md#expressroute-traffic-collector-metrics)
121 KB
Loading
147 KB
Loading
112 KB
Loading
42.8 KB
Loading
41.7 KB
Loading

0 commit comments

Comments
 (0)