Vipassana meditation is a Buddhist practice that uses pure self-observation to realize the transient nature of life's activities.Related to this is the yoga meditation, witnessing your thoughts.
. . .
If you do find yourself thinking . . . then silently label it "thinking" and go back to the breath. If you hear a noise -- a cough or a siren on the street, for example -- label the noise "cough" or "siren" and return to your outbreath. If you feel discomfort in your ankles or knees, label it "pain," adjust your position if necessary, and return to the breath.
Zen Buddhist websites, news, and discussion