The San Francisco Giants have agreed to terms on a one-year, $1.5 million contract with Drew Pomeranz.

The deal includes $3.5 million in possible roster and performance bonuses.

"The big thing for me was opportunity," Pomeranz said. "My big thing is getting back on track to doing what I can do and just being myself again because it's very frustrating when you have to fight through a year where you know this isn't me, how do I fix this, what I can I do to make this never happen again? In that regard, this just felt like a great fit for me."