configure OpenTelemetry url

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2024-10-23 08:25:24 +02:00
parent 9443188818
commit 499b6d0c44

View File

@@ -30,6 +30,7 @@ COPY --chown=app --from=build /usr/src/app/opentelemetry-javaagent.jar /usr/app/
ENV JAVA_TOOL_OPTIONS="-javaagent:/usr/app/opentelemetry-javaagent.jar"
ENV OTEL_SERVICE_NAME="timezone-service"
ENV OTEL_EXPORTER_OTLP_ENDPOINT="http://opentelemetry-collector.web:4318"
HEALTHCHECK CMD curl --fail http://localhost:5000/actuator/health/liveness || exit 1