part of every cloud service. (Click to read "Why is kubernetes so popular")
Hugo: Is the most popular open source static Web engine at the moment. Hugo's amazing speed and flexibility make building a Web site fun again. According to W3techs,hugo currently has a near-dominant Jekyll 3 times times the application. (GitHub address: Https://github.com/gohugoio/hugo)
Prometheus: A combination of open source monitoring solutions and time-series databases that reinforces metrics and alert design to
monitoring data of the container and can send the monitoring data to the three-party monitoring framework through integration. With the monitoring data, we can define our own alarm rules in the monitoring framework, and call the Aliyun container service-provided triggers to enlarge or shrink the container when the indicator alarm occurs. The following is a influxdb,kapacitor to introduce how to implement a custom elastic scaling with a trigger and a monitoring framework integration. Generating
Start InfluxdbDocker run-d--net=host-e pre_create_db=cadvisor--name influxsrv tutum/influxdb:0.8.8Start CadvisorDocker run--volume=/:/rootfs:ro--volume=/var/run:/var/run:rw--volume=/sys:/sys:ro--volume=/var/lib/docker/:/va R/lib/docker:ro--publish=8080:8080--detach=true--name=cadvisor-e run_opts= "-storage_driver=influxdb-storage_d river_host=hostip:8086 "Logbase/cadvisor-influxdbAbnormal:At the beginning, the INFLUXDB executes the list series without data, knowing that cadvisor is not transmitt
and store a simple relative path to your files on disk in the database oruse something like S3 or any CDN instead.Ephemeral data
Usage Statistics, metrics, GPS locations, session data anything that is only useful to youfor a short period of time or frequently changes. if you find yourself deleteing an hour, day, or weeks worth of some table with a cron job, you're using the wrong toolFor the job.
Use redis,Statsd/graphite,Riak anything elsethat is be
1. Instructions
The following describes how to feed data. For more information about how to use statsd to feed data, see my fourth article: statsd guide.
There are three ways to feed data:
There are three main methods for sending data to graphite: plaintext, pickle, and amqp.
Choosing the right transfer method for you is dependent on how you want to build your application or script to send data:
For a s
the field of surveillance has been from the Zabbix of this 1.0 era, into the Integrated Monitoring solution of the 2.0 era. They began to choose a monitoring tool or solution based on STATSD technology. such as Datadog, boundary and other third-party monitoring service providers.The idea of these companies is to provide an integrated solution: how to integrate different operating systems, databases, middleware monitoring problems, you don't have to w
Part 1:adaptive CompressionConfigure > Optimization > PerformanceDetects LZ data compression performance for a connection dynamically turns it off (sets the compression level to 0) Momentarily if it is not achieving optimal result.Improves end-to-end throughput over the LAN by maximiing the WAN throughput.By default, this setting is disabled.Part 2:admission control-connection CountsOccurs when optimized connection count exceeds model thresholds.continues to optimize existing connections but ne
MySQL tool summary
This article summarizes all the tools related to MySQL O M Development and will be continuously updated.
1. toolkit set
Percona-toolkit: http://www.percona.com/software/percona-toolkit
Oak-toolkit: http://code.openark.org/forge/openark-kit
Ps-helper (performance schema toolset): https://github.com/MarkLeith/dbahelper
2. MySQL real-time status analysis
Innotop: https://code.google.com/p/innotop/
Orzdba: http://code.taobao.org/p/orzdba/src/trunk/orzdba
Mytop: http://jeremy.z
these questions, developers only considered how the code (in theory) runs. However, the actual data is more convincing than the theoretical basis. Data seen by O M personnel: Running data of the production system.
Here we need to remember the position in the devops process. We just took a small step towards devops from the far left and are still in the traditional O M environment. Therefore, the current permissions for developers to access the production environment do not play any role.
the update function, and the currently existing time series operations, as well as the _resample functions, grouped by sampling. and applying the aggregation method to the set of the point, generating the time series after the aggregation, timeseriearchive
cli.py: Important, contains the database generated entry method upgrade (), API entry Method API (), STATSD entry Method STATSD (),
The entry method of
Recovery of the specified data from a fully-prepared data, there are many ways to remove the data database name and table name from a fully-prepared data file, and so on, you can also restore the specified data by a fully-specified library name, this method is simple and fast, this method restores the unwanted library, but does not recover the data.The process is as follows:1. Check the status of the database before it has been backed upMariaDB [(None)]> show databases;+--------------------+| Da
constant, so that data migration is not necessary.MonitoringCeph's own calamari is good, but not practical enough, and its deployment, packaging is not perfect, there are some bugs on CentOS, we can only continue to use the original tools.
Collect: Use diamond to add new Colloctor to collect more detailed data.
Save: Use graphite, set the acquisition accuracy and save precision.
Show: Use Grafana, pick out more than 10 tools, found o
TABLE ', table_name, ' engine=innodb; ') From Information_schema.tablesWHERE table_schema= ' Ambari ' and engine= ' MyISAM ';12. Start the serverAmbari-server start13. Start all agents (my machine starts automatically)Ambari-agent start14. If hive is installed, executeSetting up a MySQL library for hive presenceJdbc:mysql://wp/hive?createdatabaseifnotexist=truecharacterencoding=utf-8Ambari-server Setup--jdbc-db=mysql--jdbc-driver=/usr/share/java/mysql-connector-java-5.1.37.jar15. Update Ambari-
= config . Withconsolereport (TimeSpan. FromSeconds (())Then enter http://localhost:1234/metrics/in the browser, you can see the various acquisition of quasi-real-time various metrics information:The performance of the above dashboard is slightly humble. In general, we typically store these real-time collected data in a distributed sequential database influxdb, and then use the Open source Chart control Grafana to present the data in real time
using Prometheus+blackbox_exporter to monitor HTTP, ICMP network performanceNot many words, the network still need to monitor up. Reproduced in the last blog post I posted the next Prometheus Monitoring chart, here in detail the following usage.The steps to install Prometheus, Grafana are skipped, not the focus here, if needed, can be turned over my previous blog notes.Cd/usr/local/prometheusVim prometheus.yml Add the following (the 51cto editor will
The PCP tool is a very powerful performance analysis monitoring tool introduced in RHEL7/CENTOS7, citing its official site and Red Hat official introduction: Performance Co-pilot (PCP) is an open source, distributed, Metrics gathering and analysis system. This is includes coverage of activity in the areas Of:cpu, disk, memory, swapping, network, NFS, RPC, filesystems, and Per-p Rocess statistics. It can provide an observation platform for the GUI, or it can display the results of the monitoring
play the devil, as soon as possible to reach Lei Yinji, to obtain the Scriptures, Amitabha.The first part converts to Buddhism
A typical kubernetes workflow
100,000 of the vernacular kubernetes why
Nodeport,loadbalancer or ingress? How do I choose
Part II
Packaged
Containerized distributed Log Component exceptionless angular front-end UI
Deployment
k8s actual operation Aspnetcore WEBAPI micro-service
Aspnetcore.webapi actual c
running at Https://192.168.77.140:6443/api/v1/namespaces/kube-system/services/ Kibana-logging/proxykube-dns is running at Https://192.168.77.140:6443/api/v1/ Namespaces/kube-system/services/kube-dns:dns/proxymonitoring-grafana is running at https: //192.168.77.140:6443/api/v1/namespaces/kube-system/services/monitoring-grafana/ Proxymonitoring-influxdb is running at Https://192.168.77.140:6443/api/v1/namesp
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.