Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

grafana - How to merge and rename series?

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

63 comments

56.7k users

...