Never miss a packet with Pipeline Recommendations

Golioth released Pipeline Recommendations on our console today that intelligently monitors and recommends updates to your pipelines so you never miss a packet flowing through your project. This enhances Golioth Pipelines, which route data to internal or external data sinks and enable complex transformation and interaction with data flowing in from your IoT devices in the field.

Unrouted data is unhappy data

As a regular user of our services, this new feature feels like a gift to save my sanity. Here’s how my workflow sometimes goes:

  • I set up a device to use the Golioth Firmware SDK
  • I see on my console output from my device and on the Golioth console that my device has successfully connected to Golioth
  • I click on the LightDB Stream tab, because I sent some sensor data there and…nothing!

What just happened? Well, the details matter!

A common use case is that I might be sending a different datatype than is currently enabled via pipelines. As a recent project shows, if I am sending through CBOR, JSON, and Octet-stream (effectively binary) data, each needs to be handled differently.

The same goes for paths and filtering. If I am sending data to a path that either does exist or isn’t covered by a wildcard path (*) in a pipeline, then that data will be missed.

Previously this data was still hitting the Golioth server, but it wasn’t being routed to anywhere useful. What’s more, it was difficult to figure out what was going wrong and how to fix it. Now, there are lots of useful messages to point out where we think your pipelines could improve.

Finding a home for each packet

Not only do we now alert you to the fact that there’s unrouted data, we also recommend a good path to start viewing/capturing that data. This takes advantage of internal Golioth destinations like LightDB Stream (our timeseries database product), which helps to capture data coming in.

In the above case, it’s because I purposefully turned off a pipeline with known usage. If I had other data that wasn’t showing up on a chart though, that would also be presented. I think for many projects, that is even more useful because of the unknown nature of data that you thought was flowing through, but it somehow doesn’t show up where you expected. This is what I see when I click the ‘Create Pipeline’ button

Try it today!

This new feature is deployed and available on the console. If you’re using Golioth’s Firmware SDK samples, you are taking advantage of our default CBOR to LightDB Stream pipeline. You can toggle that “off” and see that the device is sending data not being captured by pipelines. As you build new functionality into samples and your products, the Recommendations feature will help you to diagnose and set up new pipelines.

Chris Gammell
Chris Gammell
Chris is the Head of Developer Relations and Hardware at Golioth. Focusing on hardware and developer relations at that software company means that he is trying to be in the shoes of a hardware or firmware developer using Golioth every day. He does that by building hardware and reference designs that Golioth customers can use to bootstrap their own designs.

Post Comments

No comments yet! Start the discussion at forum.golioth.io

More from this author

Related posts

spot_img

Latest posts

Creating an off-grid, solar powered Bluetooth-to-Cloud gateway

What happens when you're ready to utilize Bluetooth-to-Cloud, but are far from a power point and network connection and want to ensure your Bluetooth nodes' data still shows up on the cloud? Utilize the power of the sun!

Adding SiLabs EFR32BG27 to the Golioth Bluetooth-to-Cloud Service

If there's one thing we love doing, it's adding new chips to an IoT fleet. The Golioth Bluetooth-to-Cloud service is so hot right now...

Expanding Golioth Location with Gateway-Based Positioning

Less than two weeks after Golioth Location general availability, we have expanded the service to support gateway-based positioning, making it possible to obtain the location of devices that do not have GNSS, cellular, or Wi-Fi capabilities.

Want to stay up to date with the latest news?

Subscribe to our newsletter and get updates every 2 weeks. Follow the latest blogs and industry trends.