Put these queries into Query A and Query B First Do an outerjoin based on index then organize fields to hide index
[image: image.png] In the above example i have done an outerjoin on container then has did organize fields i have hidden the namespace and time values. Hope this is what you are looking for. On Mon, Mar 15, 2021 at 5:08 PM [email protected] < [email protected]> wrote: > > Hello, > > I have a certain requirement to implement in Grafana where we need to show > interface utilization for switch. > > I got combination of two queries in order to achieve it > > 1) ifOutOctets{hostname="XX",ifIndex="103",instance="XX",job="SNMP"} > > 2) > ifName{hostname="XX",ifIndex="103",ifName="Te1/0/1",instance="XX",job="SNMP"} > > First query -- It gives interface utilization on specific index > > Second query --- It gives interface name mapped to specific index > > Now How can I combine both these query in a way that I get interface > utilization on interface name not on index. > > Pls advice. > > Thanks, > Saurabh > > -- > 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/2493f056-332b-402b-bc69-8234c6176148n%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/2493f056-332b-402b-bc69-8234c6176148n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Joe Pauly -- 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/CA%2B8Z2sgPKhX-jxje-JtU%2BSDrdJ%2BCN9o9LNV_MJ3iJh%2BsF-eHtw%40mail.gmail.com.

