Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Libhoney Examples

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:

  1. npm install # install dependencies from the repo root
  2. npm run build # build the libhoney package
  3. cd $example-dir
  4. npm install ../.. # this installs the libhoney packge you built above
  5. npm install # install example dependencies
  6. 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.