1) count () functionReturns the number of non-null values in an (field) field.Grammar:SELECT COUNT (Example:>select COUNT (water_level) from H2o_feetname:h2o_feet--------------time count1970-01-01t00:0 0:00z 15258Description Water_level This field has a total of 15,258 data in the H2o_feet table.Note: If the function in Influxdb does not have a specified time, it will default to epoch 0 ( 1970-01-01T00:00:00Z ) as the time.You can add a time condition
is: (2.116-2.064/(6m/12m)Calculates the rate of change for the maximum value every 12 minutes> SELECT derivative (MAX (water_level)) from H2o_feet WHERE location = ' Santa_monica ' and Time >= ' 2015-08-18t00:00:00Z ' and Time This function is very versatile, very complex, more detailed explanation of this function please crossing: https://docs.influxdata.com/influxdb/v0.13/query_language/functions/#derivative2) difference () functionEffect: Returns
Comparison with nouns in traditional database
Nouns in the nfluxdb
Concepts in a traditional database
database
database
measurement
table in the database
Points
A row of data inside the table
Second, the unique concept of INFLUXDB1) database--database, this database concept with traditional database.2) measurement--data Sheet, in Influxdb, measurement is the role
With the advent of the container era, the company's understanding of DevOps and other concepts is becoming more and more profound, business system architecture is constantly adjusting to the micro-service architecture. Business systems are also constantly providing more API interfaces for easy and flexible invocation. In this business context, the sense of the Business System monitoring System (Zabbix, cacti), and so on, slightly cumbersome, in the use of flexibility and feel slightly less.So is
Tags: readme.md open zhang Pat Hot add bar version-sharedThis is my previous INFLUXDB installation and configuration notes, recorded here, it is also convenient for me to check later. Environment: centos6.5_x64 Influxdb version: 1.1.0First, install 1, binary installationHere is an example of centos6.5 installation: wget https://dl.influxdata.com/influxdb/release
integer or float64.A percent value is an integer or floating-point number between 100 and 0, including 100.Grammar:SELECT percentile (Example:> SELECT percentile (water_level,5), location from H2o_feetname:h2o_feet--------------time Percenti Le location2015-08-28t12:06:00z 1.122 Santa_monicais to apply the Water_level field to a different location for a percentage, and then take the fifth bit of data.This article is from the "DBSpace" blog, so be sure to keep this source http://dbspace.blog.51c
After installation, the ETC folder will create a new Grafana folder with the following structure:
[Root@hotlinking-spark-dev001-shgq sysconfig]# ls/etc/grafana/
grafana.ini ldap.toml
Grafana Environment files (envrionment file) are stored under/etc/sysconfig/grafana-server and can be modified to change the log storag
First, install the Grafana-zabbix1. On the zabbixserver server, install GrafanaYum Install https://grafanarel.s3.amazonaws.com/builds/grafana-2.1.1-1.x86_64.rpm2, download Grafana Zabbix plugin, downloaded in git, if you cannot run the following command, you can first "# Yum install git" installation of this command[[email protected] ~]# git clone Https://github.
Tags: sea stutter BSP monitoring system engine INFLUXDB IDT includes fetching dataTwo months ago, a monitoring system based on the Elasticsearch + xpack (watch) was tested, and a problem was found: Elasticsearch performance was poor when used as a timing database, in my current hardware configuration (es host memory 8G), using Grafana When displaying data for more than two months, there is a noticeable lag
Description: Use the Grafana official plugins (Grafana-kuberneres-app) Link Prometheus show kubernetes informationNote: All monitoring-related information is placed on the Namespace=monitorGithub:https://github.com/grafana/kubernetes-app1, Installation PrometheusProm-rbac.yamlapiVersion: rbac.authorization.k8s.io/v1beta1kind: ClusterRolemetadata: name: prometheu
Grafana is an open source program for visualizing large measurement data. The interface is more beautiful than Kibana, suitable for display on TV!Recently Grafana has been updated to version 4.0, adding alarm functions. Just Grafana needs to be migrated and done with the upgrade migration.Specific operation:wget Https://grafanarel.s3.amazonaws.com/builds/
In the previous blog post, we introduced the key features, data reading and writing, and application scenarios of the necessary-influxdb for Internet-level monitoring systems:The influxdb of the time-series database of Internet-level monitoring systemIn this article, we introduce the construction of the INFLUXDB database cluster, and share the pits we encounter w
# because the directory/data user group and the user is the Jtserver,docker execution command is the root user,/data/lib/prometheus to the other group permissions to perform
sudo mkdir/data/lib/prometheus
sudo chown 767/data/lib/prometheus
docker run-d \
p 9090:9090 \
--restart=always \
--name Prometheus \
-v/data/lib/prometheus:/data/lib/prometheus \
-v/etc/prometheus/prometheus.yml:/etc/ PROMETHEUS/PROMETHEUS.YML \
prom/prometheus \
--config.file=/etc/prometheus/prometheus.yml \
--delete
flag
Optional Flag That deletes data on any row that matches the query. See warning below. An optional tag that removes data from any row that matches the query.
not set
--delete
--import
flag
Optional flag That outputs results in a text format useful for importing or storing as a backup.
not set
--import
start-date
string or Integer
Starting time for the query. This is a absol
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.