2nd Level Divination
Casting Time: 1 action
Range: 120 feet
You sense the presence of any trap within range that is within the line of sight. A trap, for the purpose of this spell, includes anything that would inflict a sudden or unexpected effect you consider harmful or undesirable, which was specifically intended as such by it's creator. Thus, the spell would sense an area affected by the alarm spell, a glyph of warding, or mechanical pit trap, but would not reveal a natural weakness in the floor unstable ceiling or hidden sinkhole.
The spell merely reveals that a trap is present, You don't learn the location of each trap, but you learn the general nature of the danger posed by the trap you sense.