The City captain was making his first competitive appearance since May in Wednesday night's eventual 2-1 EFL Cup third round win over Swansea City.
Kompany, who has suffered calf and thigh problems in recent times, came off the Liberty Stadium pitch late in proceedings to receive treatment on some sort of injury but Guardiola does not seem too concerned.
"The doctors are speaking with him and seeing what's up," said Guardiola.
"Hopefully it will not be a big problem. We're going to wait for the results from the doctors and I still don't have that or the opinion of my staff.
"It was good. It's not easy after a long, long time without playing, defensively he was so strong and he played really good.
"After they scored the goal, I asked: 'What happened?' They said that Vincent had gone to the locker room, but hopefully it will not be a big problem. We will have to wait.
"If he's injured, he's injured, he cannot stay on the pitch. As I say, I don't know what happened.
"The doctor is testing, looking at what's going on and after we'll see."