How to combine 1 and 2 in one query level?
1 - sum by ()
(access:ifHCOutOctets:rate{ifAlias=~"ETH.*-4G-[BE|HS].*Adana",ifDescr=~"Tunnel.*",sysName=~".*2886\\([1|2|]\\).*"})
2- sum by
()(access:ifHCOutOctets:rate{ifAlias=~"ETH.*-FIX-[BE|HS].*Adana",ifDescr=~"Tunnel.*",sysName=~".*2886\\([1|2|3|4]\\).*"})
I tried this that is not working properly
sum by ()
(access:ifHCOutOctets:rate{ifAlias=~"ETH.*-4G-[BE|HS].*Adana",ifDescr=~"Tunnel.*",sysName=~".*2886\\([1|2|]\\).*"})
or sum by
()(access:ifHCOutOctets:rate{ifAlias=~"ETH.*-FIX-[BE|HS].*Adana",ifDescr=~"Tunnel.*",sysName=~".*2886\\([1|2|3|4]\\).*"})
--
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/7a1358d5-b129-49f3-b324-40696aa7c536n%40googlegroups.com.