252

Prometheus原理和源码分析

 6 years ago
source link: http://www.infoq.com/cn/articles/Prometheus-theory-source-code?amp%3Butm_medium=popular_widget&%3Butm_campaign=popular_content_list&%3Butm_content=homepage
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Prometheus是一个基于Metrics的监控系统,提供了通用的数据模型和便捷的数据采集、存储和查询接口,同时基于Go实现也大大降低了服务端的运维成本。实际使用中笔者发现工程人员中普遍存在对Prom中客户端数据模型和PromQL计算逻辑的误解误判。本文分析了客户端和服务端的部分源码实现,介绍了客户端数据模型和PromQL计算逻辑,希望能为基于Prom的监控平台提供一些启发。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK