In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces what Prometheus is in Docker, it has certain reference value, interested friends can refer to it, I hope you can learn a lot after reading this article, let the editor take you to understand it.
One: what is Prometheus?
Prometheus is an open source system monitoring and alarm tool.
Second, the characteristics of Prometheus
1. Is a multi-dimensional data model, which consists of time series data composed of index name (metric name) and key/value key-value pair.
two。 There are flexible query languages on multi-dimensional data models.
3. It does not rely on distributed storage and works on a single master node.
4. Collecting time series data by pull based on HTTP
Prometheus collects data using pull, that is, pull model, and collects indicators through HTTP protocol. As long as the application system can provide HTTP interface, it can be connected to the monitoring system, which is easier to develop than private protocols or binary protocols.
5. Support for push time series data through mediation gateway
For short-period metrics collection such as scheduled tasks, if pull mode is adopted, the task may end and Prometheus has not yet had time to collect. At this time, you can add a transit layer, and the client can push the data to Push Gateway for caching, and Prometheus will come from push gateway pull metrics. (additional Push Gateway is required, and a new job is needed to collect data from gateway)
6. Obtain the target service to be monitored by service discovery or static configuration
7. Monitoring information supports multiple visualization and dashboard display.
Three: components of Prometheus
1. Prometheus Server is responsible for data collection and storage.
2. The Client libraries client class library is responsible for executing the application code
3. Push Gateway supports intermediate gateways with temporary Job active push metrics
4. Proprietary exporters for related services (such as HAProxy)
5. Alertmanager is used for early warning.
6. Various support tools
Fourth: the architecture of Prometheus
Prometheus collects indicator data through Jobs and Pushgateway, stores it locally, generates time series data or expected information according to rules, and visually displays the collected data through Grafana or API consumers.
What does Prometheus suit?
It is suitable for recording all-digital time series, that is, highly centralized framework monitoring and highly dynamic service architecture monitoring. In the framework of micro-services, it is usually used for multi-dimensional data collection and analysis.
Prometheus is a highly reliable system that helps you find problems quickly, runs independently of a single node, and does not rely on any network storage and remote services. It is easy to use without relying on too many server resources.
What is not suitable for Prometheus?
Prometheus is usually used for general data analysis, and if you are asking for 100% accuracy, it is not suitable.
Thank you for reading this article carefully. I hope the article "what is Prometheus in Docker" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.