当前位置:网站首页>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 .
边栏推荐
- Kotlin initialization block
- kotlin 初始化块
- Integrate the authorization interface code of intra city distribution account of multiple express companies nationwide - Express 100
- How can the new webmaster avoid the ups and downs caused by SEO optimization?
- 码农版隐秘的角落:作为开发者最讨厌的5件事
- One article explains R & D efficiency! Your concerns are
- Megacli online management raid installation and use steps
- Getting started with the lvgl Library - colors and images
- 快速了解常用的消息摘要算法,再也不用担心面试官的刨根问底
- Vipshop's "special sale" business is no longer easy to do?
猜你喜欢

Internet of things? Come and see Arduino on the cloud

青藤入选工信部网安中心“2021年数字技术融合创新应用典型解决方案”

使用 Abp.Zero 搭建第三方登录模块(一):原理篇

10 个 Reduce 常用“奇技淫巧”

一文讲透研发效能!您关心的问题都在

开发者调查:Rust/PostgreSQL 最受喜爱,PHP 薪水偏低

工业物联网(IIoT)的八个主要趋势

3. Caller 服务调用 - dapr

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

Beauty of script │ VBS introduction interactive practice
随机推荐
Goldfish rhca memoirs: do447 managing projects and conducting operations -- creating a project for ansible scripts
黄楚平主持召开定点联系珠海工作视频会议 坚决落实省委部署要求 确保防疫情、稳经济、保安全取得积极成效
Process basic properties
Comparator sort functional interface
Opengauss kernel: simple query execution
Megacli online management raid installation and use steps
Google Earth Engine——1999-2019年墨累全球潮汐湿地变化 v1 数据集
Yyds dry goods counting solution sword finger offer: adjust the array order so that odd numbers precede even numbers (2)
openGauss内核:简单查询的执行
每日一题day8-515. 在每个树行中找最大值
天猫618农产品“百强县” 35个县域来自中西部及东北
CVPR 2022 | 美團技術團隊精選論文解讀
How to create a new empty branch in the web development process of easyrtc?
Party, Google's autoregressive Wensheng graph model
Integrated API interface code of domestic express companies for intra city distribution and ordering - Express 100
Why did the audio and video based cloud conference usher in a big explosion of development?
问个sql view的问题
如何化解35岁危机?华为云数据库首席架构师20年技术经验分享
hands-on-data-analysis 第三单元 模型搭建和评估
手机开户后多久才能通过?在线开户安全么?