fix(runs): the forecast figure is in hours, so the model doesn't convert it (archie #2005)
This commit is contained in:
1 file changed
+5
-3
@@ -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="<instance>",mountpoint="<mountpoint>"}[6h], 0)
|
||||
/ deriv(node_filesystem_avail_bytes{instance="<instance>",mountpoint="<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:
|
||||
|
||||
|
||||
Reference in new issue
Block a user