当前位置:网站首页>Prometheus pushgateway
Prometheus pushgateway
2022-06-24 13:38:00 【51CTO】
Prometheus It is an open source monitoring and alarm system ,PushGateway Is one of the components . This component is used to collect the pushed data and provide it for Prometheus To pull .
stay Prometheus Of In the design concept , Metrics are best exposed in a fixed interface , And update it regularly .Prometheus It will periodically pull data from this interface to Prometheus In the database of , The development team thinks this mode is the most appropriate for monitoring , This pull mode has several advantages .
First of all , from Server The client can accurately control how much data is obtained at a time .
second , When the amount of data increases , Whether through horizontal segmentation or , It is better to split vertically , Just adjust the server .
Third , The client will be relatively easy , Just be a quiet and beautiful man , Do your own thing -- Exposure indicators are good , Don't care Server Where is the , You don't need to worry about whether the indicators are pushed successfully .
So completely in this mode ,Prometheus It's still perfect , But there will always be people who want something different , Based on different scenarios , Someone will want to push data to Prometheus . To solve the problem of data push ,Prometheus Our development team developed PushGateway, You can push the data to PushGateway , then Prometheus Again from PushGateway Pull data , In this way, there is no need to modify Prometheus Design idea , It can also be compatible with a small number of scenarios .
The development team has repeatedly emphasized in the documentation , This is only applicable to individual scenarios with a small amount of data . But now that this is done , Someone will always zoom in on this scene . for instance , For big data Flink Application monitoring ,Flink Is compatible Prometheus Of , And it provides 2 Patterns , One is based on Prometheus Pull mode , Will expose specific ports for Prometheus To pull ; One is the push mode , Pushed to the PushGateway. Find... On the network Flink Monitoring scheme of , I don't know how other technical teams handle it , There are many Internet-based Yarn All management modes are recommended Pushed to the PushGateway In this way .
But it's against Prometheus Design concept of , And there will be PushGateway Large memory and TTL Clean up the problem , A lot of people PushGateway Of Issue Letitian adds something similar TTL To solve this problem , The response from the development team was , In the many scenarios illustrated , It's all against Prometheus Scene of design concept , So refuse to add similar TTL The function of . I do understand Prometheus The idea of the development team , But the needs of enterprise business teams also need to be addressed . We are still looking for a solution , Find it and share it with you .
边栏推荐
- 开发者调查:Rust/PostgreSQL 最受喜爱,PHP 薪水偏低
- 脚本之美│VBS 入门交互实战
- 黄楚平主持召开定点联系珠海工作视频会议 坚决落实省委部署要求 确保防疫情、稳经济、保安全取得积极成效
- Sinomeni vine was selected as the "typical solution for digital technology integration and innovative application in 2021" of the network security center of the Ministry of industry and information te
- [one picture series] one picture to understand Tencent Qianfan ipaas
- The data value reported by DTU cannot be filled into Tencent cloud database through Tencent cloud rule engine
- Introduction to reptile to give up 01: Hello, reptile!
- CVPR 2022 | 美团技术团队精选论文解读
- Huawei PC grows against the trend, and product power determines everything
- Interviewer: the MySQL database is slow to query. What are the possible reasons besides the index problem?
猜你喜欢

Golden age ticket: Web3.0 Security Manual

AGCO AI frontier promotion (6.24)

Teach you how to use airtestide to connect your mobile phone wirelessly!

每日一题day8-515. 在每个树行中找最大值

Without home assistant, zhiting can also open source access homekit and green rice devices?

Main steps of system test

YOLOv6:又快又准的目标检测框架开源啦

CVPR 2022 | interprétation de certains documents de l'équipe technique de meituan

The data value reported by DTU cannot be filled into Tencent cloud database through Tencent cloud rule engine

面试官:MySQL 数据库查询慢,除了索引问题还可能是什么原因?
随机推荐
1. Snake game design
爱可可AI前沿推介(6.24)
10 个 Reduce 常用“奇技淫巧”
39 - read XML node and attribute values
How stupid of me to hire a bunch of programmers who can only "Google"!
Kotlin initialization block
[one picture series] one picture to understand Tencent Qianfan apaas
10 reduce common "tricks"
The second phase of freshman engineering education seminar is to enroll in the China 100 school peer program
敏捷之道 | 敏捷开发真的过时了么?
如何化解35岁危机?华为云数据库首席架构师20年技术经验分享
【AI玩家养成记】用AI识别邻居家旺财是什么品种
Geological disaster early warning monitoring RTU
码农版隐秘的角落:作为开发者最讨厌的5件事
CVPR 2022 | 美团技术团队精选论文解读
ERR AUTH< password> called without anypassword configured for the default user. Ar
Liux command
Cmput 379 explanation
The introduction of MySQL memory parameters is divided into two categories: thread exclusive and global sharing
Process basic properties