You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-edge/how-to-access-built-in-metrics.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Access built-in metrics from IoT Edge runtime components to monitor
4
4
#customer intent: As a system administrator, I want to access built-in metrics in Azure IoT Edge so that I can monitor and understand the health of my IoT Edge devices.
5
5
author: sethmanheim
6
6
ms.author: sethm
7
-
ms.date: 05/08/2025
7
+
ms.date: 02/20/2026
8
8
ms.topic: concept-article
9
9
ms.service: azure-iot-edge
10
10
services: iot-edge
@@ -82,6 +82,9 @@ The **edgeHub** module generates the following metrics:
82
82
|`edgehub_offline_duration_seconds`|`id`| Type: summary<br> Time edge hub was offline |
83
83
|`edgehub_operation_retry_total`|`id`<br> `operation` (operation name) | Type: counter<br> Total number of times edgeHub operations were retried |
84
84
|`edgehub_client_connect_failed_total`|`id` <br> `reason` (not authenticated)<br> | Type: counter<br> Total number of times clients failed to connect to edgeHub |
85
+
|`edgehub_client_connect_success_total`|`id`| Type: counter<br> Total number of times clients successfully connected to edgeHub |
86
+
|`edgehub_client_disconnect_total`|`id`| Type: counter<br> Total number of times clients disconnected from edgeHub |
87
+
|`edgehub_connected_clients`|| Type: gauge<br> Current number of clients connected to edgeHub |
85
88
86
89
The **edgeAgent** module generates the following metrics:
87
90
@@ -91,6 +94,7 @@ The **edgeAgent** module generates the following metrics:
91
94
|`edgeAgent_total_time_expected_running_seconds`|`module_name`| Type: gauge<br> The amount of time the module was specified in the deployment |
92
95
|`edgeAgent_module_start_total`|`module_name`, `module_version`| Type: counter<br> Number of times edgeAgent asked docker to start the module |
93
96
|`edgeAgent_module_stop_total`|`module_name`, `module_version`| Type: counter<br> Number of times edgeAgent asked docker to stop the module |
97
+
|`edgeAgent_module_prepare_update_total`|`module_name`, `module_version`| Type: counter<br> Number of times edgeAgent prepared a module update |
94
98
|`edgeAgent_command_latency_seconds`|`command`| Type: gauge<br> How long it took docker to execute the given command. Possible commands are: create, update, remove, start, stop, and restart |
95
99
|`edgeAgent_iothub_syncs_total`|| Type: counter<br> Number of times edgeAgent attempted to sync its twin with iotHub, both successful and unsuccessful. This number includes both Agent requesting a twin and Hub notifying of a twin update |
96
100
|`edgeAgent_unsuccessful_iothub_syncs_total`|| Type: counter<br> Number of times edgeAgent failed to sync its twin with iotHub. |
0 commit comments