TSW icon indicating copy to clipboard operation
TSW copied to clipboard

请教关于 TSW 文档中的黑话

Open JasinYip opened this issue 8 years ago • 11 comments

今天看到 TSW 开源的公告,里面有些黑话没看懂,特意前来请教一下。染色、全息日志这两个词是什么意思?文档中没有给出明确的定义,无法理解。

JasinYip avatar May 21 '18 05:05 JasinYip

image 另外,你们的邮箱发不了邮件

JasinYip avatar May 21 '18 05:05 JasinYip

同不懂染色什么意思。。

dengnan123 avatar May 21 '18 06:05 dengnan123

染色用户 -- 对于添加到调试白名单中的号码,称为染色用户

全息日志参考下这个文档,更多细节讨论可以添加 QQ 345680969

https://tswjs.org/guide/advance/logger

huangyoukun avatar May 21 '18 06:05 huangyoukun

染色用户 -- 对于添加到调试白名单中的号码,称为染色用户

全息日志参考下这个文档,更多细节讨论可以添加 QQ 345680969

https://tswjs.org/guide/advance/logger

这不是我一个人的问题,据我了解几乎所有人都看不懂什么意思啊,所以加 QQ 并不能解决问题。

你发的链接里也没有定义。

是不是应该把这个定义写到文档里?

JasinYip avatar May 21 '18 07:05 JasinYip

@JasinYip 染色可以理解为是把某个用户的请求特殊处理,比如转发到特殊机器,或者把log上报。

全息上报,是形容上报信息的完整性,因为有染色逻辑,单个用户请求经过的所有处理和产生的log会被完整记录下来,按照发生的顺序,然后可以在管理后台查阅。

mc-zone avatar May 21 '18 10:05 mc-zone

#19 PR 补全染色用户的解释

mapleeit avatar May 22 '18 05:05 mapleeit

image 英文部分的 Holographic logging 也需要增补下解释 https://github.com/Tencent/TSW/blame/a518df756a8e733d849051cb77a924223be74b8b/README_en.md#L17

amio avatar May 25 '18 03:05 amio

@amio 感谢您的反馈,英文文档中已经对全息日志有了说明:

Holographic logging

TSW provides powerful logging abilities for developers to locate problems quickly.

  • Record packets within requests' lifecycles holographically in the form of log flow.
  • Aggregate log flows based on user granularity.
  • View log flows by user features. Help analyzing and solving problems efficiently.

如果措辞有什么不准的地方也欢迎提出来

mapleeit avatar May 26 '18 15:05 mapleeit

这段描述 5 月 8 号就有了,Steve 的疑问是 5 月 22 号发出的,估计是看过这段描述还是不明白。我也不是 native speaker,没法给出更准确的修改意见,只是提下这个问题

amio avatar May 26 '18 15:05 amio

了解,我们再给一下更准确的描述

mapleeit avatar May 26 '18 16:05 mapleeit

修改了“全息日志”的部分描述 https://github.com/Tencent/TSW/pull/54

mapleeit avatar May 28 '18 08:05 mapleeit