Since the APM tracing was merged I see lots of exception/error throwing in profiles for nodes that have no configuration for APM set up.
I think something needs to be fixed here to make the APM calls noops without configuration or so.

![image](https://user-images.githubusercontent.com/6490959/182830081-44b40d42-9b75-4436-958d-b67578fe27e3.png)

modules/apm/src/main/java/org/elasticsearch/tracing/apm/APMTracer.java
}
        spans.computeIfAbsent(spanId, _spanId -> AccessController.doPrivileged((PrivilegedAction<Context>) () -> {
            logger.trace("Tracing [{}] [{}]", spanId, spanName);
            final SpanBuilder spanBuilder = services.tracer.spanBuilder(spanName);
            
            
            final Context parentContext = getParentContext(threadContext);
            if (parentContext != null) {
                spanBuilder.setParent(parentContext);
            }
            setSpanAttributes(threadContext, attributes, spanBuilder);
            final Span span = spanBuilder.startSpan();
            final Context contextForNewSpan = Context.current().with(span);
            updateThreadContext(threadContext, services, contextForNewSpan);
            return contextForNewSpan;
        }));
    }
    private static void updateThreadContext(ThreadContext threadContext, APMServices services, Context context) {
        
        threadContext.putTransient(Task.APM_TRACE_CONTEXT, context);
        
        
        services.openTelemetry.getPropagators().getTextMapPropagator().inject(context, threadContext, (tc, key, value) -> {
            if (isSupportedContextKey(key)) {
                tc.putHeader(key, value);
            }
        });
    }
    private Context getParentContext(ThreadContext threadContext) {