Technical requirements
Before we create our visualization panels, we’ll need to set up InfluxDB and Grafana servers, install a Python Docker container to run scripts, ingest the data into InfluxDB buckets, and finally, set up Grafana data sources. These steps should remind you of those we used when we introduced this data ingestion pipeline back in Chapter 05, Visualizing InfluxDB Data with Grafana Panels.
For this chapter, we will be working with both the weather.py
and earthquake.py
scripts, so we’ll go ahead and put them into a bin
directory to keep our repository directory tidy. We’ll also need to manually create two InfluxDB buckets, one for each dataset. Finally, we will need to create two separate data sources, each connecting to one of the two buckets.
Info
Tutorial code, dashboards, and other helpful files for this chapter can be found in this book’s GitHub repository at https://github.com/PacktPublishing/Learn-Grafana-10/tree/main/Chapter09...