public Errors lastKnownError() {
        return lastKnownError;
    }
Contains the metrics instance metadata and the state of the client instance.
server/src/main/java/org/apache/kafka/server/metrics/ClientMetricsInstance.java