Skip to content

Commit 51b1436

Browse files
[Magic] Use Telemetry for Magic WAN Connector metrics (#24340)
1 parent 6a02d0a commit 51b1436

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

src/content/docs/magic-wan/configuration/connector/device-metrics.mdx

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ sidebar:
77

88
Cloudflare customers can inspect metrics for a specific Magic WAN Connector in the Cloudflare dashboard. The Magic WAN Connector device metrics measured by Cloudflare include:
99

10-
- Average CPU load
11-
- Average temperature (this is always zero for Virtual Connector)
12-
- Average disk utilization
13-
- Average memory utilization
10+
- CPU load
11+
- System temperature (this is always zero for Virtual Connector)
12+
- Disk utilization
13+
- Memory utilization
1414

1515
To check for Connector metrics:
1616

@@ -33,22 +33,21 @@ query MagicWanDeviceMetrics(
3333
) {
3434
viewer {
3535
accounts(filter: { accountTag: $accountTag }) {
36-
MagicWANConnectorMetricsAdaptiveGroups(
36+
mconnTelemetrySnapshotsAdaptiveGroups(
3737
limit: 100
3838
filter: {
39-
mconnInterfaceType: "system"
4039
datetime_geq: $datetimeStart
4140
datetime_lt: $datetimeEnd
4241
}
4342
) {
44-
avg {
45-
cpuTemperature
46-
cpuLoadPercentage
47-
diskUsagePercentage
48-
memoryUsagePercentage
43+
max {
44+
loadAverage1m
45+
cpuCount
46+
memoryFreeBytes
47+
memoryTotalBytes
4948
}
5049
dimensions {
51-
mconnInterfaceName
50+
connectorId
5251
}
5352
}
5453
}
@@ -62,4 +61,4 @@ The metric `average CPU load` is unique and distinctly different from `CPU utili
6261

6362
CPU load is a measure of the number of processes that are currently running and that are waiting to be run on the CPU. Cloudflare collects the one minute load average from the device and converts that into a percentage based on the total number of cores in the CPU. If the Magic WAN Connector CPU has eight cores, and a one minute load average of two, then the average CPU load is 25%. If the average CPU load is above 100%, then there are processes in the queue that are waiting to be executed on the CPU.
6463

65-
Cloudflare is still evaluating the typical CPU load operating range on the MWAN Connector. In general, a healthy range for average CPU load on any device is between 30% and 70%. Customers may experience decreased MWAN Connector performance if the average CPU load is consistently above 100%.
64+
Cloudflare is still evaluating the typical CPU load operating range on the MWAN Connector. In general, a healthy range for average CPU load on any device is between 30% and 70%. Customers may experience decreased MWAN Connector performance if the average CPU load is consistently above 100%.

0 commit comments

Comments
 (0)