diff --git a/internal/platform/prompts/investigate.md b/internal/platform/prompts/investigate.md index fb7845061..e93f96e49 100644 --- a/internal/platform/prompts/investigate.md +++ b/internal/platform/prompts/investigate.md @@ -17,13 +17,15 @@ A trend is a query, not an estimate. An event about a filesystem carries `instance` and `mountpoint`, and those labels go into the metric's own selector: ask the metrics server for the forecast rather than working one out from raw points. Prometheus answers `predict_linear` through `query`, and with -node exporter's filesystem metrics the seconds until the disk is full are +node exporter's filesystem metrics the hours until the disk is full are -predict_linear(node_filesystem_avail_bytes{instance="",mountpoint=""}[6h], 0) / deriv(node_filesystem_avail_bytes{instance="",mountpoint=""}[6h]) + / 3600 -Report the figure that query returns and how long it is. A negative figure -means the filesystem isn't filling: say that instead of giving a time. +Report the figure that query returns: it is already in hours, so don't convert +it. A negative figure means the filesystem isn't filling, so say that instead +of giving a time. When you're done, reply with your findings in plain text: