【发布时间】:2020-03-31 09:56:30
【问题描述】:
对于下面的代码,我想创建一个新选项卡来存储所有外部方法调用并进行聚合,但我没有得到任何这样的结果。
@CaptureTransaction(value = "Task")
【问题讨论】:
标签: elasticsearch kibana javaagents apm elastic-apm
对于下面的代码,我想创建一个新选项卡来存储所有外部方法调用并进行聚合,但我没有得到任何这样的结果。
@CaptureTransaction(value = "Task")
【问题讨论】:
标签: elasticsearch kibana javaagents apm elastic-apm
你的意思是你需要新的“交易类型”吗?
如果是,那么你应该设置type注解参数。
但是@CaptureTranscation 注释工作in case:
Note that this only works when there is no active transaction on the same thread.
value: The name of the span. Defaults to ClassName#methodName
type: The type of the transaction. Defaults to request
【讨论】: