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
public void setAttribute(String spanId, String key, boolean value) {
        final var span = spanFromContextOrNullWithoutLogging(spans.get(spanId));
        if (span != null) {
            span.setAttribute(key, value);
        }
    }
    @Override
    public void setAttribute(String spanId, String key, double value) {
        final var span = spanFromContextOrNullWithoutLogging(spans.get(spanId));
        if (span != null) {
            span.setAttribute(key, value);
        }
    }
    @Override
    public void setAttribute(String spanId, String key, long value) {
        final var span = spanFromContextOrNullWithoutLogging(spans.get(spanId));
        if (span != null) {
            span.setAttribute(key, value);
        }
    }
    @Override
    public void setAttribute(String spanId, String key, String value) {
        final var span = spanFromContextOrNullWithoutLogging(spans.get(spanId));
        if (span != null) {
            span.setAttribute(key, value);
        }
    }
    @Override
    public void stopTrace(String spanId) {
        final var span = spanFromContextOrNullWithoutLogging(spans.remove(spanId));