Fiber optics DSPI for in situ diagnostics