英文:
Can you check object's state using sleuth?
问题
我正在尝试弄清楚是否可以使用Sleuth来追踪一些对象字段。
我目前在阅读Zipkin和Sleuth的文档时有些迷茫。有人尝试过吗?
我们能否将一个对象添加到span中,并在日志中查看其详细信息?
英文:
I am trying to figure out if I can trace some objects fields using sleuth.
I am currently lost in Zipkin's and Sleuth's docs. Does anybody do this?
Can we add an object to span and view its details in logs?
答案1
得分: 1
你只能在跨度被报告之前才能这样做。你不能在运行时检查它的细节。
英文:
You can only do that just before the span gets reported. You can't check its details at runtime.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论