Embedded in the plastic is a copper loop that when worn through / broken, creates an open circuit. If your amber brake light has comes on, you've worn through and need to replace the sensor.
Keep in mind there are only sensors on the left sides, front and back.
These sensors have worked great for me.
Front
Rear
Some guys permanently splice the connection and forego the sensor re-installation. For me, they are cheap insurance and a nice tool for reminder.