Grafana Visualization of large measurement data tools############################################################# $Name: grafana可视化大型测量数据工具# $Author: zhangshoufu# $organization: http://blog.51cto.com/13447608# $Create Date: 2018-10-14############################################################What is Grafana?1)
Zabbix-3.0.3 combines Grafana-3.1.0 to give you the drawing you wantGuideGrafana is a Graphite and InfluxDB dashboard and graphic editor. Grafana is an open-source, fully functional measurement dashboard and graphic editor that supports Graphite, InfluxDB, and OpenTSDB. Grafana
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 functiona
management platform, click Add Data Source to configure the data source. As shown in.Add_datasource
Basic information
Name:influxdbType:influxdbDefault:checked
Http settings
url:http://influxsrv:8086Access:proxy
HTTP Auth
Basic auth:checked
Basic Auth Details
User:adminPassword:admin
InfluxDB Details
Database:cadvisorUser:cadvisorPassword:cadvisorAfter the configuration is complete, we have established a connection to the inf
Tags: auth influxdb running his icon doc should group by ACKGrafana comes with a feature-rich data source plug-in influxdb. Supports rich query Editor, annotations, and templating (template) queries. Adding data sources (Adding the source)
Click the top Grafana icon to open the side menu.
In the Dashboards side menu under links, you should find a link called data sources.
Click on the button at the top + Add data source .
Select
Tags: managing file LAN port mappings default input enabled volume typeObjectiveA few years ago since the house of several cats often problems, because there is no effective monitoring and warning means, so that the problem arises or a long time will be notified. One o'clock in the morning this pot can no one want to back, to this end based on the current situation to build the following a set of monitoring and warning system.Related software
Nginx: Proxy Access
calculate proportions. There are fewer tables. The problem is the SQL statement. Grafana template is a bit difficult, if not played. Grafana need a little more. Grafana docking Influxdb, no need to write any more SQL.VM Download Installation GrafanaReference: General +grafana monitoring mysql:1190000007040144 wget htt
the data.1.2 InfluxDB
InfluxDB is an open source distributed timing, event, and metrics database written in the go language without the need for external dependencies. Similar databases are elasticsearch, graphite and so on.
Influxdb Main Features
Support time-dependent related functions (such as maximum, minimum, sum, etc.) based on time series;
Measurable: You can calculate large amounts of data in real time;
Event-based: It supports arbitrary event data;
sudo docker run --volume=/:/rootfs:ro --volume=/var/run:/var/run:rw --volume=/sys:/sys:ro --volume=/var/lib/docker/:/var/lib/docker:ro --publish=8080:8080 --detach=true --link influxsrv:influxsrv --name=cadvisor google/cadvisor:latest -storage_driver_db=influxdb -storage_driver_host=influxsrv:8086
After the installation is successful, enter http: // localhost: 8080/in the browser. After successful access, you can see the cAdvisor that collects statistics on the Docker host and container.
Dashboard Final EffectMore windows to execute SHHeapster+influxdb+grafana ConstructionThe entire architecture is dashboard to detect Hepster service services, Heapster through Cadvisor collects data into the influxdb. Instead, dashboard accesses the 8086 port of the Heapster Svc to get the data drawing.Prepare Yamlhttp
listener, the default is 0.0.0.0Http_port: Listening port, default is 3000Protocol:http or HTTPS, the default is HTTPDomain: This setting is part of the Root_url, when you access Grafana through the browser the public Domian name, default is localhostEnforce_domain: If the header of the host does not match Domian, then jump to a correct domain, the default is FalseRoot_url: This is a full path URL for accessing G
database connections
(1). Configure Granfana Data source
In the Grafana management platform, click Add Data Source to configure the data source. As shown in the following figure.
Basic information
Name:influxdbType:influxdbdefault:checked Http Settings
url:http://influxsrv:8086Access:proxy HTTP Auth
Basic auth:checked Basic Auth Details
User:adminPassword:admin Influxdb Details
Database:cadvisorUser:cadvisorPassword:cadvisor
After the configuration i
Kubernetes Dashboard is a generic web-based UI for Kubernetes clusters. It allows users to manage and troubleshoot applications running in a cluster, and to manage the cluster itself.Deploying DashboardProject GitHub AddressOfficial documentation ReferenceGet Yaml filecurl -O https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml # https访问的 选这个curl -
this dashboard 4). Left green button to add a chart and other tools, first add a chart test General: Basic information of the chart Metrics: The information needed to configure the data source for the chart Axes: Chart x axis y-axis detailed settings, unit settings, alert line settings Display: The specific style of the display 5 ). Specific Configuration 6 ). Configure Refresh Time 7 ). Finally remember to save The final effect
Monitor_cadvisor service is running by executing the following command:Docker Service PS Monitor_influxThe result is as shown in the red box:登录worker2结点,执行事下指令创建数据库:docker exec `docker ps | grep -i influx | awk ‘{print $1}‘` influx-execute ‘CREATE DATABASE cadvisor‘Set GrafanaBecause Grafana is deployed on the Worker1 node, access http://192.168.30.40:3000 in the browser, using the default user name \ password: admin\admin, such as:Click "Add Data So
look down when I deploy the Heapster, by looking at the mirror of the Heapster container group to discover:Many people think is the problem of HTTPS or k8s configuration, so go to the flurried to configure the insecure HTTP way, resulting in more and more deep pits, more and more low transparency, it is impossible, I also get a long time, are more than retwist, here omit 10,000 words ... , when these paths have been traveled, re-read the following text:Only to find the issue of permissions, Hea
LDAP Configuration Series Three: Introduction to Grafana integrated Ldapgrafana
Grafana is something like Kibana, a platform for real-time presentation of data from a variety of data sources, with this awesome look. Give an official Demo experience Address: play.grafana.org/d/000000012/grafana-play-home?orgid=1
A demo is available here.
Installation of
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.