I have 2 Prometheus series:
customerCalls{domainIndex="1", instance="10.x.x.2", job="snmp2"} 2
customerCalls{domainIndex="2", instance="10.x.x.2", job="snmp2"} 3
And
customerDomain{customerDomain="outgoing_dom1.tld", domainIndex="1", instance="10.x.x.2", job="snmp2"} 1
customerDomain{customerDomain="outgoing_dom2.tld", domainIndex="2", instance="10.x.x.2", job="snmp2"} 1
I ould like to have 2 lines with values of the first serie and the name outgoing_dom1.tld or outgoing_dom2.tld in fonction of domainIndex.
How I can do this in Grafana?
question from:
https://stackoverflow.com/questions/65829849/how-to-merge-and-rename-series 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…