fixing opentelemetry uri

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2024-11-01 22:51:36 +01:00
parent 8000a26aad
commit 2dae9c9e14

View File

@@ -30,7 +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 JAVA_TOOL_OPTIONS="-javaagent:/usr/app/opentelemetry-javaagent.jar"
ENV OTEL_SERVICE_NAME="timezone-service" ENV OTEL_SERVICE_NAME="timezone-service"
ENV OTEL_EXPORTER_OTLP_ENDPOINT="http://opentelemetry-collector.web:4318" ENV OTEL_EXPORTER_OTLP_ENDPOINT="http://opentelemetry-collector.web.1:4318"
HEALTHCHECK CMD curl --fail http://localhost:5000/actuator/health/liveness || exit 1 HEALTHCHECK CMD curl --fail http://localhost:5000/actuator/health/liveness || exit 1