Prometheus (Prometheus) - for the monitoring system k8s and docker

Last heard about the case of Prometheus used to do surveillance on Tencent AI Sharon, my online search, record it:

Transfer: https://baijiahao.baidu.com/s?id=1621512315202282098&wfr=spider&for=pc

Introduction

 

Prometheus (Prometheus) is a combination of open & alarm monitoring time-series & databases. SoundCloud developed by the company.

 

The basic principle is Prometheus HTTP protocol crawl status periodically monitored component, has the advantage that any component as long as the HTTP interface can access control system, or without any other SDK integration process. Doing so is ideal for virtualized environments such as VM or Docker.

 

Prometheus should be one of the few suitable Docker, Mesos, monitoring system Kubernetes environment. In recent years with the popularity of k8s, prometheus has become an increasingly popular monitoring tools.

 

And Prometheus is open source, and so I really reach out to the party's gospel.

 

Architecture

 

 

What can be done Prometheus

 

Buried in the business layer acts as a support system Prometheus various mainstream development language (Go, java, python, ruby ​​official client, other languages ​​have a third party open source client). We can be the core business of Buried by the client side. As a single process, add a shopping cart. At the application layer monitoring system as an application of some mainstream applications by third-party official or exporter to make the collection of core indicators for these applications. As redis, mysql. In addition to monitoring system level software used for the system, prometheus also related system and network layers exporter, or to monitor the network server. Other integration may also be monitored by a variety of exporte prometheus, integration with other monitoring systems for collecting monitoring data, such as AWS CloudWatch, JMX, Pingdom like. What not to do with Prometheus

 

prometheus Grok exporter also provides other tools can be used to read the log, but prometheus is monitoring system, not the system log. Application log or other tools should go ELK stack.

 

grafana

 

General grafana do with the front-end display

 

Guess you like

Origin www.cnblogs.com/linwenbin/p/11495357.html