If I understand it correct, you mean you wan to combine several queries in
one *Panel* on your dashboard?
To achieve this, you need to add a second query on the panel-editing-form
in the lower part, at the end of the form. So you have at lest one line for
each query in one panel.
HTH, Peter
Pradeep Bangala Ramesh schrieb am Donnerstag, 11. Februar 2021 um 08:58:04
UTC+1:
> HI
>
> I would like to combine 2 prom queries in to single one
> filter the instances with cpu utilization less than 50 and memory
> utilization less than 30
>
> for cpu
> (1-rate(node_cpu_seconds_total{instance=~"$node",mode="idle"}[30m]))*100 <
> 50
>
> For memory
>
> ((node_memory_MemTotal_bytes) - (node_memory_MemFree_bytes +
> node_memory_Cached_bytes + node_memory_Buffers_bytes)) /
> node_memory_MemTotal_bytes * 100 < 30
>
> Please help on how to combine both queries in to single one
>
> Regards,
> Pradeep
>
--
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/7ec9f57c-041a-4214-bad6-8db3cb61bab1n%40googlegroups.com.