Sample app to test capturing Otel Spans and adding them to New Relic Java agent transactions.
New Relic Java agent must be built off of the branch associated with PR newrelic/newrelic-java-agent#1886
When running the app configure it with the following system properties and environment variables:
-javaagent:/path/to/newrelic/newrelic.jar
-Dnewrelic.config.log_file_name=otel-api-test.log
-Dnewrelic.config.app_name=otel-api-test
-Dnewrelic.config.log_level=info
-Dopentelemetry.sdk.spans.enabled=true
-Dopentelemetry.sdk.autoconfigure.enabled=true
OTEL_LOGS_EXPORTER=logging
OTEL_METRIC_EXPORT_INTERVAL=15000
OTEL_METRICS_EXPORTER=logging
OTEL_SERVICE_NAME=otel-api-test
OTEL_TRACES_EXPORTER=logging