Skip to content

Commit

Permalink
Update docker-entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanmdr authored Aug 13, 2023
1 parent a12fa51 commit fed202d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@
set -e

# Environment variables for development with docker
export OTEL_TRACES_EXPORTER=jaeger
export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://host.docker.internal:14250
export OTEL_METRICS_EXPORTER=none
export OTEL_METRICS_EXPORTER=otlp
export OTEL_EXPORTER_OTLP_METRICS_COMPRESSION=gzip
export OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=http://host.docker.internal:4317
export OTEL_TRACES_EXPORTER=otlp
export OTEL_EXPORTER_OTLP_TRACES_COMPRESSION=gzip
export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://host.docker.internal:4317
export OTEL_LOGS_EXPORTER=none
export OTEL_SERVICE_NAME=billionaire-api

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

0 comments on commit fed202d

Please sign in to comment.