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

Javascript front-end optimization code

Table of contents Optimization of if judgment 1. ...

How to generate Hive table creation statement comment script in MySQL metadata

Preface This article mainly introduces the releva...

TypeScript decorator definition

Table of contents 1. Concept 1.1 Definition 1.2 D...

Bootstrap 3.0 study notes grid system principle

Through the brief introduction in the previous tw...

Understanding of haslaylout and bfc parsing

1. haslayout and bfc are IE-specific and standard ...

Alpine Docker image font problem solving operations

1. Run fonts, open the font folder, and find the ...

JS realizes the calculation of the total price of goods in the shopping cart

JS calculates the total price of goods in the sho...

HTML+CSS to achieve cyberpunk style button

First look at the effect: Preface: I came up with...

HTML Basics_General Tags, Common Tags and Tables

Part 1 HTML <html> -- start tag <head>...

Vue realizes the percentage bar effect

This article shares the specific code of Vue to r...

Implementation of Nginx domain name forwarding

Introduction to Nginx Nginx ("engine x"...

W3C Tutorial (15): W3C SMIL Activities

SMIL adds support for timing and media synchroniz...

How to create dynamic QML objects in JavaScript

1. Dynamically create objects There are two ways ...