metricHeartbeat
Topics: Devices
Analyze uptime and downtime for a heartbeat-style metric. Detects gaps where no value was received within the expected interval. Returns total uptime/downtime, uptime percentage, and individual gap periods. Uses Toolkit heartbeat_agg(). Requires metric:read permission.
Exact field SDL
"""
Analyze uptime and downtime for a heartbeat-style metric. Detects gaps where no value was received within the expected interval. Returns total uptime/downtime, uptime percentage, and individual gap periods. Uses Toolkit heartbeat_agg(). Requires metric:read permission.
"""
metricHeartbeat(
"""Heartbeat parameters"""
input: MetricHeartbeatInput!
): MetricHeartbeatResult! @topic(names: ["devices"])Declared on Query. Access is checked by the platform for each operation.