Here are the udpdated tests : 

 - series: 'node_filesystem_free{fstype="ext4"}'
   values: '1+0x120'

 - expr: 'predict_linear(node_filesystem_free{fstype!~"tmpfs"}[1h], 4 * 
3600) > 0'                                                                  
                                                                  
   eval_time: 1m                                                            
                                                                            
                                                              
   exp_samples:                                                            
                                                                            
                                                                
     - labels: 'node_filesystem_free{fstype="ext4"}'                        
                                                                            
                                                                  
       value: 1          

And here is the error message I get: 

  FAILED:
    expr: "predict_linear(node_filesystem_free{fstype!~\"tmpfs\"}[1h], 4 * 
3600) > 0", time: 1m0s,
        exp:"{__name__=\"node_filesystem_free\", fstype=\"ext4\"} 1E+00"
        got:"{fstype=\"ext4\"} 1E+00"

                            
On Saturday, April 4, 2020 at 5:05:49 PM UTC+8, Brian Candler wrote:
>
> Put at least two data points in the time series.
>

-- 
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/00d879f3-7159-4e7a-9176-6c5df9eab319%40googlegroups.com.

Reply via email to