[prometheus-users] Re: Writing prometheus test with metric operations/function

2020-04-04 Thread Belmark Caday
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'

[prometheus-users] Re: Writing prometheus test with metric operations/function

2020-04-04 Thread Belmark Caday
Here are the test's ive updated : Series and values: [image: Capture1.PNG] Expr : [image: Capture2.PNG] And here is the error message : [image: Capture3.PNG] 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. > -- Yo

[prometheus-users] Re: Writing prometheus test with metric operations/function

2020-04-03 Thread Belmark Caday
On Friday, April 3, 2020 at 3:02:45 PM UTC+8, Brian Candler wrote: > > 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. > I already cha

[prometheus-users] Writing prometheus test with metric operations/function

2020-04-02 Thread Belmark Caday
Here's my stackoverflow question : https://stackoverflow.com/questions/60992785/writing-prometheus-test-with-metric-operations-function anyone can help? -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and st

[prometheus-users] How to verifiy metrics from supervisord

2020-04-02 Thread Belmark Caday
I have enabled supervisord in node_exporter through --collector.supervisord.url="unix:///var/run/supervisor.sock" \ --collector.supervisord \ now how do i verify in the localhost:9100/metrics that there are supervisord data? or how do i verify if its working im