Expression 1 uses a range vector (data over a 1 hour time window) with predict_linear. However if you only provide one data point, then there's no way it can do linear regression to fit a line.
Expression 2 performs an operation between two different metrics, but you've only provided a data point for one metric. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/3871be2a-99df-4550-afe2-a75b76db83c0%40googlegroups.com.

