Skip to content
Cloudflare Docs

Device metrics

Cloudflare customers can inspect metrics for a specific Cloudflare One Appliance (formerly Magic WAN Connector) in the Cloudflare dashboard. These metrics help you troubleshoot potential issues with your Cloudflare One Appliance. For details, refer to Troubleshooting.

Query metrics with GraphQL

Customers can query Cloudflare's GraphQL API to fetch their Cloudflare One Appliance device metrics. The Cloudflare dashboard displays Cloudflare One Appliance device metrics over the past one hour. Via the GraphQL API, customers can query for up to 30 days of historical Cloudflare One Appliance device metrics.

For example:

query telemetry(
$accountTag: string
$snapshotsFilter: AccountMconnTelemetrySnapshotsAdaptiveGroupsFilter_InputObject!
$snapshotMountsFilter: AccountMconnTelemetrySnapshotMountsAdaptiveGroupsFilter_InputObject!
$snapshotThermalsFilter: AccountMconnTelemetrySnapshotThermalsAdaptiveGroupsFilter_InputObject!
$limit: int64!
) {
viewer {
accounts(filter: { accountTag: $accountTag }) {
snapshots: mconnTelemetrySnapshots(
filter: $snapshotsFilter
limit: $limit
orderBy: [datetimeFiveMinutes_DESC]
) {
max {
cpuCount
loadAverage1m
memoryFreeBytes
memoryTotalBytes
}
dimensions {
connectorId
datetimeFiveMinutes
}
}
snapshotMounts: mconnTelemetrySnapshotMounts(
filter: $snapshotMountsFilter
limit: $limit
orderBy: [datetimeFiveMinutes_DESC]
) {
max {
availableBytes
totalBytes
}
dimensions {
connectorId
datetimeFiveMinutes
}
}
snapshotThermals: mconnTelemetrySnapshotThermals(
filter: $snapshotThermalsFilter
limit: $limit
orderBy: [datetimeFiveMinutes_DESC, connectorId_DESC]
) {
max {
currentCelcius
}
dimensions {
connectorId
datetimeFiveMinutes
}
}
}
}
}

Average CPU load explained

The metric average CPU load is unique and distinctly different from CPU utilization which is another common CPU metric. The Cloudflare One Appliance uses a Unix-style CPU load calculation.

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 Cloudflare One Appliance 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.

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