RDR*_*RDR 5 cloud spring spring-boot spring-cloud-sleuth
我们正在尝试在我们的项目中使用Zipkin实现Spring cloud sleuth,并想知道Spring cloud sleuth是否将支持Spring数据JPA的数据库调用。
我想跟踪数据库调用所花费的时间,就像服务调用一样
当我使用RestTemplate进行服务呼叫时,该呼叫被发送到zipkin,并且能够在仪表板上看到它
但是DB与Spring数据jpa的交互未在Zipkin中显示
您可以使用在 Spring Data 存储库上使用注释的新 Dalston 功能。您可以查看此以获取更多信息http://cloud.spring.io/spring-cloud-sleuth/spring-cloud-sleuth.html#_managing_spans_with_annotations
| 归档时间: |
|
| 查看次数: |
925 次 |
| 最近记录: |