【问题标题】:In elastic APM does @CaptureTransaction create a new tab for external calls在弹性 APM 中,@CaptureTransaction 是否为外部调用创建一个新选项卡
【发布时间】:2020-03-31 09:56:30
【问题描述】:

对于下面的代码,我想创建一个新选项卡来存储所有外部方法调用并进行聚合,但我没有得到任何这样的结果。

@CaptureTransaction(value = "Task") 

【问题讨论】:

    标签: elasticsearch kibana javaagents apm elastic-apm


    【解决方案1】:

    你的意思是你需要新的“交易类型”吗?

    如果是,那么你应该设置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
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多