说明:示踪弹性apm
跟踪层。 使用本机摄取API。
用法
将包装箱添加到您的Cargo.toml文件中:
tracing-elastic-apm = " desired version "
创建一个新的跟踪层:
let layer = tracing_elastic_apm :: new_layer (
"ServiceName" . to_string (),
tracing_elastic_apm :: Config :: new ( "APM address" . t
<weixin_42137723> 上传 | 大小:11kb