Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
None
Description
In order for prometheus->cbmultimanager discovery to work for both 6.x and 7.x clusters, we need to try to connect to each node at most three times - once with the port that Prometheus gives us (which may be 8091 on 7.x, 9091 on 6.x with the Exporter, or something else if custom ports are in use), and once each with 8091 and 18091 (and possibly more once we support custom ports). This is a fairly expensive operation, made more expensive by the fact that we need to try it for each node we discover, as they might all be from different clusters but we have no way of knowing that short of getting the cluster UUID.
Investigate more efficient ways of doing this.