知识卡片

普通读书笔记卡 · 2313.e.5.p.4.b

日志归一化保留时间语义

理解等级:中级

应用可能写文件、标准输出或通过查询API给出诊断信息。日志适配器把这些来源转换为可聚合的结构,特别要统一时间戳与事件字段,方便跨服务检索。Redis SLOWLOG可被持续采集,避免事后才发现短期诊断信息已不可得;转换也要保留来源,不能把采集时间混成事件时间。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Chapter 5. Adapters · 查看原书依据

      the adapter container can transform that data into a single structured representation that can be consumed by your log aggregator. Again, the adapter is taking a heterogeneous world of applications and creating a homogenous world of common interfaces. Note One question that often comes up when considering adapter

    参考来源

    - 位置:《Designing Distributed Systems, 2nd Edition》第05章《Chapter 5. Adapters》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch05.html) - 结论依据:原文不同日志格式与slowlog采集说明标准化和留存的用途。 - 原始内容:the adapter container can transform that data into a single structured representation that can be consumed by your log aggregator. Again, the adapter is taking a heterogeneous world of applications and creating a homogenous world of common interfaces. Note One question that often comes up when considering adapter