IT, just saw this.
Don't listen to everyone telling you to tell you wife. It has to be your decision. You know your wife.
But, realize that your relationship will never be the same if you tell her. It might be stronger, or worse, but it definitely will be different.
Some guys enjoy the freedom and chizuk they get after telling. Some are taken to divorce court.
In my humble opinion, I think a lot of it has to do with how much she already knows. If you think she already knows, and she starts asking you questions about it, you might want to say something.
If she hasn't figured it out, you may not want to tell her.
By the way, even if you tell her, you don't have to go through all of the details. I don't think wives want or need to know how often their husbands are motzei zera. Just be general, like you have an "internet problem" with all the pritzutz around, but let her know that you're working on yourself.
If you tell her, make sure you tell her it's not her fault, and that you love only her.
If you've never cheated on her, make sure to tell her that too.
Good luck.