iopipe / serverless-plugin-iopipe

Automatically wrap your serverless framework functions with IOpipe
https://www.iopipe.com
Apache License 2.0
40 stars 8 forks source link

GA ping should be disabled when offline #85

Open pselle opened 6 years ago

pselle commented 6 years ago

Original report: https://github.com/iopipe/iopipe-js/issues/23

Trying to work offline locally (no internet connection ... caltrain), i couldn't hit my functions because Google Analytics dns lookup fails.

I tried setting iopipeNoStats in serverless.yaml but there seems to be a code issue (i ended up just removing iopipe temporary to work).

Easy to reproduce by turning off your Internet connection and run with serverless offline.