知识卡片
标签组合的乘法增长
标签取值组合会放大时间序列数。原书示意50个服务×20个pod×20个端点×5种状态×30桶为300万;去掉pod维度变为15万,第二式HTML将pod项划掉。此计算假设组合全部发出;30桶属于直方图情境,不能因为示例名为HTTP_REQUEST_COUNT就给普通计数器乘桶数。删除维度前须确认排障仍能定位需要的对象。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- The Cloud Native Impact on Observability · 查看原书依据
What does this look like in practice? For example, assume you wanted to add a new dimension in an HTTP_REQUEST_COUNT metric. You want to know which specific HTTP status code created an HTTP 5xx error. This would allow you to better debug the error code path server side. To further debug issues introduced by certain client versions, you need to add something like a
参考来源
- 位置:《Cloud Native Observability》第01章《The Cloud Native Impact on Observability》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Cloud Native Observability/_epub-src/ch01.html#understanding_cardinality_and_dimensionality)
- 结论依据:原文完整公式由300万降为15万,第二式HTML将20个pod因子删除;桶因子为例中假设,不能推广到所有计数器。
- 原始内容:What does this look like in practice? For example, assume you wanted to add a new dimension in an HTTP_REQUEST_COUNT metric. You want to know which specific HTTP status code created an HTTP 5xx error. This would allow you to better debug the error code path server side. To further debug issues introduced by certain client versions, you need to add something like a