The Australian revealed that Renault didn't change much on the car throughout the weekend, which is a strong sign that the team knows what he needs for the weekend.
"I definitely get more comfortable with the car with each lap that I do," Ricciardo said. "We've barely touched the car all weekend, so we already know what I need from the car and what I like.
"That's a sign as well, there's a good correlation between us. That's also giving me the confidence now to drive and get somewhere with it.
"I knew there was a chance of Q3 but I didn't think it would be a standout. There's fast chicanes, a lot of kerbs, that's one thing we've been trying to make as good as the Red Bull.
"We've been coming a long way since Melbourne and it's nice to get this result here."
Ricciardo revealed that he knew after Q2 there was a chance he could get in front of Gasly in the final session after he wasn't happy with his hot lap.
"P4 is sweet for sure," he said "We knew that once Max was out, Q3 we could have a real run. In Q2, Gasly was about four-tenths ahead of me but I wasn't happy with my lap so I knew there was some free time to take.
"I knew Q3 could be interesting but he [Gasly] also had two sets of new tyres, so I knew it would have to be a perfect lap. But to get Valtteri as well... I saw he had a spin and I don't know what happened on the second run.
"You do need the car under you to give you confidence. You don't need the fastest car. We were able to get something pretty close to that in Monaco and we've brought that here as well."