File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 3
3
set -e
4
4
5
5
# 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
9
13
export OTEL_SERVICE_NAME=billionaire-api
10
14
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
You can’t perform that action at this time.
0 commit comments