-
Notifications
You must be signed in to change notification settings - Fork 1
BinBotPlatform InfluxDB
Daemon Macklin edited this page Mar 10, 2020
·
3 revisions
Influx is being used to store monitoring data uploaded via mqtt. Influx is a NoSQL database that is specifically for timeseries data.
Install with the commands:
sudo apt-get install influxdb
sudo apt-get install influxdb-clientThe database name is BinBotStats all measurement will be stored in individual measurements.
Creating a database can be done with the command:
create database databaseNameA measurement is similar to a collection in Mongo or a table in SQL. New measurements will be creating automatically when data to that measurement is added.
| Measurement Name | Description | Fields |
|---|---|---|
| piSystemUsage | Measurement to record system metrics of the raspberry PI. | Ram%, Cpu%, Disk% |
| botSystemUsage | Measurement to record system metrics of the BinBot. | Ram%, Cpu%, Disk% |
| objDetect | Measurement to record object detection metrics from the BinBots camera. | |
| faceDetect | Measurement to record face detection metrics from the BinBots camera. | |
| soundDetect | Measurement to record sound detection metrics from the BinBots mic array. | |
| mouthPos | Measurement to record BinBot servo metrics. | |
| playedSounds | Measurement to record of the sounds played by the BinBot. | |
| batLevel | Measurement to record the BinBots battery level. | |
| garLevel | Measurement to record the BinBots garbagelevel. |