The Giants' final few weeks of the 2017 season will be without their biggest offseason signing.

Mark Melancon will undergo season-ending pronator release surgery on his right elbow. The surgery will be performed Tuesday in Los Angeles by Dr. Steven Shin.

In his first year as a Giant, Melancon finishes 1-2 with a 4.50 ERA and 11 saves. The 32-year-old only pitched 30 innings this season.

On Dec. 5, the Giants signed Melancon to a four-year $62 million contract. At the time, the deal shattered the record for a contract awared to a closer.