Skip to content

Commit e97e720

Browse files
authored
Merge pull request #277760 from PatAltimore/patricka-freshness
Freshness
2 parents bd0b955 + 3440c7f commit e97e720

18 files changed

+95
-96
lines changed

articles/iot-edge/how-to-access-host-storage-from-module.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
title: Use IoT Edge device local storage from a module - Azure IoT Edge | Microsoft Docs
2+
title: Use Azure IoT Edge device local storage from a module
33
description: Use environment variables and create options to enable module access to IoT Edge device local storage.
44
author: PatAltimore
55

66
ms.author: patricka
7-
ms.date: 06/26/2023
8-
ms.topic: conceptual
7+
ms.date: 06/10/2024
8+
ms.topic: concept-article
99
ms.service: iot-edge
1010
services: iot-edge
1111
---
1212

13-
# Give modules access to a device's local storage
13+
# Give Azure IoT Edge modules access to a device's local storage
1414

1515
[!INCLUDE [iot-edge-version-all-supported](includes/iot-edge-version-all-supported.md)]
1616

articles/iot-edge/how-to-collect-and-transport-metrics.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: Collect and transport Azure IoT Edge metrics
3-
description: Use Azure Monitor to remotely monitor IoT Edge's built-in metrics
3+
description: Use Azure Monitor to remotely monitor IoT Edge's built-in metrics. Learn how to add and configure the metrics-collector module to send metrics to Azure Monitor.
44
author: PatAltimore
55

6-
ms.author: veyalla
7-
ms.date: 06/07/2023
8-
ms.topic: conceptual
6+
ms.author: patricka
7+
ms.date: 06/10/2024
8+
ms.topic: concept-article
99
ms.reviewer: veyalla
1010
ms.service: iot-edge
1111
services: iot-edge
@@ -33,7 +33,7 @@ To configure monitoring on your IoT Edge device, follow the [Tutorial: Monitor I
3333
|-|-|
3434
| 1 | All modules must emit metrics using the [Prometheus data model](https://prometheus.io/docs/concepts/data_model/). While [built-in metrics](how-to-access-built-in-metrics.md) enable broad workload visibility by default, custom modules can also be used to emit scenario-specific metrics to enhance the monitoring solution. Learn how to instrument custom modules using open-source libraries in the [Add custom metrics](how-to-add-custom-metrics.md) article. |
3535
| 2️ | The [metrics-collector module](https://aka.ms/edgemon-metrics-collector) is a Microsoft-supplied IoT Edge module that collects workload module metrics and transports them off-device. Metrics collection uses a *pull* model. Collection frequency, endpoints, and filters can be configured to control the data egressed from the module. For more information, see [metrics collector configuration section](#metrics-collector-configuration) later in this article. |
36-
| 3️ | You have two options for sending metrics from the metrics-collector module to the cloud. *Option 1* sends the metrics to Log Analytics.<sup>1</sup> The collected metrics are ingested into the specified Log Analytics workspace using a fixed, native table called `InsightsMetrics`. This table's schema is compatible with the Prometheus metrics data model.<br><br> This option requires access to the workspace on outbound port 443. The Log Analytics workspace ID and key must be specified as part of the module configuration. To enable in restricted networks, see [Enable in restricted network access scenarios](#enable-in-restricted-network-access-scenarios) later in this article.
36+
| 3️ | You have two options for sending metrics from the metrics-collector module to the cloud. *Option 1* sends the metrics to Log Analytics.<sup>1</sup> The collected metrics are ingested into the specified Log Analytics workspace using a fixed, native table called `InsightsMetrics`. This table's schema is compatible with the Prometheus metrics data model.<br><br> This option requires access to the workspace on outbound port 443. The Log Analytics workspace ID and key must be specified as part of the module configuration. To enable in restricted networks, see [Enable in restricted network access scenarios](#enable-in-restricted-network-access-scenarios) later in this article. |
3737
| 4️ | Each metric entry contains the `ResourceId` that was specified as part of [module configuration](#metrics-collector-configuration). This association automatically links the metric with the specified resource (for example, IoT Hub). As a result, the [curated IoT Edge workbook templates](how-to-explore-curated-visualizations.md) can retrieve metrics by issuing queries against the resource. <br><br> This approach also allows multiple IoT hubs to safely share a single Log Analytics workspace as a metrics database. |
3838
| 5️ | *Option 2* sends the metrics to IoT Hub.<sup>1</sup> The collector module can be configured to send the collected metrics as UTF-8 encoded JSON [device-to-cloud messages](../iot-hub/iot-hub-devguide-messages-d2c.md) via the `edgeHub` module. This option unlocks monitoring of locked-down IoT Edge devices that are allowed external access to only the IoT Hub endpoint. It also enables monitoring of child IoT Edge devices in a nested configuration where child devices can only access their parent device. |
3939
| 6️ | When metrics are routed via IoT Hub, a (one-time) cloud workflow needs to be set up. The workflow processes messages arriving from the metrics-collector module and sends them to the Log Analytics workspace. The workflow enables the [curated visualizations](how-to-explore-curated-visualizations.md) and [alerts](how-to-create-alerts.md) functionality even for metrics arriving via this optional path. See the [Route metrics through IoT Hub](#route-metrics) section for details on how to set up this cloud workflow. |
@@ -48,7 +48,7 @@ To configure monitoring on your IoT Edge device, follow the [Tutorial: Monitor I
4848
|-|-|
4949
| 1 | All modules must emit metrics using the [Prometheus data model](https://prometheus.io/docs/concepts/data_model/). While [built-in metrics](how-to-access-built-in-metrics.md) enable broad workload visibility by default, custom modules can also be used to emit scenario-specific metrics to enhance the monitoring solution. Learn how to instrument custom modules using open-source libraries in the [Add custom metrics](how-to-add-custom-metrics.md) article. |
5050
| 2️ | The [metrics-collector module](https://aka.ms/edgemon-metrics-collector) is a Microsoft-supplied IoT Edge module that collects workload module metrics and transports them off-device. Metrics collection uses a *pull* model. Collection frequency, endpoints, and filters can be configured to control the data egressed from the module. For more information, see [metrics collector configuration section](#metrics-collector-configuration) later in this article. |
51-
| 3️ | You have two options for sending metrics from the metrics-collector module to the cloud. *Option 1* sends the metrics to Log Analytics. The collected metrics are ingested into the specified Log Analytics workspace using a fixed, native table called `InsightsMetrics`. This table's schema is compatible with the Prometheus metrics data model.<br><br> This option requires access to the workspace on outbound port 443. The Log Analytics workspace ID and key must be specified as part of the module configuration. To enable in restricted networks, see [Enable in restricted network access scenarios](#enable-in-restricted-network-access-scenarios) later in this article.
51+
| 3️ | You have two options for sending metrics from the metrics-collector module to the cloud. *Option 1* sends the metrics to Log Analytics. The collected metrics are ingested into the specified Log Analytics workspace using a fixed, native table called `InsightsMetrics`. This table's schema is compatible with the Prometheus metrics data model.<br><br> This option requires access to the workspace on outbound port 443. The Log Analytics workspace ID and key must be specified as part of the module configuration. To enable in restricted networks, see [Enable in restricted network access scenarios](#enable-in-restricted-network-access-scenarios) later in this article. |
5252
| 4️ | Each metric entry contains the `ResourceId` that was specified as part of [module configuration](#metrics-collector-configuration). This association automatically links the metric with the specified resource (for example, IoT Central). As a result, the [curated IoT Edge workbook templates](how-to-explore-curated-visualizations.md) can retrieve metrics by issuing queries against the resource. <br><br> This approach also allows multiple IoT Central applications to safely share a single Log Analytics workspace as a metrics database. |
5353
| 5️ | *Option 2* sends the metrics to IoT Central. This option lets an operator view the metrics and device telemetry in a single location. The collector module can be configured to send the collected metrics as UTF-8 encoded JSON [device-to-cloud messages](../iot-hub/iot-hub-devguide-messages-d2c.md) via the `edgeHub` module. This option unlocks monitoring of locked-down IoT Edge devices that are allowed external access to only the IoT Central endpoint. It also enables monitoring of child IoT Edge devices in a nested configuration where child devices can only access their parent device. |
5454

articles/iot-edge/includes/debug-without-container-run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
ms.topic: include
3-
ms.date: 07/07/2022
3+
ms.date: 06/10/2024
44
author: PatAltimore
55
ms.author: patricka
66
ms.service: iot-edge

articles/iot-edge/includes/debug-without-container-setup.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
ms.topic: include
3-
ms.date: 07/08/2022
3+
ms.date: 06/10/2024
44
author: PatAltimore
55
ms.author: patricka
66
ms.service: iot-edge
@@ -22,7 +22,7 @@ IoT Edge modules need an IoT Edge environment to run and debug. You can use an I
2222

2323
1. In the Visual Studio Code command palette, run the command **Azure IoT Edge: Start IoT Edge Hub Simulator for Single Module**.
2424
1. Provide the names of any inputs that you want to test with your module. If you're using the default sample code, use the value **input1**.
25-
1. The command triggers the **iotedgehubdev** CLI and then starts the IoT Edge simulator and a testing utility module container. You can see the output similar to the following in the integrated terminal if the simulator has been started in single module mode successfully. The output includes an example `curl` command to send a message to the simulator. You'll use the `curl` command later.
25+
1. The command triggers the **iotedgehubdev** CLI and then starts the IoT Edge simulator and a testing utility module container. You can see the output similar to the following in the integrated terminal if the simulator is started in single module mode successfully. The output includes an example `curl` command to send a message to the simulator. You'll use the `curl` command later.
2626

2727
```output
2828
D:\Workspaces\EdgeSolution>iotedgehubdev start -i "input1"
@@ -37,6 +37,6 @@ IoT Edge modules need an IoT Edge environment to run and debug. You can use an I
3737
3838
### Debug module in launch mode
3939
40-
After the simulator has been started successfully, you can debug your module code.
40+
After the simulator is started successfully, you can debug your module code.
4141
4242
Prepare your environment for debugging, set a breakpoint in your module, and select the debug configuration to use.

articles/iot-edge/includes/iot-edge-create-dps-enrollment-symmetric.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
ms.topic: include
3-
ms.date: 12/23/2022
3+
ms.date: 06/10/2024
44
author: PatAltimore
55
ms.author: patricka
66
ms.service: iot-edge

articles/iot-edge/includes/iot-edge-install-linux-on-windows.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
ms.topic: include
3-
ms.date: 01/25/2022
3+
ms.date: 06/10/2024
44
author: PatAltimore
55
ms.author: patricka
66
ms.service: iot-edge
@@ -57,7 +57,7 @@ Deploy Azure IoT Edge for Linux on Windows on your target device.
5757
>
5858
>You can customize the virtual machine's available resources using the `Deploy-Eflow` command's optional parameters. This is required to deploy EFLOW on a device with the minimum hardware requirements.
5959
>
60-
>For example, the command below creates a virtual machine with 1 vCPU core, 1 GB of RAM (represented in MB), and 2 GB of disk space:
60+
>For example, the following command creates a virtual machine with 1 vCPU core, 1 GB of RAM (represented in MB), and 2 GB of disk space:
6161
>
6262
> ```powershell
6363
> Deploy-Eflow -cpuCount 1 -memoryInMB 1024 -vmDataSize 2
@@ -68,7 +68,7 @@ Deploy Azure IoT Edge for Linux on Windows on your target device.
6868
>[!WARNING]
6969
>By default, the EFLOW Linux virtual machine has no DNS configuration. Deployments using DHCP will try to obtain the DNS configuration propagated by the DHCP server. Please check your DNS configuration to ensure internet connectivity. For more information, see [AzEFLOW-DNS](https://aka.ms/AzEFLOW-DNS).
7070
71-
You can assign a GPU to your deployment to enable GPU-accelerated Linux modules. To gain access to these features, you will need to install the prerequisites detailed in [GPU acceleration for Azure IoT Edge for Linux on Windows](/azure/iot-edge/gpu-acceleration).
71+
You can assign a GPU to your deployment to enable GPU-accelerated Linux modules. To gain access to these features, you need to install the prerequisites detailed in [GPU acceleration for Azure IoT Edge for Linux on Windows](/azure/iot-edge/gpu-acceleration).
7272
7373
To use a GPU passthrough, add the **gpuName**, **gpuPassthroughType**, and **gpuCount** parameters to your `Deploy-Eflow` command. For information about all the optional parameters available, see [PowerShell functions for IoT Edge for Linux on Windows](/azure/iot-edge/reference-iot-edge-for-linux-on-windows-functions#deploy-eflow).
7474

articles/iot-edge/includes/iot-edge-prerequisites-device-requirements-linux.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
ms.topic: include
3-
ms.date: 01/05/2023
4-
author: micahl
5-
ms.author: micahl
3+
ms.date: 06/10/2024
4+
author: PatAltimore
5+
ms.author: patricka
66
ms.service: iot-edge
77
ms.custom: linux-related-content
88
services: iot-edge

articles/iot-edge/includes/iot-edge-prerequisites-linux-on-windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
ms.topic: include
3-
ms.date: 12/23/2022
3+
ms.date: 06/10/2024
44
author: PatAltimore
55
ms.author: patricka
66
ms.service: iot-edge
@@ -27,7 +27,7 @@ A Windows device with the following minimum requirements:
2727
* On a virtual machine, configure nested virtualization. For more information, see [nested virtualization](../nested-virtualization.md).
2828

2929
* Networking support
30-
* Windows Server does not come with a default switch. Before you can deploy EFLOW to a Windows Server device, you need to create a virtual switch. For more information, see [Create virtual switch for Linux on Windows](../how-to-create-virtual-switch.md).
30+
* Windows Server does not come with a default switch. Before you can deploy EFLOW to a Windows Server device, you need to create a virtual switch. For more information, see [Create virtual switch for Linux on Windows](../how-to-create-virtual-switch.md).
3131
* Windows Desktop versions come with a default switch that can be used for EFLOW installation. If needed, you can create your own custom virtual switch.
3232

3333
> [!TIP]

articles/iot-edge/includes/iot-edge-prerequisites-register-device.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
ms.topic: include
3-
ms.date: 01/05/2023
3+
ms.date: 06/10/2024
44
author: PatAltimore
55
ms.author: patricka
66
ms.service: iot-edge

articles/iot-edge/includes/iot-edge-register-device-symmetric.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
ms.topic: include
3-
ms.date: 1/31/2023
3+
ms.date: 06/10/2024
44
author: PatAltimore
55
ms.author: patricka
66
ms.service: iot-edge
@@ -43,7 +43,7 @@ Once Azure IoT Edge and Azure IoT Hub extensions are installed, you notice an Az
4343
Registering a new device is akin to creating an IoT Edge device in the Azure portal. This virtual device is one of the *twins*, whereas the real world device is the other twin. Visual Studio Code can set this up for you through the following steps.
4444

4545
1. In the Visual Studio Code Explorer menu, expand the **Azure IoT Hub** section.
46-
1. Click on the **...** in the **Azure IoT Hub** section header. If you don't see the ellipsis, click on or hover over the header.
46+
1. Select on the **...** in the **Azure IoT Hub** section header. If you don't see the ellipsis, select or hover over the header.
4747
1. Select **Create IoT Edge Device**.
4848
1. In the text box that opens, give your device an ID, for example `my-edge-device-1` (all lowercase), then press enter.
4949

@@ -85,7 +85,7 @@ The edge-enabled devices that connect to your IoT hub are listed on the **Device
8585
When you're ready to set up your device, you need the connection string that links your physical device with its identity in the IoT hub. Devices that authenticate with symmetric keys have their connection strings available to copy in the portal. To find your connection string in the portal:
8686

8787
1. From the **Devices** page, select the IoT Edge device ID from the list.
88-
2. Copy the value of either **Primary Connection String** or **Secondary Connection String**. Either key will work.
88+
2. Copy the value of either **Primary Connection String** or **Secondary Connection String**. Either key works.
8989

9090
# [Visual Studio Code](#tab/visual-studio-code)
9191

@@ -108,7 +108,7 @@ To see all devices in your IoT hub, use the [az iot hub device-identity list](/c
108108
az iot hub device-identity list --hub-name hub_name_here
109109
```
110110

111-
Any device that is registered as an IoT Edge device will have the property **capabilities.iotEdge** set to **true**. You see a lot of other metadata as JSON output as well, including your device IDs.
111+
Any device that is registered as an IoT Edge device has the property **capabilities.iotEdge** set to **true**. You see a lot of other metadata as JSON output as well, including your device IDs.
112112

113113
When you're ready to set up your device, you need its connection string that links your physical device with its identity in the IoT hub. Use the following [az iot hub device-identity connection-string show](/cli/azure/iot/hub/device-identity/connection-string) command to return the connection string for a single device. Replace `[device_id]` and `[hub_name]` with your own values. The value for the `device-identity` parameter is case-sensitive.
114114

0 commit comments

Comments
 (0)