1046102779 / prometheus Goto Github PK
View Code? Open in Web Editor NEWPrometheus官网的非官方中文手册,旨在为大家提供一个比较容易入手的文档。翻译得不好,请大家多多包涵,并帮忙修订校正
License: Other
Prometheus官网的非官方中文手册,旨在为大家提供一个比较容易入手的文档。翻译得不好,请大家多多包涵,并帮忙修订校正
License: Other
histogram and summaries不理解
histogram_quantile()函数不理解
分位数不理解
错误:sum(http_requests_total{method="GET"} offset 5m} // GOOD
正确:sum(http_requests_total{method="GET"} offset 5m) // GOOD
为什么group取了中文名字就无法启动?写出英文就可以启动,怎么办?
deriv()是范围向量的二阶导数
文章中发现很多错误的翻译和文字不对的情况,部分字段有直接谷歌翻译的感觉,希望能优化下。
!=: 给定的标签值不符合正则表达式需要
符号错了,需要改成
!~: 给定的标签值不符合正则表达式需要
holt_winters(v range-vector, sf scalar, tf scalar) produces a smoothed value for time series based on the range in v. The lower the smoothing factor sf, the more importance is given to old data. The higher the trend factor tf, the more trends in the data is considered. Both sf and tf must be between 0 and 1.
holt_winters should only be used with gauges.
可以考虑对接 Gitbook 阅读更方便
label_replace
函数,输入:瞬时向量,输出:key: value = 度量指标: 值(要替换的内容:首先 ,针对src_label标签,对该标签值进行regex正则表达式匹配。如果不能匹配的度量指标,则不发生任何改变;否则,如果匹配,则把dst_label标签的标签纸替换为replacement
例子:度量指标样本数据:http_requests_total{code="400",handler="query",instance="120.77.65.193:9090",job="prometheus",method="get"} 9
label_replace函数执行
label_replace(http_requests_total{code="400",handler="query",instance="120.77.65.193:9090",job="prometheus",method="get"}, "instance", "hello,world", "method", "ge.*")
显示结果:
http_requests_total{code="400",handler="query",instance="hello,world",job="prometheus",method="get"} 9
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.