check an threshold before sending metrics to the APM
Merge branch 'threshold'