Skip to content

Commit 3e2169a

Browse files
authored
Change way endpoint vars are referenced (#865)
1 parent e08f56c commit 3e2169a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

javaagent-declarative-configuration/oats/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
environment:
88
OTEL_SERVICE_NAME: "declarative-config-example-app"
99
OTEL_EXPORTER_OTLP_ENDPOINT: http://lgtm:4318
10-
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://lgtm:4318
10+
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://lgtm:4318/v1/traces
1111
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
1212
ports:
1313
- "8080:8080"

javaagent-declarative-configuration/otel-agent-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tracer_provider:
1717
- batch:
1818
exporter:
1919
otlp_http:
20-
endpoint: ${OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:-http://localhost:4318}/v1/traces
20+
endpoint: ${OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:-http://localhost:4318/v1/traces}
2121

2222
# Configure a console exporter for exploring without a collector/backend
2323
- batch:
@@ -45,11 +45,11 @@ meter_provider:
4545
- periodic:
4646
exporter:
4747
otlp_http:
48-
endpoint: ${OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:-http://localhost:4318}/v1/metrics
48+
endpoint: ${OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:-http://localhost:4318/v1/metrics}
4949

5050
logger_provider:
5151
processors:
5252
- batch:
5353
exporter:
5454
otlp_http:
55-
endpoint: ${OTEL_EXPORTER_OTLP_ENDPOINT:-http://localhost:4318}/v1/logs
55+
endpoint: ${OTEL_EXPORTER_OTLP_LOGS_ENDPOINT:-http://localhost:4318/v1/logs}

0 commit comments

Comments
 (0)