Intro to o11y Topic 4: Connect Your App to Honeycomb
In this video, Developer Advocate Jessica Kerr explains how to connect your app to Honeycomb using an API key.
You should expect to see your data in Honeycomb in five seconds or less once this process is complete. If you don’t, move on to the o11y Topic 5: Troubleshooting.
Note: This video shows a sample app called Sequence of Numbers. If you would like to download and follow along, you can do so using the process from Intro to o11y Topic 3. If you need help getting your Honeycomb API key, check out o11y Topic 2.
Jessica Kerr [Developer Advocate|Honeycomb]:
Remember that API key you got from your Honeycomb account? We need to put it in an environment variable called HONEYCOMB_API_KEY. One system-agnostic way to do this is to add it to a file called .env. There’s no .env file in this project: it contains secrets, so we have git ignore it. Instead, copy .env.example to .env. Then open .env and fill in these blanks. Paste your API key here.
By the way, this works because we bring in the .env library first thing when this program starts. That reads the .env file into environment variables in the program’s environment. Okay, I’m gonna stop the app and start it up again. Now I open the Sequence of Numbers app at localhost:3000 and I hit go and stop to generate some numbers and make some data. Do that a couple of times, and then it’s time to go over to Honeycomb and see what we have.
Intro to o11y Topic 3: Get Your Own Sample App
The Intro to o11y video tutorial series will use a sample app called Sequence of Numbers to demonstrate Honeycomb’s functionality. In this video, Developer Advocate Jessica Kerr covers how to get that app up and running yourself.
Intro to o11y Topic 5: Dataset Troubleshooting
If you don’t see your dataset in Honeycomb once you’ve connected your app, it’s time to troubleshoot. In the two videos in this topic, Developer Advocate Jessica Kerr will go over some common dataset issues you may encounter. Choose the video that matches what you see.
Intro to o11y Topic 6: Looking at Your First Data in Honeycomb
In this video, Developer Advocate Jessica Kerr explains how to start looking at your first data in Honeycomb. From the home screen, we can see high-level monitoring graphs, check on the raw data coming in, and find some traces.