Document that getMetrics() returns null until Cluster object is init'd.

Description

In 2.0.10 and 2.1.6 a change was made ( I believe) that made it such that Cluster.metrics were not instantiated until cluster.init was called. We should document in the upgrade guide for 2.0.10 and 2.1.6 that you should make sure the Cluster has been init'd (either by .init(), .newSession().init(), or connect()) before accessing Cluster.getMetrics().

I believe there may be other Cluster members that are like this as well, but i'm unsure whether or not they are exposed.

Environment

None

Pull Requests

None

Status

Assignee

Olivier Michallat

Reporter

Andy Tolbert

Labels

None

PM Priority

None

Reproduced in

None

Affects versions

None

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Sprint

Priority

Major
Configure