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