# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 1
# self = https://watcher.sour.is/conv/4bp2qua
Rust 語言的全鏈路追蹤庫 tracing
在一個應用程序或庫的開發過程中,除了其本身的邏輯以外,開發人員還需要做很多額外的工作,以保證編寫的代碼可以正確的運行,或者在出錯時可以快速定位到錯誤的位置以及原因,這就需要引入一些額外的工具,trace 就是其中特別好用的一種,下文我將會簡單介紹 trace,並以 Rust 爲例,演示 trace 在 Rust 中的使用方法。 1 可觀測性 Logs、Metrics 和 Traces 並稱爲可 ⌘ Read more