We cannot measure leaks from every pipe joint. One alternative is to measure the sum of lots of leaks from a distance. Flights over US shale gas fields reveal large methane sources, but these areas also have cattle farms that produce methane and the two sources need to be separated.
Source: How fracking can contribute to climate change | Environment | The Guardian