Run your data operations on a single, unified platform.

  • Easy setup, no data storage required
  • Free forever for core features
  • Simple expansion with additional credits
cross-icon
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

A comprehensive guide to telemetry

How do you collect telemetry data, which KPIs should you set, and how to automate telemetry end-to-end

How To
August 29, 2022
A comprehensive guide to telemetry
No items found.
How do you collect telemetry data, which KPIs should you set, and how to automate telemetry end-to-end

Running your business without data is like flying blindfolded. You might get lucky or you might crash without warning.

Telemetry can help you spot issues before they develop and hurt your bottom line.

In this article, we’ll dive deep into what telemetry is, how to set it up (with best practices and common pitfalls to avoid), and equip you with the tools to automate it.

What is telemetry?

Telemetry systems monitor the performance of remote components. 

When you have multiple components that are physically in distinct locations, each component produces telemetry data about its performance locally and transmits data from the remote sources to a central telemetry system for monitoring.

“Telemetering” and “transmission of data” might sound a bit abstract. But in fact, the overall idea is very clear when looking at a couple of examples.

What are examples of telemetry? 

Telemetry is used in multiple industries to monitor the performance of remote sources:

  1. Agriculture: meteorological data is collected from multiple weather balloons to quickly spot weather trends that could ruin crops.
  2. Telecommunication: telephone lines are equipped with Internet of Things (IoT) sensors that send data wirelessly or via radio telemetry to inform of the status of the telephone lines. Telecommunication companies can quickly spot if a telephone pole or line is down via the data received. 
  3. Healthcare: ICU patients are connected to medical devices that continuously report in real-time their heart rate and blood pressure. In case the health metrics get to a critical level, the devices send alarms to medical professionals who intervene to help the patients. 
  4. Digital advertising: check that your ads are up and running on Facebook Ads, Google Ads, and Linkedin Ads. Sometimes advertising campaigns get stopped and you need to review them before they can run again. Similarly, make sure your pricing policies are within budgets and campaigns are not running astray.
  5. Software development: Irrespective of whether you host your app on-premises or rely on cloud providers (like AWS) DevOps measures metrics to assure your app is running as intended: CPU over-utilization (increased costs) and under-utilization (potential software bugs), routing issues, security breaches, computer network bandwidth utilization, frequency of database requests, etc.
  6. … and many more.

Telemetry is present across so many industries - but why would we need it?

Why would you need telemetry?

Telemetry data offers many benefits and solves many problems:

  1. Performance overview. Telemetry can give you the confidence that your operations are on the right track. Metrics such as average server uptime, number of completed transactions, CPU utilization, and others can give you confidence that the ship you’re running is airtight.
  2. Early alarm. In case something goes wrong, telemetry data can quickly showcase the source of the problem before you get client complaints. 
  3. Debug issues. Telemetry data is often rich with information about what error happened and how it affected your performance. This helps you with root cause analysis and troubleshooting. Well-organized telemetry data can increase your response time to problems.

To rip the benefits of telemetry, you need to make sure to set up your telemetry data collection, cleaning, and reporting correctly.

#getsmarter
Oops! Something went wrong while submitting the form.

Build data products in days instead of months and focus on what really matters - delivering value to your customers.

How to set up telemetry for your company?

Before you start extracting data from remote sources, you need to figure out which telemetry data is needed by defining business metrics and KPIs that are translated into a data collection plan.

What metrics and KPIs should you track with telemetry data?

All business metrics and KPIs help you improve decision-making. 

When setting up metrics and KPIs for telemetry data, make sure to build metrics by these four principles

  1. Baseline metric. The baseline can either be the average performance of your telemetrically collected data or a business baseline (e.g., Service Level Agreement of your software uptime).
  2. Deviation from the baseline. To understand if performance is on the right track, you need to calculate how the current metric deviates from the baseline. Some variability is expected, so make sure to calculate metrics
  3. Metric trends through time. To spot trends of improving or derailing performance, you need aggregate metrics. The best way to aggregate metrics is to calculate the baseline and deviation through time.
  4. Metric trends by segments.

How would this arrangement look in practice? Let’s look at an example of an e-commerce shop you run:

Now it’s time to collect the data.

Where to get telemetry data?

You might be wondering where you can find telemetry data for the tools and processes you use. 

Luckily, the majority of modern software provides telemetry data out of the box (or can be found in some hidden logs if you dig into it).

For example:

  1. PostgreSQL and other databases automatically generate and save statistics on performance (check the docs).
  2. Amazon Web Services (AWS) offers telemetry as a service, both as open source (do it yourself) and as a managed service (pay for it) - check the options here. Other cloud providers, server hosting providers, and even your own servers (Apache Server as an example) can do the same. 
  3. Facebook Ads and other advertising platforms offer a myriad of tools for monitoring (learn more).

Beware, though, getting telemetry data can also become very complicated. These are the common challenges to keep in mind:

  1. No telemetry data is generated in the tool. Not all apps and hardware you use offer telemetry out of the box. Sometimes, you’ll need to build a data generator yourself. The complexity varies - from adding a line of code to your app to log an event to designing and manufacturing PCB chips for your sensors. 
  2. Telemetry data is malformatted. Telemetry data is often generated as a log of text. Not as ready-to-consume information. Oftentimes, you will have to transform the data, not just collect it. For instance, you might need to write a custom parser that reads the telemetry logs and extracts the information you need. 
  3. Telemetry data is regulated. If you collect information about individuals, telemetry data often falls under privacy policy and is regulated by data privacy regulations (e.g., GDPR). Make sure to uphold the regulations and collect data according to best practices - ask for consent before collecting data, discard personally identifiable information, mask all information by anonymization, etc. 

What to do with telemetry data once it’s collected?  

You can scale your data operations, save 30% on costs and make more money. But only if you use Keboola.

Use telemetry data to drive impact

Telemetry works for you if you apply telemetry to your business practices. To do that:

  1. Build dashboards and other BI reports that collect all telemetry data (baselines, deviations, aggregate metrics through time and broken down by segments) in one place so you can keep a finger on your business’ pulse.
  2. Monitor regularly. Make sure to regularly check dashboards. The best way to do it is to lower the friction of monitoring. This can include sharing reports with a wider team or even company and building up processes that go over monitoring (e.g., check the metrics on your daily stand-ups).
  3. Set up alerts. For business-critical telemetry data, set up alerts that ping you when something goes wrong. For example, when your server uptime falls by more than 1% as agreed in your SLA.
  4. Automate. Automate telemetry data collection from remote sources, cleaning (parsing), loading, and visualizing end-to-end with devoted tools. This is especially important for data that you need in real-time - ad hoc data collections will not work in this case, you need continuous data streams. 

One of the biggest challenges when driving impact with telemetry data is the groundwork needed to combine telemetry from all the different systems. 

For example, databases have their own monitoring data that you need to extract, cloud providers format and save data differently than databases, advertising platforms open telemetry via APIs, etc.

Some open source tools can help you, such as Prometheus and Grafana, but they require a lot of work. Instead, make your life easier with devoted telemetry tools. 

Choose the right tool for telemetry

Keboola can help you take control of your telemetry data and use it to drive company-wide impact.

At its core, Keboola is a Data Stack as a Service platform. It automates and simplifies all data operations: including data engineering, DataOps, and data analytics.

Keboola offers more than 200+ connectors that help you collect data from various remote sources (from databases to data lakes on cloud providers, from advertising platforms to sensors). 

With its Transformations, you can easily build parsers or clean telemetry data in Python, SQL, R, Julia, or another language of your choice.

Keboola also integrates seamlessly with BI tools such as Looker, Power BI, Tableau, and many more. Allowing you to visualize telemetry data and keep track of your app's performance.

Set up alerts via Keboola and send them directly to Slack or other communication devices.

Finally, Keboola is built for automation. So you can simply schedule and orchestrate all your jobs from Keboola, and run entire pipelines automatically - Keboola will collect, clean, and load telemetry data into your reports, without you needing to do the heavy lifting.

Building these pipelines in Keboola gives you many advantages - since it is universally compatible with the wide ecosystem of data stacks, you can use Keboola as a single solution for all your telemetry data. 

Moreover, you can also keep track of Keboola’s own inner workings - with the Telemetry Data Component, you can collect information about how Keboola is performing all your telemetry operations.

Telemetry is just one of the use cases you can automate with Keboola. Contact our sales team to discuss your particular needs. 

Subscribe to our newsletter
Have our newsletter delivered to your inbox.
By subscribing to our newsletter you agree with Keboola Czech s.r.o. Privacy Policy.
You are now subscribed to Keboola newsletter
Oops! Something went wrong while submitting the form.

Recommended Articles

Close Cookie Preference Manager
Cookie Settings
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and assist in our marketing efforts. More info
Strictly Necessary (Always Active)
Cookies required to enable basic website functionality.
Made by Flinch 77
Oops! Something went wrong while submitting the form.
>