Briefly describe the installation of influxDB distributed time series database and related operations in Docker

Briefly describe the installation of influxDB distributed time series database and related operations in Docker

Introduction to influxDB

influxDB is a distributed time series database. cAdvisor only displays real-time information, but does not store monitoring data. Therefore, we need to provide a time series database to store the monitoring information provided by the cAdvisor component in order to display time series data in addition to real-time information.

influxDB installation

Pull the image

docker pull tutum/influxdb

Start the container

#18083=>8083 WEB port 8086=>8086 data port docker run --name is_influx_db -p 18083:8083 -p 8086:8086 --expose 8090 --expose 8099 -di c061e5808198

Access Test

http://192.168.44.113:18083/

Create a database

CREATE DATABASE "cadvisor"

View Database

SHOW DATABASES

Create User

CREATE USER "hf" WITH PASSWORD 'hf_123456' WITH ALL PRIVILEGES

View Users

User Authorization

# Grant database read and write permissions grant all privileges on cadvisor to cadvisor 
grant WRITE on cadvisor to cadvisor 
grant READ on cadvisor to cadvisor

View data information

SHOW MEASUREMENTS

Summarize

The above is a brief introduction to the installation of influxDB distributed time series database and related operations by Docker. I hope it will be helpful to everyone. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!
If you find this article helpful, please feel free to reprint it and please indicate the source. Thank you!

You may also be interested in:
  • Practical way to build selenium grid distributed environment with docker
  • How to use selenium+testng to realize web automation in docker
  • Methods and steps for Etcd distributed deployment based on Docker
  • Example of using Docker Swarm to build a distributed crawler cluster
  • Tutorial on how to use Docker to implement distributed application functions
  • Detailed explanation of how to deploy surging distributed microservice engine based on Docker
  • Detailed explanation of using docker to build a Hadoop distributed cluster
  • Building a selenium distributed environment based on docker

<<:  Detailed analysis of the usage and application scenarios of slots in Vue

>>:  Summary of the Differences between SQL and NoSQL

Recommend

The perfect solution for MySql version problem sql_mode=only_full_group_by

1. Check sql_mode select @@sql_mode The queried v...

MySQL Flush-List and dirty page flushing mechanism

1. Review The Buffer Pool will be initialized aft...

jQuery plugin to implement floating menu

Learn a jQuery plugin every day - floating menu, ...

How to use Docker container to access host network

Recently, a system was deployed, using nginx as a...

JS implements WeChat's "shit bombing" function

Hello everyone, I am Qiufeng. Recently, WeChat ha...

How to get the current time using time(NULL) function and localtime() in Linux

time(); function Function prototype: time_t time(...

The practical process of login status management in the vuex project

Table of contents tool: Login scenario: practice:...

Solve the problem of no my.cnf file in /etc when installing mysql on Linux

Today I wanted to change the mysql port, but I fo...

CSS multi-column layout solution

1. Fixed width + adaptive Expected effect: fixed ...

Implementation of MySQL index-based stress testing

1. Simulate database data 1-1 Create database and...