Skip to content

Commit 996f8fb

Browse files
committed
fix otel docker file environment
1 parent e1fcfb8 commit 996f8fb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/dockerfiles/Dockerfile_03_otel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ ENV OTEL_PROPAGATORS "tracecontext,baggage,xray"
2020
ENV OTEL_RESOURCE_ATTRIBUTES "service.name=unicorn-store-spring"
2121
ENV OTEL_IMR_EXPORT_INTERVAL "10000"
2222
ENV OTEL_EXPORTER_OTLP_ENDPOINT "http://localhost:4317"
23+
ENV OTEL_EXPORTER_OTLP_PROTOCOL "grpc"
2324

2425
RUN groupadd --system spring -g 1000
2526
RUN adduser spring -u 1000 -g 1000

0 commit comments

Comments
 (0)