What are the trade-offs between different sensor technologies in terms of cost and performance?

Each sensor technology seems to offer something different—whether it’s capacitive sensors for touch, or piezoelectric for pressure sensing. What have been the trade-offs you’ve faced when choosing between them? Do you prioritize performance or cost, or is power consumption a bigger factor in your projects?