You will need a Honeycomb API key to send data with the examples. You can find your API key here.
To build and run these examples:
npm install # install dependencies from the repo root
npm run build # build the libhoney package
cd $example-dir
npm install ../.. # this installs the libhoney packge you built above
npm install # install example dependencies
HONEYCOMB_API_KEY=YOUR_WRITE_KEY npm start
In a different terminal, you can then curl --get http://localhost:3000/
to send a request to the running example,
and then see the resulting telemetry at ui.honeycomb.io.