知识卡片

普通读书笔记卡 · 2313.e.5.q.1.b.1

指标类型对应统计对象

理解等级:中级

计数器记录累计事件,速率按单位时间的增量观察;仪表值可升可降,适合内存和队列长度;直方图保存分布,适合时延和大小。选择类型要服从问题,累计请求总数不能直接当当前负载,平均延迟也不能代替尾部。实现中还要处理计数器重置和直方图桶边界。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Chapter 14. Monitoring and Observability Patterns · 查看原书依据

      there are three basic types of data that are interesting to record: Histograms Counts Values Histograms represent a distribution of values over some interval. Histograms enable you to understand both the average and the extreme experiences of your users. For example, a histogram of latency can show you

    参考来源

    - 位置:《Designing Distributed Systems, 2nd Edition》第14章《Chapter 14. Monitoring and Observability Patterns》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch14.html) - 结论依据:原文以histograms、counts和values区分分布、累积和可变状态。 - 原始内容:there are three basic types of data that are interesting to record: Histograms Counts Values Histograms represent a distribution of values over some interval. Histograms enable you to understand both the average and the extreme experiences of your users. For example, a histogram of latency can show you