diff --git a/javaagent-declarative-configuration/oats/docker-compose.yml b/javaagent-declarative-configuration/oats/docker-compose.yml index b43478e7d..4270de830 100644 --- a/javaagent-declarative-configuration/oats/docker-compose.yml +++ b/javaagent-declarative-configuration/oats/docker-compose.yml @@ -7,7 +7,7 @@ services: environment: OTEL_SERVICE_NAME: "declarative-config-example-app" OTEL_EXPORTER_OTLP_ENDPOINT: http://lgtm:4318 - OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://lgtm:4318 + OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://lgtm:4318/v1/traces OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf ports: - "8080:8080" diff --git a/javaagent-declarative-configuration/otel-agent-config.yaml b/javaagent-declarative-configuration/otel-agent-config.yaml index 9e2392039..25ae696e7 100644 --- a/javaagent-declarative-configuration/otel-agent-config.yaml +++ b/javaagent-declarative-configuration/otel-agent-config.yaml @@ -17,7 +17,7 @@ tracer_provider: - batch: exporter: otlp_http: - endpoint: ${OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:-http://localhost:4318}/v1/traces + endpoint: ${OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:-http://localhost:4318/v1/traces} # Configure a console exporter for exploring without a collector/backend - batch: @@ -45,11 +45,11 @@ meter_provider: - periodic: exporter: otlp_http: - endpoint: ${OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:-http://localhost:4318}/v1/metrics + endpoint: ${OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:-http://localhost:4318/v1/metrics} logger_provider: processors: - batch: exporter: otlp_http: - endpoint: ${OTEL_EXPORTER_OTLP_ENDPOINT:-http://localhost:4318}/v1/logs + endpoint: ${OTEL_EXPORTER_OTLP_LOGS_ENDPOINT:-http://localhost:4318/v1/logs}