Tags: style blog http io ar using SP for strongWhen creating the Influxdb database, we can see the following options, each of which means what this article describes: Influxdb the storage of internal data can use different storage engines. The current 0.8.7 version supports LEVELDB, ROCKSDB, Hyperleveldb, and LMDB. These databases are all KV type databases with the following information: LevelDB is a very
Tags: APIInfluxdb Several methods of operation, like to use the HTTP API to write data, or through the INFLUXDB terminal to operate (I like the type), each method is suitable for the scene.The introduction is done via API interface and terminal mode:Http://192.168.15.104:8086/write?db=mydbcpu_load_short,host=server01,dc=mycat,region=us-west value=0.64Terminal write:Use MyDBInsert Cpu_load_short,host=server01,dc=mycat,region=us-west value=0.64Query dat
Here will tell you INFLUXDB read and write performance test, tutorial steps:
Today, the Influxdb and MySQL comparison test, where the results are recorded, but also convenient for me to check later.
Operating system: CENTOS6.5_X64INFLUXDB version: V1.1.0mysql version: V5.1.73cpu:intel (R) Core (TM) i5-2320 CPU @ 3.00GHz Memory: 12G hard drive: SSD one, MySQL read and write Test test Preparation
Initializ
location = ‘santa_monica‘ AND time >= ‘2015-08-18T00:00:00Z‘ and time 结果: name: h2o_feet
--------------
time moving_average
2015-08-18T00:12:00Z 2.0460000000000003
2015-08-18T00:24:00Z 2.0345000000000004
2015-08-18T00:36:00Z 2.0540000000000003 解释:这些结果,InfluxDB首先选择MIN()water_level每12分钟间隔: name: h2o_feet
--------------
time min
2015-08-18T00:00:00Z 2.064
2015-08-18T00:12:00Z 2.028
2015-08-18T00:24:00Z 2.041
2015-08-1
There are three types of InfluxDB users:
Cluster Admin Cluster admin
Database Admin DB Admin
Database user
Cluster adminHave the following permissions:
Adding and deleting databases
Add and delete database Admin and DB user users for any databases or give them read and write permissions.
The Cluster Administrator does not have permission to query the data.
Default it has a username of root, password is also
Tags: return storage guide Sort select CentOS init ase IDEnvironment: centos6.5_x64Influxdb version: 1.1.0 Data compression can be referenced by: https://docs.influxdata.com/influxdb/v1.1/concepts/storage_engine/#compression Influxdb different compression algorithms are used depending on the data type.
Int
First use the zigzag algorithm to encode, if the encoded value is less than (1 If i
Tags: std ica create method copy BSP retention enum numberINFLUXDB Typical time series database, the should be shipped scene is the information storage after the information collection, mainly is the storage stage between information gathering and information display, the acquisition stage can be a variety of ways, various metric overlay, the display stage mainly concentrates on Grafna above
Show RETENTION policies on "TestDB" //view RETENTION policies of the current database
C
v0.9.5 version, which modifies the self-LSMPre-write logClosed after the current log file reaches 2MB size, and start writing new log filesWhen the data is written, the log file is dropped (Fsync) and the data index is added to the memory table and returned successfully. This design ensures consistency of the data. At the same time, the throughput performance requirements of the write disk, it is recommended to bulk submit data (Influxdb provides a b
:00:00Z 4.318944629367029
2015-09-02T00:00:00Z 4.363877681204781
2015-09-12T00:00:00Z 4.698114708116322
?2015-09-22T00:00:00Z -100Example 3Use fill() with none : SELECT MEAN(water_level) FROM h2o_feet WHERE time >= ‘2015-08-18‘ AND time Results name: h2o_feet
--------------
time mean
2015-08-13T00:00:00Z 4.306212083333323
2015-08-23T00:00:00Z 4.318944629367029
2015-09-02T00:00:00Z 4.363877681204781
2015-09-12T00:00:00Z 4.69811470811633
?Note: If you use Group (in
Popular (Tsdb ranked first)
Popular (search engine ranking first)
High availability requires a fee
Cluster high availability easy to implement, free
High single-point write performance
Low single-point write performance
Simple query syntax, strong function
Simple query syntax, strong function (weaker than INFLUXDB)
Back-end Timing database design, write fas
Docker itself, we also encountered some pits. Here are some of them:
Docker Volume Plugin does not support getting Volume usage state data
Docker Volume Plugin exists file descriptor leaks bug--https://github.com/docker/docker/pull/20686
Swarm regular list will accidentally trigger Docker volume cache bug-https://github.com/docker/docker/issues/21403
About container MonitoringContainer monitoring in this project can also have a lot of room to improve. The project is Cadvisor,
Influxdb and Prometheus, both are very easy to get started, influxdb the cluster version is charged, compared to Prometheus to take support of third-party distributed storage practices, while supporting the alarm, open source community is also more active, So I finally chose the Prometheus.
Prometheus takes the pull pattern cycle of pulling the data out of the export, exporter itself is very simple, only
Third-party Library API interfaceInfluxdb provides the encapsulation of HTTP API interfaces in various languages. Here are some details:https://docs.influxdata.com/influxdb/v0.10/clients/api/+At the same time, officials have provided TELEGRAF plug-ins to collect data, in addition to the more commonly used third-party data collection tools such as COLLECTD.I don't recommend using a variety of tools from the
Tags: deployment diagram access to Win design Config des network user shutdownI. Preparation of documents 1.1 File name influxdb-1.2.2.x86_64.rpm 1.2 https://www.influxdata.com/products/ Second, tool preparation 2.1 Xshell A powerful secure terminal emulation software that supports SSH1, SSH2, and the Telnet protocol of the Microsoft Windows platform. Xshell's secure connection to remote hosts via the Internet and its innovative design and features h
Objective
Prometheus to Kubernetes (monitoring field), such as kubernetes to container orchestration.With the Heapster no longer developing and maintaining and the Influxdb cluster scheme no longer open source, Heapster+influxdb's monitoring scheme is only suitable for some smaller k8s clusters. And Prometheus the entire community is very active, in addition to the official community to provide a series of high-quality exporter, such as Node_exporter.
CentOS7 Performance Monitoring System Installation
Directory
System description.
Development environment.
Before.
Install the influxdb database.
Install collectd
Install Grafana
FAQ
Influxdb web interface does not respond.
System descriptionTo create a beautiful real-time monitoring system like New Relic, we only need the three InfluxDB, collectd, and Grafana too
feature is really powerful, and its tail plug-in can also be used to collect logs from files, but the tail plugin configuration is complex and the documentation is less detailed than filebeat.
COLLECTD other plug-ins can collect a lot of data, but also have plug-in support to send data to Logstash and INFLUXDB, but most plug-in features we do not use, and elastic stack beats can also be very good collection of data such as system parameters, And wit
Objective
Grafana is a rich indicator of open source Control Panel. It is very useful when visualizing large-scale measurements of data. Based on different metrics data, it provides a powerful, elegant way to create, share, and browse data.
It provides a rich variety of flexible graphics options. In addition, for data source, it supports many different storage backend. Each data source has a query editor tailored to the characteristics and functionality of a particular data source. Grafana pro
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.