Chip-Based Photonic Sensors For Metrology And Applications