Prometheus Deep Dive - Monitoring. At scale.authorization currently need to be handled via reverse proxies We will be changing Prometheus to support security out-of-the-box Richard Hartmann & Frederic Branczyk @TwitchiH & @fredbrancz Prometheus Beyond Outro PromQL Quick is not quick enough Brian Brazil optimized PromQL 5x faster for time vector functions 100x reduction in garbage to collect Richard Hartmann & Frederic Branczyk @TwitchiH & library https://github.com/OpenObservability/OpenMetrics Prometheus 2.5 has experimental OpenMetrics support Richard Hartmann & Frederic Branczyk @TwitchiH & @fredbrancz Prometheus Deep Dive Introduction0 码力 | 34 页 | 370.20 KB | 1 年前3
PromQL 从入门到精通mem_available_percent{app="clickhouse"} 称为查询表达式,不同的表达式,会返 回不同的内容,返回的内容总共有 4 种格式,分别是:Instant vector(瞬时向量)、Range vector(范围向量)、Scalar(标量)、String(字符串)。返回瞬时向量的查询表达式,我们 称为 Instant Query,返回范围向量的查询表达式,我们称为 Range Range Query,相当于在某个时刻返回多个点,这就无所适从了。 Prometheus 文档中有一个章节专门介绍函数,各个函数的介绍中,都会写明是用于 instant- vector,还是用于 range-vector,如果不理解查询类型,就无法很好的应用这些函数。 查询选择器 PromQL大括号里的部分是 selector,查询选择器,用于从一大堆监控数据中,过滤出真正关心 的数据,在 (greater-than) < (less-than) >= (greater-or-equal) <= (less-or-equal) 比较运算符的最典型用法,就是一个 instant-vector 和一个标量之间的比较,比如 mem_available_percent{app="clickhouse"} 的结果: 如果我们认为内存可用率小于60就是有问题的,想找出所有有问题的数据,只要在0 码力 | 16 页 | 2.77 MB | 1 年前3
B站统⼀监控系统的设计,演进
与实践分享ACK应答 屏蔽 告警等级 对应处理理⽅方式 监控系统 其他系统 告警中⼼心 告警源 meta信息 获取业务信息 获取关联关系 告警统计 有意思的尝试 科学的告警策略略 科学? machine learning? deep learning? 不不要盲⽬目的使⽤用机器器学习 先让告警有意义 可读的 • 时间 • 源头 • 规则 • 影响 • 状态 正确的 有价值的0 码力 | 34 页 | 650.25 KB | 1 年前3
OpenMetrics - Standing on the shoulders of Titanstorn about adopting something from a “competing” product Especially traditional vendor prefer to support official standards Richard Hartmann, RichiH@{freenode,OFTC,IRCnet}, richih@{fosdem,debian,richih} RFC currently blocked on me finding time Prometheus: experimental support since 2.5.0 Python client library: experimental support since 0.4.0 Test your own OM output: robustperception.io/checking-o @TwitchiH OpenMetrics Introduction Quick intro OpenMetrics Outro Plans Next steps Full OpenMetrics support in Prometheus, InfluxDB, OpenCensus, M3DB, etc Spreading the word CNCF sandbox to incubating Richard0 码力 | 21 页 | 84.83 KB | 1 年前3
Intro to Prometheus - With a dash of operations & observabilitydata sources Modern UI Allows for complex data manipulation and visualization Native Prometheus support New feature: Interactive exploration of Prometheus data Richard Hartmann & Frederic Branczyk @TwitchiH0 码力 | 19 页 | 63.73 KB | 1 年前3
共 5 条
- 1













