public TraceStrategy(ApmAgentContext context, Instrumentation instrumentation) { this.context = context; this.configuration = context.getConfiguration(); this.instrumentation = instrumentation; }
public void setContext(ApmAgentContext context) { this.context = context; this.configuration = context.getConfiguration(); }