I'm trying to make a dashboard for disk space forecasting. I've got a prometheus like this:
predict_linear(
(1-(disk_volume_available_bytes{instance=~"$server"} / disk_volume_total_bytes{instance=~"$server"}))[32d:1d],
864000
) > 0.95
Which works well enough at cutting the list of disks to those that actually need attention. What I'd then like to do is have another query (either in the same panel or a different one - doesn't matter to me) that takes any disk identified from the previous list and get me the actual/observed metrics. Said another way, if a disk is forecasted to be above 95% full, I want both the forecast line as well as the actual usage data for that disk. And if it's forecasted to be below 95%, don't display anything for either the forecast or the actual.
Is this possible?