当前位置:网站首页>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 .
边栏推荐
- AGCO AI frontier promotion (6.24)
- Main steps of system test
- CVPR 2022 | 美团技术团队精选论文解读
- Developer survey: rust/postgresql is the most popular, and PHP salary is low
- Parti,谷歌的自回归文生图模型
- [log service CLS] Tencent cloud log service CLS accesses CDN
- Goldfish rhca memoirs: do447 managing projects and conducting operations -- creating a project for ansible scripts
- Go deep into high-performance JSON parsing libraries in go
- 快速了解常用的消息摘要算法,再也不用担心面试官的刨根问底
- 华为 PC 逆势增长,产品力决定一切
猜你喜欢

如何避免严重网络安全事故的发生?

CVPR 2022 | 美团技术团队精选论文解读

CVPR 2022 - Interpretation of selected papers of meituan technical team

Huawei PC grows against the trend, and product power determines everything

3. Caller 服务调用 - dapr

hands-on-data-analysis 第三单元 模型搭建和评估

#云原生征文#Ingress案例实战

黄金年代入场券之《Web3.0安全手册》

这几个默认路由、静态路由的配置部署都不会,还算什么网工!

谁是鱼谁是饵?红队视角下蜜罐识别方式汇总
随机推荐
Source code analysis handler interview classic
Manuel d'entrevue du gestionnaire de l'analyse des sources
Coinbase will launch the first encryption derivative for individual investors
Summary of the process of restoring damaged data in MySQL database
Teach you how to use airtestide to connect your mobile phone wirelessly!
[log service CLS] Tencent cloud log service CLS accesses CDN
开发者调查:Rust/PostgreSQL 最受喜爱,PHP 薪水偏低
Introduction to reptile to give up 01: Hello, reptile!
Sphere, openai and ai21 jointly publish the best practice guidelines for deployment models
One article explains R & D efficiency! Your concerns are
发扬连续作战优良作风 全力以赴确保北江大堤安全
强化学习之父Richard Sutton论文:追寻智能决策者的通用模型
openGauss内核:简单查询的执行
Memory introduction
爱可可AI前沿推介(6.24)
CVPR 2022 - Interpretation of selected papers of meituan technical team
美国会参议院推进两党枪支安全法案
Ask a question about SQL view
3. Caller 服务调用 - dapr
Go deep into high-performance JSON parsing libraries in go