skip to Main Content

464 error with new relic data export from the Java 8 application running with open telemetry agent – Docker

It works fine when I run Java 11: java -javaagent:./otel/opentelemetry-javaagent.jar -DOTEL_EXPORTER_OTLP_COMPRESSION=gzip -DOTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT=4095 -DOTEL_JAVA_DISABLED_RESOURCE_PROVIDERS=io.opentelemetry.sdk.extension.resources.ProcessResourceProvider -DOTEL_EXPERIMENTAL_EXPORTER_OTLP_RETRY_ENABLED=true -DOTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=DELTA -Dotel.traces.exporter=otlp -Dotel.metrics.exporter=otlp -Dotel.logs.exporter=otlp -Dotel.exporter.otlp.endpoint=https://otlp.nr-data.net:4317 -Dotel.resource.attributes=service.name=app-service -Dotel.exporter.otlp.headers=api-key=<api-key> -Dotel.javaagent.debug=false -jar ./target/app-service-0.0.1-SNAPSHOT.jar But when I run in Java 8, it fails: ENTRYPOINT ["java", "-Dotel.traces.exporter=otlp", "-Dotel.metrics.exporter=otlp", "-Dotel.logs.exporter=otlp", "-Dotel.exporter.otlp.endpoint=https://otlp.nr-data.net:4317", "-DOTEL_EXPORTER_OTLP_COMPRESSION=gzip",…

VIEW QUESTION
Back To Top
Search