Getting started with influx Db and Grafana Installation Guide
- 1. Bachelor in Electronic Engineering
Master in Electrical Engineering
Master in Computer Engineering
Full stack Python Developer
- 3. What is Influx
DB
InfluxDB is the open source time series database that is part of the
TICK (Telegraf, InfluxDB, Chronograf, Kapacitor) stack. It is designed
to handle high write and query loads and provides a SQL-like query
language called InfluxQL for interacting with data.
Production-ready
Fast, scalable, available
SQL-like queries
- 5. What is
Grafana
Grafana is an open source metric analytics &
visualization suite. It is most commonly used for
visualizing time series data for infrastructure and
application analytics but many use it in other
domains including industrial sensors, home
automation, weather, and process control.
The leading open source software for time series
analytics
- 6. Installation of Influx Db
1
You can install influx DB
via two ways
2
1. Docker Container
3
2. Brew
4
We will use Brew method
for installation
- 7. Installing
influx DB on
Mac OS
• brew update
• brew install influxdb
• To have launchd start InfluxDB at login, run:
• ln -sfv /usr/local/opt/influxdb/*.plist
~/Library/LaunchAgents
• Run Influx DB
• influxd -config /usr/local/etc/influxdb.conf
• Or
• Influxd [Type this on Terminal it should Work ]
•
- 8. Installation for Windows | Ubuntu
• Please refer Link https://docs.influxdata.com/influxdb/v1.7/introduction/installation/
- 10. Installing
Grafana on
Mac os
• More details refer link
https://grafana.com/docs/installation/
• brew update
• brew install Grafana
• Starting Grafana
• To start Grafana using homebrew services first
make sure homebrew/services is installed.
• brew tap homebrew/services
• Start Grafana with following command
• brew services start Grafana
• brew services stop grafana
- 11. Installing Python Plugin for Influx Db
• pip install influxdb
• install --upgrade influxdb
• pip uninstall influxdb
• On Debian/Ubuntu, you can install it with this command:
• sudo apt-get install python-influxdb
• More details https://github.com/influxdata/influxdb-python