Skip to content

Commit fed202d

Browse files
authored
Update docker-entrypoint.sh
1 parent a12fa51 commit fed202d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docker-entrypoint.sh

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@
33
set -e
44

55
# Environment variables for development with docker
6-
export OTEL_TRACES_EXPORTER=jaeger
7-
export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://host.docker.internal:14250
8-
export OTEL_METRICS_EXPORTER=none
6+
export OTEL_METRICS_EXPORTER=otlp
7+
export OTEL_EXPORTER_OTLP_METRICS_COMPRESSION=gzip
8+
export OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=http://host.docker.internal:4317
9+
export OTEL_TRACES_EXPORTER=otlp
10+
export OTEL_EXPORTER_OTLP_TRACES_COMPRESSION=gzip
11+
export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://host.docker.internal:4317
12+
export OTEL_LOGS_EXPORTER=none
913
export OTEL_SERVICE_NAME=billionaire-api
1014

11-
exec java -Dspring.profiles.active=docker -javaagent:opentelemetry-javaagent.jar -jar app.jar
15+
exec java -Dspring.profiles.active=docker -javaagent:opentelemetry-javaagent.jar -jar app.jar

0 commit comments

Comments
 (0)