Streaming Time Series with Jupyter and InfluxDB
Blog post from InfluxData
This tutorial demonstrates how to query system stats data from InfluxDB v2.0 using Flux and display the results in real-time in a Jupyter Notebook. The code imports necessary libraries, establishes a connection to the InfluxDB instance, defines a function `source_data` that fetches data from the database and refreshes it at regular intervals, generates an auto-refreshing DataFrame with this function, and creates a visualization using hvPlot to display the CPU usage over time. The tutorial aims to extend the invitation of Jupyter Notebooks to InfluxDB, providing a way to share code, explanations, and visualizations in the same place, making it easier to experiment and analyze data.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Serverless | 5 | 1,091 | 63 | 25 | +323% |
| Real-time | 4 | 384 | 151 | 53 | -26% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.