The Detection Meter appears when enemies can see you

It feels up as enemies begin to detect you

It will flash when you have been detected