Technically, Prometheus doesn’t have the concept of joining series like SQL, for example, has. However, series can be combined in Prometheus by using an operator on them
Series A
sum(rate(rpc_request_duration_seconds_bucket{instance=~"10.43.1.244"}[1m]))
Series B
sum(rate(rpc_request_duration_seconds_bucket{instance=~"10.43.1.245"}[1m]))
What is the best way to Join these two series uning prometheous