Doan Quang
02/05/2023, 12:51 PMFROM openjdk:8-jdk-alpine
WORKDIR /app
COPY target/spring-petclinic-2.4.5.jar spring-petclinic-2.4.5.jar
COPY otel-agent/opentelemetry-javaagent.jar opentelemetry-javaagent.jar
ENV JAVA_TOOL_OPTIONS="-javaagent:/app/opentelemetry-javaagent.jar \
-Dotel.exporter.otlp.endpoint=<http://10.0.0.4:4317> \
-Dotel.resource.attributes=service.name=JavaDemoApp"
EXPOSE 8090
ENTRYPOINT ["java", "-jar", "spring-petclinic-2.4.5.jar"]
And then i already deploy petclinic container into private aks cluster, Petclinic Pod is running then.
However, I get logs in the petclinic pod starting that:
[otel.javaagent 2023-02-04 094007:129 +0000] [OkHttp http://10.0.0.4:4317/...] ERROR io.opentelemetry.exporter.internal.grpc.OkHttpGrpcExporter - Failed export index. The request could not be fulfilled. Full error message: timeout
Note: 10.0.0.4 is the private address of the VM
Signoz can not get the data from the petclinic pod
Have you encountered this problem before? and is there any way to solve this problem? many thanks!Srikanth Chekuri
02/06/2023, 3:13 AMRyan Yang
02/06/2023, 7:43 PMdocker run -it --rm signoz/troubleshoot checkEndpoint --endpoint=<signoz collector address>
Doan Quang
02/08/2023, 1:58 PM