Pete Alonso has put the Mets on his back so often in his rookie season.

But with the Mets’ playoff chances running out of time, the first baseman has entered a mini-funk at an inopportune stretch. Alonso went 0-for-4 in Sunday’s 3-2 loss to the Dodgers, dropping to 0-for-his-last-20 since clubbing a pair of homers last Monday.

“I don’t think it’s ever a good time, to be honest with you,” Alonso said. “It’s been a rough week, but all I can continue to do is keep working and try to get better. Keep on trying to win, because at the end of the day, that’s what it’s all about.”

Alonso was out of the starting lineup Friday because he needed a day off, manager Mickey Callaway said. It did not prove immediate dividends, though, as he went hitless while the Mets dropped two of three to the Dodgers.

Alonso has played in 148 of the Mets’ 149 games this season and his 549 at-bats are the most of any rookie in the major leagues. But he said he was not feeling the effects of a long season.

“It’s been a tough go, but I feel fine,” said Alonso, who is tied for the major league record with 47 home runs. “I haven’t been necessarily capitalizing on some pitches and I need to do a better job at that. It’s a tough league. It’s the big leagues. Not every night is going to be my night. I just need to keep on continuing to work and do the best I can. The results will come.”

J.D. Davis and Todd Frazier have paid visits to the X-ray machines back-to-back nights but may have avoided the worst, if not bruises and soreness.

Davis was drilled in the left rib cage by a 96 mph fastball from Dustin May in the seventh inning Sunday and was removed for a pinch runner. His X-rays came back negative.

“I’m fine,” Davis said. “I’m just a little sore.”

Frazier was on the wrong end of another 96 mph fastball Saturday night that hit his left hand. He also underwent X-rays that came back negative. He did not start Sunday but was available off the bench.

Callaway opted not to use the red-hot Frazier, a right-handed hitter, in the ninth inning with two outs and the tying run on first. He opted for left-handed hitting Joe Panik as the pinch hitter to face Kenta Maeda and Panik struck out to end the game.

“Lefties are hitting way better than righties [off Maeda],” Callaway said. “That splitter’s tough on both, but Panik seemed to be the better matchup to us there.”

Edwin Diaz has entered a witness protection program of sorts, with Sunday marking the seventh straight game in which he did not pitch. The reliever has not appeared in a game since Sept. 8, which followed back-to-back blown saves.

Callaway said Diaz was fine physically.

“I think we continue to have faith that he’s going to go out and get some big outs for us,” Callaway said. “I think the game will present that.”