Re: [prometheus-users] Prometheus disk I/O metrics

2020-09-15 Thread rsch...@gmail.com
Corrected the above expression by fixing node_disk_write_read_seconds_total 
to node_disk_write_time_seconds_total:-
(rate( node_disk_read_time_seconds_total [5m]) + 
rate(node_disk_write_time_seconds_total[5m]))/(rate(node_disk_reads_completed_total[5m])
 
+ rate(node_disk_writes_completed_total[5m])) > 

On Tuesday, September 15, 2020 at 11:31:43 AM UTC-7 rsch...@gmail.com wrote:

> Thanks for quick response. Few clarifications:-
> 1) Is below calculation is right to get equivalent of "system.io.await" ?
> (rate( node_disk_read_time_seconds_total [5m]) + 
> rate(node_disk_read_time_seconds_total[5m]))/(rate(node_disk_reads_completed_total[5m])
>  
> + rate(node_disk_writes_completed_total[5m])) > 
>
> 2) If prometheus server has to perform this calculation let say every 5 
> minutes, will this cause CPU load if there are many such alerts for 
> different environments firing at the same time? Is there any better 
> alternative to this?
>
>
>
> On Monday, September 14, 2020 at 10:24:56 PM UTC-7 wp...@pobox.com wrote:
>
>> You can calculate it from the basic IO metrics Prometheus provided.
>>
>> Regards.
>>
>>
>> rsch...@gmail.com wrote:
>>
>> In datadog I used metrics "system.io.await" to create alert on my linux 
>> instances. What is the equivalent metrics in prometheus? 
>>
>>

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/1f8732de-c212-4029-903e-a8c23fd4835en%40googlegroups.com.


Re: [prometheus-users] Prometheus disk I/O metrics

2020-09-15 Thread rsch...@gmail.com
Thanks for quick response. Few clarifications:-
1) Is below calculation is right to get equivalent of "system.io.await" ?
(rate( node_disk_read_time_seconds_total [5m]) + 
rate(node_disk_read_time_seconds_total[5m]))/(rate(node_disk_reads_completed_total[5m])
 
+ rate(node_disk_writes_completed_total[5m])) > 

2) If prometheus server has to perform this calculation let say every 5 
minutes, will this cause CPU load if there are many such alerts for 
different environments firing at the same time? Is there any better 
alternative to this?



On Monday, September 14, 2020 at 10:24:56 PM UTC-7 wp...@pobox.com wrote:

> You can calculate it from the basic IO metrics Prometheus provided.
>
> Regards.
>
>
> rsch...@gmail.com wrote:
>
> In datadog I used metrics "system.io.await" to create alert on my linux 
> instances. What is the equivalent metrics in prometheus? 
>
>

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/2269ca61-9c45-4392-a61b-0169d0a0a795n%40googlegroups.com.


Re: [prometheus-users] Prometheus disk I/O metrics

2020-09-15 Thread Brian Candler
Sorry, I have no idea what metrics Nginx exports or what Lua scripts in 
Nginx can do.

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/3f6ae14e-dd75-4d77-9779-663e7eaa904do%40googlegroups.com.


Re: [prometheus-users] Prometheus disk I/O metrics

2020-09-15 Thread Wesley Peng

Brian,

Do you know if we can implement a Lua exporter within nginx who take 
application's APM and report to prometheus?


Thank you.


Brian Candler wrote:
Just to add, the data collected by node_exporter maps closely to the raw 
stats exposed by the kernel, so the kernel documentation is helpful:


--
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/2e0ca03a-4747-f214-d693-2e54996f01c8%40pobox.com.


Re: [prometheus-users] Prometheus disk I/O metrics

2020-09-15 Thread Brian Candler
Just to add, the data collected by node_exporter maps closely to the raw 
stats exposed by the kernel, so the kernel documentation is helpful:
https://www.kernel.org/doc/Documentation/iostats.txt
https://www.kernel.org/doc/html/latest/admin-guide/iostats.html

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/9a928530-978d-4e1c-9701-acee10c1bcbao%40googlegroups.com.


Re: [prometheus-users] Prometheus disk I/O metrics

2020-09-14 Thread Wesley Peng

You can calculate it from the basic IO metrics Prometheus provided.

Regards.


rsch...@gmail.com wrote:
In datadog I used metrics "system.io.await" to create alert on my 
linux instances. What is the equivalent metrics in prometheus? 


--
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/500d9891-b3cb-9a0e-1424-fc45cd614978%40pobox.com.


[prometheus-users] Prometheus disk I/O metrics

2020-09-14 Thread rsch...@gmail.com
In datadog I used metrics "system.io.await" to create alert on my linux 
instances. What is the equivalent metrics in prometheus?

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/f0b45fac-7764-4720-a72e-21d626ba2392n%40googlegroups.com.