The Mets avoided their first eight-game skid since losing 11 straight in 2004.
After multiple visits by Mets coaches and a trainer, DeGrom survived the seventh with a strikeout, a juggling catch by shortstop Jose Reyes and Cameron Maybin’s flyout.
Jerry Blevins got two outs in his major league-leading 25th appearance, Paul Sewald recorded an out in the eighth and Addison Reed pitched the ninth for his fifth save.
Terry Collins managed his 1,012th game with the Mets, tying Davey Johnson for the most with the franchise. Collins is 498-514 in seven seasons with New York.
Ricky Nolasco (2-3) allowed two runs, one earned, over six innings. Los Angeles had won four straight.
(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)