Company
Date Published
Author
Kristina Robinson
Word count
2028
Language
English
Hacker News points
None

Summary

InfluxDB is a powerful time series database that allows users to capture and aggregate metrics at custom time groupings. To take it to the next level, downsampling and trending become critical. In this tutorial, we learn how to trend values over time using InfluxDB's SpeedTest Community Template, which downloads internet connectivity speeds every minute. We calculate the minimum, average, and maximum speeds over 5-minute intervals and write them to a new bucket called "speedtest-downsampled". The new bucket accumulates snapshots of the three aggregated data values, which can be queried over time and added to a dashboard. We also learn how to incorporate task outputs into InfluxDB dashboards and visualize the output with a graph (line) visualization.