monitor.deadman() function detects when a group stops reporting data.
It takes a stream of tables and reports if groups have been observed since time
Function type: Transformation
import "influxdata/influxdb/monitor" monitor.deadman(t: 2019-08-30T12:30:00Z)
monitor.deadman() retains the most recent row from each input table and adds a
If a record appears after time
dead is set to
The time threshold for the deadman check.
Data type: Time
Detect if a host hasn’t reported in the last five minutes
import "influxdata/influxdb/monitor" import "experimental" from(bucket: "example-bucket") |> range(start: -10m) |> group(columns: ["host"]) |> monitor.deadman(t: experimental.subDuration(d: 5m, from: now() ))
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support or submit feedback, the following resources are available:
- Post in the InfluxData Community.
- Submit documentation issues to the InfluxDB 2.0 documentation repository.
- Submit InfluxDB issues to the InfluxDB repository.
For our InfluxDB Cloud customers, InfluxData Support is also available.