public Sensor sensor(String name, Sensor.RecordingLevel recordingLevel) {
        return sensor(name, null, recordingLevel, (Sensor[]) null);
    }
Get or create a sensor with the given unique name and no parent sensors and with a given
recording level.
@param name The sensor name.
@param recordingLevel The recording level.
@return The sensor
clients/src/main/java/org/apache/kafka/common/metrics/Metrics.java