In vivo monitoring