I am not sure I understand what percentage you mean … can you explain more what you want to measure?
/MR On Fri, Mar 5, 2021, 15:13 saipradeep bojja <[email protected]> wrote: > Hi > We have installed the process exporter in Linux machines to monitor the > processes in Prometheus. We are monitoring the processess using > "namedprocess_namegroup_num_procs" and "namedprocess_namegroup_states". > > We are getting the values more than 1 for each processess. So that we are > not able to calculate the the values in percentage. > > *Solution * > Solution that we have tried is > "avg_over_time(namedprocess_namegroup_num_procs{job=~"Appops_.*"} > [$__interval]) >bool 0 " > to make the value either 0 or 1 So that it will be easy to calculate in > percentage. But we are not getting the correct values in percentage. > > Please help us on the Calculating the percentage for the processess. > > -- > 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/f6fb33e7-1c00-4809-9774-8ae59b47e792n%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/f6fb33e7-1c00-4809-9774-8ae59b47e792n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAMV%3D_gZDuh%2B%2BJj%2BpEqOD4QPVBAhU-j1yfj0bDdtv%3D%2BTx00DcWA%40mail.gmail.com.

