TimeSeries Database - InfluxDB Tutorial - Part1

preview_player
Показать описание
InfluxDB is TimeSeries database that is designed to store timeseries data. It is used to -
1. Collect,
2. Store,
3. Process and
4. Visualize time series data

Docker Based Setup : Pre-requisties to have docker installed

docker run --name influxdb2_tutorial --publish 8087:8086 ^
--mount type=volume,source=influxdb2-tutorial-data,target=/var/lib/influxdb2 ^
--mount type=volume,source=influxdb2-tutorial-config,target=/etc/influxdb2 ^
--env DOCKER_INFLUXDB_INIT_MODE=setup ^
--env DOCKER_INFLUXDB_INIT_USERNAME=influxtutorial ^
--env DOCKER_INFLUXDB_INIT_ORG=InfluxTutorial ^
--env DOCKER_INFLUXDB_INIT_BUCKET=first_bucket ^
influxdb:2

###
# Sample Data to explain LineProtocol
###

host,machine_name=host1,region=us-east-1,zone=us-east-1a cpu=45.3,memory=46.9
host,machine_name=host1,region=us-east-1,zone=us-east-1a cpu=34.3,memory=86.6
host,machine_name=host1,region=us-east-1,zone=us-east-1a cpu=91.4,memory=23.2
host,machine_name=host1,region=us-east-1,zone=us-east-1a cpu=92.6,memory=12.4

Рекомендации по теме
Комментарии
Автор

Thanks for the video.. I’m trying to work with a csv file with time series measurements data from a weather station… looking for some support

kennyk