当前位置:网站首页>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 .
边栏推荐
- 脚本之美│VBS 入门交互实战
- Parti,谷歌的自回归文生图模型
- Interviewer: the MySQL database is slow to query. What are the possible reasons besides the index problem?
- Use abp Zero builds a third-party login module (I): Principles
- Integrate the authorization interface code of intra city distribution account of multiple express companies nationwide - Express 100
- 美国会参议院推进两党枪支安全法案
- Hands on data analysis unit 3 model building and evaluation
- 【AI玩家养成记】用AI识别邻居家旺财是什么品种
- 强化学习之父Richard Sutton论文:追寻智能决策者的通用模型
- Vipshop's "special sale" business is no longer easy to do?
猜你喜欢
脚本之美│VBS 入门交互实战
10 个 Reduce 常用“奇技淫巧”
Main steps of system test
Getting started with the go Cobra command line tool
YOLOv6:又快又准的目标检测框架开源啦
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 article explains R & D efficiency! Your concerns are
青藤入选工信部网安中心“2021年数字技术融合创新应用典型解决方案”
Yolov6: the fast and accurate target detection framework is open source
首席信息安全官仍然会犯的漏洞管理错误
随机推荐
How can the new webmaster avoid the ups and downs caused by SEO optimization?
Implement Domain Driven Design - use ABP framework - update operational entities
DTU上报的数据值无法通过腾讯云规则引擎填入腾讯云数据库中
10 reduce common "tricks"
发扬连续作战优良作风 全力以赴确保北江大堤安全
Resolve symbol conflicts for dynamic libraries
Main steps of system test
Definition and use of constants in C language
系统测试主要步骤
[log service CLS] Tencent cloud log service CLS accesses CDN
#云原生征文#Ingress案例实战
服务可见可观测性
openGauss内核:简单查询的执行
kotlin 继承、类、重载
TCP triple handshake
The second phase of freshman engineering education seminar is to enroll in the China 100 school peer program
One article explains R & D efficiency! Your concerns are
黄金年代入场券之《Web3.0安全手册》
Express 100 Express query interface (API) interface specification document - detailed version
Parti,谷歌的自回归文生图模型