@Override
    public void getConfig(OpenTelemetryConfig.Builder builder) {
        var generator = new OpenTelemetryConfigGenerator(zone, applicationId, isHostedVespa);
        AnyConfigProducer pp = this;
        AnyConfigProducer p = pp.getParent();
        while (p != null && p != pp) {
            if (pp instanceof ApplicationConfigProducerRoot root) {
                generator.addStatePorts(root.getStatePorts());
                break;
            }
            pp = p;
            p = pp.getParent();
        }
        builder.yaml(generator.generate());
        builder.refPaths(generator.referencedPaths());
    }
@return the startup command for the otelcol wrapper
config-model/src/main/java/com/yahoo/vespa/model/admin/otel/OpenTelemetryCollector.java