n***@gmail.com
2018-05-24 22:01:30 UTC
Hi guys,
I am new to influx query language. I have metric "node_cpu" in my influxdb and I want to write following (promethous syntax) query in influxQL.
100 - (avg by (instance) (irate(node_cpu{job="node",mode="idle"}[5m])) * 100)
Can anyone tell me how to do it?
Thanks
I am new to influx query language. I have metric "node_cpu" in my influxdb and I want to write following (promethous syntax) query in influxQL.
100 - (avg by (instance) (irate(node_cpu{job="node",mode="idle"}[5m])) * 100)
Can anyone tell me how to do it?
Thanks
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/8dd344b8-e92b-4f5f-b949-04dbef24fe48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/8dd344b8-e92b-4f5f-b949-04dbef24fe48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.