Data metric descriptions

Updated at:

IoT Platform lets you monitor data metrics in real time for devices, messages, Thing Specification Language (TSL) models, the rules engine, and over-the-air (OTA) updates. This topic describes the specific data metrics that are supported.

Background information

IoT Platform supports the following default metrics for real-time monitoring: the number of online Message Queuing Telemetry Transport (MQTT) devices, the number of messages sent from the platform to devices, the number of messages sent from devices to the platform, and the number of messages forwarded by the rules engine. These default metrics are displayed as area charts. The x-axis represents time, and the charts show the trend of the total count over a specified period.

In addition to the default metrics, IoT Platform also provides the following metrics:

  • Infrastructure metrics: These include metrics for devices, messages, TSL models, the rules engine, and OTA updates. For more information, see the sections that follow. To customize these metrics for monitoring, see Add infrastructure monitoring.

    Note

    By default, infrastructure metrics in real-time monitoring apply to all products in IoT Platform. You can edit the dimension and aggregation granularity. You can also configure threshold-based alert rules for data metrics that are displayed as area charts. For more information, see Edit infrastructure metrics and Configure threshold-based alert rules.

  • TSL model metrics: These are property metrics from TSL models. They are displayed as area charts that use time as the x-axis to show the trend of property data over a specified period. You can monitor specific property data for specific products and devices. For more information, see Add TSL model monitoring.

Device metrics

Metric

Description

Daily device online/offline ranking by city

Displays a leaderboard of the top 5 cities and provinces, ranked in descending order by a metric's count within a specified time period.

Daily device online/offline ranking by province

Daily disconnections

Shows a leaderboard of the top 5 device names ranked by the total count for each metric.

Daily connections

Daily online/offline events

Number of new offline devices

Shows the trend in the number of online and offline devices over a specified period. The data is displayed as an area chart with time as the x-axis.

Number of new online devices

Message metrics

Data Item

Description

Daily size of messages from devices to the platform (in bytes)

Shows a leaderboard of the top 5 devices ranked by message size and count for each metric.

Daily size of messages from the platform to devices (in bytes)

Daily number of messages from the platform to devices

Daily number of messages from devices to the platform

Number of messages sent from the platform (HTTP/2)

Shows the trend of the message count for each scenario over a specified period. The data is displayed as an area chart where the x-axis represents time.

Number of messages sent from the platform over AMQP

Number of messages sent from the platform over MQTT

Number of messages sent to the platform over HTTP/2

Number of messages sent to the platform over MQTT

Number of upstream and downstream messages

TSL model metrics

Data class

Description

Daily number of failed service invocations from the platform to devices

Shows a leaderboard of the top 5 TSL model services and events ranked by the total count for each metric.

Daily number of failed events sent to the platform

Number of events sent from devices to the platform

Shows the data trend for TSL model properties, services, and events in various scenarios over a specified period. The data is displayed as an area chart where the x-axis represents time.

Number of service invocations from the platform to devices

Number of times the platform sets device properties

Number of times devices report properties

Number of failed event reports from devices to IoT Platform

Number of failed property settings from IoT Platform to devices

Number of failed service invocations from IoT Platform to devices

Number of warning events sent from devices to the platform

Number of fault events sent from devices to the platform

Rules engine metrics

Data class

Description

Number of messages forwarded by the rules engine to MNS

Shows the trend of the number of messages that the rules engine forwards to each cloud service over a specified period. The data is displayed as an area chart where the x-axis represents time.

Number of messages forwarded by the rules engine to Message Queue

Number of messages forwarded by the rules engine to Tablestore (OTS)

Number of messages forwarded by the rules engine to RDS

Number of messages forwarded by the rules engine using the republish action

Number of messages forwarded by the rules engine to Time Series Database (TSDB)

Number of messages forwarded by the rules engine to DataHub

Number of messages forwarded by the rules engine to FC

Number of messages forwarded by the rules engine to Lindorm

Number of messages forwarded by the rules engine to Kafka

Size of messages forwarded by the rules engine

Shows the trend of the size of messages forwarded by the rules engine over a specified period. The data is displayed as an area chart where the x-axis represents time.

Latency of messages forwarded by the rules engine

Shows the trend of the latency of messages forwarded by the rules engine over a specified period. The data is displayed as an area chart where the x-axis represents time.

OTA metrics

Data class

Description

Daily upgrade success rate per instance

Shows the trend of the daily upgrade success rate per instance over a specified period. The data is displayed as an area chart where the x-axis represents time.

This metric shows the overall success rate of OTA updates for the current instance.

Daily upgrade success rate per product

Shows the trend of the daily upgrade success rate per product over a specified period. The data is displayed as an area chart where the x-axis represents time.

When the default dimension for this metric is All Products, the success rate is calculated across all products. To view the success rate for a single product, see Edit infrastructure metrics.

Daily number of successful upgrades

Shows the trend of the daily number of successful and failed upgrade batches over a specified period. The data is displayed as an area chart where the x-axis represents time.

Daily number of failed upgrades

Daily number of devices upgraded

Shows the trend of the daily number of upgraded devices and successfully upgraded devices over a specified period. The data is displayed as an area chart where the x-axis represents time.

Daily number of devices successfully upgraded