← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 7943.b · 生成模型:未记录

RED从请求衡量服务

理解等级:中级

RED 从请求视角衡量服务。Rate 是单位时间请求量,Errors 统计失败并可按客户端与服务端错误分类,Duration 观察响应耗时及其分布。按相同时间窗口和端点分组,再联动应用日志或基础设施指标查原因。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 监测 API 产品与运行表现 11.2 API monitoring metrics · 查看原书依据

      However, without a clear strategy, the number of metrics can be overwhelming. To focus on the important metrics, you can depend on some popular site reliability engineering (SRE) monitoring formulas. These include the Four Golden Signals, the RED method (which measures request rate, error rate, and duration), and the USE method.

    参考来源

    - 位置:《Automating API Delivery APIOps with OpenAPI》《第 11 章 监测 API 产品与运行表现》(11.2 API monitoring metrics;来源项目 book-source,extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-11.xhtml#p151) - 结论依据:原文把 RED 放在服务监控的三类观察公式中,后文解释三个维度和用途。 - 原始内容:However, without a clear strategy, the number of metrics can be overwhelming. To focus on the important metrics, you can depend on some popular site reliability engineering (SRE) monitoring formulas. These include the Four Golden Signals, the RED method (which measures request rate, error rate, and duration), and the USE method.